GdipFillRegion

 

 

Description

Uses uses a brush to fill a specified region.

Syntax

GpStatus WINGDIPAPI GdipFillRegion(

    GpGraphics *graphics,

    GpBrush *brush,

    GpRegion *region

);

PowerBASIC Syntax

DECLARE FUNCTION GdipFillRegion ( _

    BYVAL graphics AS DWORD, _

    BYVAL brush AS DWORD, _

    BYVAL region AS DWORD _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

brush

[in] Pointer to a Brush object that is used to paint the region.

region

[in] Pointer to a region to be filled.

Remarks

Because a region describes a set of pixels, a pixel is considered either fully inside, or fully outside the region. Consequently, GdipFillRegion does not antialias the edges of the region.

 

Valid HTML 4.01 Transitional