GdipSetClipRegion

 

 

Description

Updates the clipping region of this Graphics object to a region that is the combination of itself and the region specified by a Region object.

Syntax

GpStatus WINGDIPAPI GdipSetClipRegion(

    GpGraphics *graphics,

    GpRegion *region,

    CombineMode combineMode

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetClipRegion ( _

    BYVAL graphics AS DWORD, _

    BYVAL region AS DWORD, _

    BYVAL combineMode AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

region

[in] Pointer to a Region object that specifies the region to be combined with the clipping region of this Graphics object.

combinemode

[in] Element of the CombineMode enumeration that specifies how the specified region is combined with the clipping region of this Graphics object. The default value is CombineModeReplace.

 

Valid HTML 4.01 Transitional