SOLOGBRUSHSOLOGBRUSH*
*Contents  *Index  *Topic Contents
*Previous Topic: SOGROUPINFO
*Next Topic: SOLOGFONT

SOLOGBRUSH

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

Syntax

typedef struct SOLOGBRUSHtag {
    WORD lbStyle; 
    SOCOLORREF lbColor; 
    INT lbHatch; 
} SOLOGBRUSH, VWPTR *PSOLOGBRUSH;

Members

lbStyle
Brush style. This member can be one of the following values:
SOBS_HATCHEDHatched brush.
SOBS_HOLLOWHollow brush.
SOBS_SOLIDSolid brush.
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 one of the following values:
SOHS_BDIAGONALA 45-degree upward, left-to-right hatch.
SOHS_CROSSHorizontal and vertical cross-hatch.
SOHS_DIAGCROSS45-degree cross-hatch.
SOHS_FDIAGONALA 45-degree downward, left-to-right hatch.
SOHS_HORIZONTALHorizontal hatch.
SOHS_VERTICALVertical hatch.

See Also

LOGBRUSH


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.