Declaration:
void SelectPen(unsigned long handle, unsigned long color, int width=1, int style=PS_SOLID);
Description
Selects a pen for drawing with the specified parameters. The standard pen (a solid line with the width of 1) and the standard color are selected by default, when the window opens. Pens are used for drawing lines, circumferences, etc.
Parameters:
color
width - the pen width; certain videoadapters face problems while drawing lines
with a width greater than 1;
style - the line type:
PS_SOLID - solid
PS_DOT - dotted
PS_DASHDOT - dash-and-dot
PS_DASHDOTDOT - dash-and-dot-and-dot
|