Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft