CGXBrush Class Members

Construction

 CGXBrush Constructs a brush object.

Operations

 operator== Compares two brush objects.
 SetDescription Initializes the brush through a description string.
 GetDescription Returns the description string for a brush. This string can be written to profile.

Attribute Methods

 SetStyle Specifies the brush type.
 GetStyle Returns the brush type.
 SetHatch Specifies the hatch style.
 GetHatch Returns the hatch style.
 SetPattern Specifies the fill pattern.
 GetPattern Returns the fill pattern.
 SetColor Specifies the pattern color. System colors can be specified with the GXSYSCOLOR macro.
 GetColor Returns the pattern color. If it is a system color (e.g., SYSCOLOR_BTNFACE), the actual system setting will be returned.
 GetColorNA Returns the original value for the pattern color. System colors will not be converted.
 SetBkColor Specifies the background color. System colors can be specified with the GXSYSCOLOR macro.
 GetBkColor Returns the background color. If it is a system color (e.g., SYSCOLOR_BTNFACE), the actual system setting will be returned.
 GetBkColorNA Returns the original value for the background color. System colors will not be converted.
 GetBrushKey Returns an 8-Byte binary id for the brush object.

CGXBrush

 Class Overview