function GetTrimmedBounds: TRect;
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.
Examples, Rectangle Types
Copyright ©2000-2016 Alex Denisov and the Graphics32 Team - Graphics32 HEAD - Built on 11-November-2019