Home | GR32_VectorMaps | TVectorMap |
TVectorMap.GetTrimmedBounds
function GetTrimmedBounds: TRect;
Description
Returns the smallest rectangle that surrounds non zero vectors in a vectormap. This is useful for optimizing heavy processing like supersampling by passing this rectangle as a clipping rectangle. Note that the procedure of analyzing a vectormap is rather expensive, thus carefully determine if the call is worth the cost.
See Also
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007