2.4.3 Drawing-Attribute Functions

Drawing-attribute functions affect the appearance of Windows output. Following are the drawing-attribute functions:

Function Description

GetBkColor Returns the current background color.
GetBkMode Returns the current background mode.
GetPolyFillMode Retrieves the current polygon-filling mode.
GetROP2 Retrieves the current drawing mode.
GetStretchBltMode Retrieves the current stretching mode.
GetTextColor Retrieves the current text color.
SetBkColor Sets the background color.
SetBkMode Sets the background mode.
SetPolyFillMode Sets the polygon-filling mode.
SetROP2 Sets the current drawing mode.
SetStretchBltMode Sets the stretching mode.
SetTextColor Sets the text color.