Method function IGDIPlus.IGPGraphics.SetClip(IGPGraphicsPath;TGPCombineMode) : TGPGraphics

From Mitov Wiki Doc
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 SetClip( path : IGPGraphicsPath, combineMode : TGPCombineMode ) : TGPGraphics;

C++ Builder:

TGPGraphics __fastcall SetClip( IGPGraphicsPath path, TGPCombineMode combineMode );

Visual C++ (MFC):

SetClip(  path,  combineMode );

Summary

Updates the clipping region of the TGPGraphics object to a region that is the combination of itself and the region specified by a graphics path. If a figure in the path is not closed, this method treats the non-closed figure as if it were closed by a straight line that connects the figure's starting and ending points.

Description

Call this method to update the clipping region of the TGPGraphics object to a region that is the combination of itself and the region specified by a graphics path. If a figure in the path is not closed, this method treats the non-closed figure as if it were closed by a straight line that connects the figure's starting and ending points.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox