Adjusted bounds
Call the TGrafBundle::AdjustBounds function when you want to adjust the geometric bounds of a graphic to include attribute information. AdjustBounds takes the geometric bounds of the calling graphic as a parameter. This function iterates through the bundle attributes and adjusts the geometric bounds based upon whether an attribute affects the geometric bounds. This function is called in implementations of MGraphic::GetLooseFitBounds. See Chapter 3 for more information and an example of the GetLooseFitBounds function.
virtual TGRect AdjustBounds( const TGRect& currentBounds );
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker