2.4 Drawing-Attribute Functions

Drawing-attribute functions affect the appearance of Windows output, which has four forms: line, brush, bitmap, and text. The following list describes each drawing-attribute function:

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.