GdipSetClipRect

 

 

Description

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

Syntax

GpStatus WINGDIPAPI GdipSetClipRect(

    GpGraphics *graphics,

    REAL x,

    REAL y,

    REAL width,

    REAL height,

    CombineMode combineMode

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetClipRect ( _

    BYVAL graphics AS DWORD, _

    BYVAL x AS SINGLE, _

    BYVAL y AS SINGLE, _

    BYVAL nWidth AS SINGLE, _

    BYVAL nHeight AS SINGLE, _

    BYVAL combineMode AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

x

[in] Simple precision value that specifies the x-coordinate of the rectangle to be combined with the clipping region of this Graphics object.

y

[in] Simple precision value that specifies the y-coordinate of the rectangle to be combined with the clipping region of this Graphics object.

width

[in] Simple precision value that specifies the width of the rectangle to be combined with the clipping region of this Graphics object.

height

[in] Simple precision value that specifies the height of the rectangle 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