typedef struct tagPATH_INFO {
short RenderMode;
BYTE FillMode;
BYTE BkMode;
LPEN Pen;
LBRUSH Brush;
DWORD BkColor;
} PATH_INFO;
The PATH_INFO structure contains information about a path.
RenderMode
Specifies how to draw the path. This member can have one of the following values.
Value | Meaning |
NO_DISPLAY (0) | Path not drawn. |
OPEN (1) | Drawn as an open polygon. |
CLOSED (2) | Drawn as a closed polygon. |
FillMode
Specifies how to fill the path. This member can have one of the following values.
Value | Meaning |
ALTERNATE (1) | Filled using the alternate-fill method. |
WINDING (2) | Filled using the winding-fill method. |
BkMode
Specifies how to use existing colors when filling the path. This member is equivalent to the BkMode member of the DRAWMODE structure. Drivers that encounter a BkMode of zero should assume TRANSPARENT value and ignore BkColor.
Pen
Specifies which pen to use to draw the path. If RenderMode is set to the NO_DISPLAY value, the pen is ignored.
Brush
Specifies which brush to use to draw the path. If RenderMode is set to the NO_DISPLAY or OPEN values, the pen is ignored.
BkColor
Specifies which background color to use when filling the path. This member is equivalent to the BkColor member of the DRAWMODE structure.