- 4.37.2.89 -
Standard Units
Graph Unit
Graph Unit Procedures and FunctionsRectangle procedure
Targets: MS-DOS, Win32
Graph Unit
Draws a rectangle, using the current line style and color.
Declaration:
procedure Rectangle(X1, Y1, X2, Y2: Longint);
procedure Rectangle(X1, Y1, X2, Y2: Longint; Color: DWORD);
Remarks:
(X1, Y1) defines the upper left corner of the rectangle,
and (X2, Y2) defines the lower right corner.
The rectangle can cross the screen borders.
Draws the rectangle in the current line style and color,
as set by SetLineStyle and
SetColor.
Use SetWriteMode to determine whether the rectangle is copied or XOR'ed
to the screen.
|
|
|
PutSprite procedure |
Table of Content |
ReleasePageDC procedure |
- 4.37.2.89 -