GdipCreateHatchBrush

 

 

Description

Creates a HatchBrush object based on a hatch style, a foreground color, and a background color.

Syntax

GpStatus WINGDIPAPI GdipCreateHatchBrush(

    GpHatchStyle hatchstyle,

    ARGB forecol,

    ARGB backcol,

    GpHatch **brush

);

PowerBASIC Syntax

DECLARE FUNCTION GdipCreateHatchBrush ( _

    BYVAL hatchStyle AS LONG, _

    BYVAL forecol AS DWORD, _

    BYVAL backcol AS DWORD, _

    BYREF brush AS DWORD _

) AS LONG

Parameters

 

hatchStyle

[in] Element of the HatchStyle enumeration that specifies the pattern of hatch lines that will be used.

foreColor

[in] ARGB color to use for the hatch lines.

backColor

[in]  ARGB color to use for the background.

brush

[in] Pointer to a variable that receives a pointer to the new created HatchBrush.

 

Valid HTML 4.01 Transitional