Brush Functions (Windows GDI)

The following functions are used with brushes.

Function Description
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