Brush & Pen user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIGdi.au3>.

 

User Defined Function Description
_WinAPI_CreateBrushIndirect Creates a logical brush that has the specified style, color, and pattern
_WinAPI_CreatePen Creates a logical pen that has the specified style, width, and color
_WinAPI_CreateSolidBrush Creates a logical brush that has the specified solid color
_WinAPI_ExtCreatePen Creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes
_WinAPI_GetBrushOrg Retrieves the current brush origin for the specified device context
_WinAPI_GetSysColorBrush Retrieves a handle identifying a logical brush that corresponds to the specified color index
_WinAPI_PatBlt Paints the specified rectangle using the brush that is currently selected into the specified device context
_WinAPI_SetBrushOrg Sets the brush origin that GDI assigns to the next brush an application selects into the specified device context
_WinAPI_SetDCBrushColor Sets the current device context (DC) brush color to the specified color value
_WinAPI_SetDCPenColor Sets the current device context (DC) pen color to the specified color value