Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Brush Functions

The following functions are used with brushes.

FunctionDescription
CreateBrushIndirect Creates a brush with a specified style, color, and pattern
CreateDIBPatternBrushPt Creates a brush with the pattern from a DIB
CreateHatchBrush Creates a brush with a hatch pattern and color
CreatePatternBrush Creates a brush with a bitmap pattern
CreateSolidBrush Creates a brush with a solid color
GetBrushOrgEx Gets the brush origin for a device context
GetSysColorBrush Gets a handle to a brush that corresponds to a color index
PatBlt Paints a rectangle
SetBrushOrgEx Sets the brush origin for a device context
SetDCBrushColor Sets the current device context brush color.

 

Obsolete Functions

The following functions are provided only for compatibility with 16-bit versions of Windows.

CreateDIBPatternBrush

 

 

Show: