Method function IGDIPlus.IGPGraphics.GetClipBounds() : TGPRect

From Mitov Wiki Doc
Revision as of 17:19, 18 October 2012 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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: IGPGraphics

Contents

Syntax

Delphi:

function GetClipBounds() : TGPRect;

C++ Builder:

TGPRect __fastcall GetClipBounds();

Visual C++ (MFC):

GetClipBounds();

Summary

Returns a rectangle that encloses the clipping region of this Graphics object.

Description

Call this method to get a rectangle that encloses the clipping region of this Graphics object. Remarks The world transformation is applied to the clipping region and then the enclosing rectangle is calculated.


If you do not explicitly set the clipping region of a TGPGraphics object, its clipping region is infinite. When the clipping region is infinite, GetClipBounds returns a large rectangle. The X and Y data members of that rectangle are large negative numbers, and the Width and Height data members are large positive numbers.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox