Prev Next

SOLOGBRUSH

Contains information defining a logical brush for use with vector graphics output.

typedef struct SOLOGBRUSHtag {

    WORD lbStyle;       // see below

    SOCOLORREF lbColor; // see below

    INT lbHatch;        // see below

} SOLOGBRUSH, VWPTR *PSOLOGBRUSH;

 

Members

lbStyle
Brush style. This member can be the SOBS_HATCHED, SOBS_HOLLOW, or SOBS_SOLID value.
lbColor
Color of the brush. This member can be an RGB or palette-relative value. To set this member, use the SORGB or SOPALETTERGB macro.
lbHatch
Hatch style. This member is used only if lbStyle is SO_HATCHED. This member can be the SOHS_BDIAGONAL, SOHS_CROSS, SOHS_DIAGCROSS, SOHS_FDIAGONAL, SOHS_HORIZONTAL, or SOHS_VERTICAL value.

For a complete definition of the members, see the LOGBRUSH structure.