Function Rectangle

Top 

Declaration:

void Rectangle(unsigned long handle, int x1, int y1, int x2, int y2);

Description

Draws an unpainted rectangle using the pen selected with the SelectPen function and paints it using the brush selected with the SelectBrush function; (x1, y1) are the coordinates of the upper left corner; (x2, y2) are the coordinates of the lower right corner.