CGXBrush::SetHatch

CGXBrush& SetHatch(LONG lHatch);

lHatch

  • Specifies a hatch style. The meaning depends on the brush style defined by lbStyle. If lbStyle is BS_HATCHED, the lbHatch member specifies the orientation of the lines used to create the hatch. It can be one of the following values:

  • HS_BDIAGONAL A 45-degree upward, left-to-right hatch

  • HS_CROSS Horizontal and vertical cross-hatch

  • HS_DIAGCROSS 45-degree crosshatch

  • HS_FDIAGONAL A 45-degree downward, left-to-right hatch

  • HS_HORIZONTAL Horizontal hatch

HS_VERTICAL Vertical hatch

Return Value

Returns a reference to the object.

Remarks

Initializes the hatch style.

See Also

CGXBrush::SetStyle

CGXBrush

Class Overview |  Class Members