Method function IGDIPlus.IGPGraphics.ExcludeClipF(TGPRectF) : TGPGraphics
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: IGPGraphics
Contents |
Syntax
Delphi:
function ExcludeClipF( rect : TGPRectF ) : TGPGraphics;
C++ Builder:
TGPGraphics __fastcall ExcludeClipF( TGPRectF rect );
Visual C++ (MFC):
ExcludeClipF( rect );
Summary
Updates the clipping region to the portion of itself that does not intersect the specified rectangle.
Description
Call this method to update the clipping region to the portion of itself that does not intersect the specified rectangle.
Example:
The following example creates a clipping region using a rectangle and then draws a rectangle that demonstrates the updated clipping region.
var AGraphics : IGPGraphics; begin AGraphics := TGPGraphics.Create( ACanvas ); // Create a Rect object, and set the clipping region to its exclusion. AGraphics.ExcludeClipF( MakeRectF( 100, 100, 200, 200 ) ); // Fill a rectangle to demonstrate the clipping region. AGraphics.FillRectangle( TGPSolidBrush( aclRed ), 0, 0, 600, 600 ); end;