Method function IGDIPlus.IGPRegion.GetBounds(IGPGraphics) : TGPRect
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: IGPRegion
Contents |
Syntax
Delphi:
function GetBounds( g : IGPGraphics ) : TGPRect;
C++ Builder:
TGPRect __fastcall GetBounds( IGPGraphics g );
Visual C++ (MFC):
GetBounds( g );
Summary
Gets a rectangle that encloses the region.
Description
Call this method to get a rectangle that encloses the region. Remarks The current world and page transformations of the graphics object are used to calculate the region and the rectangle as they are drawn on the display device. The rectangle returned by GetBounds is not always the smallest possible rectangle.