Draw lines from table of (x,y) values.
Source position: agraphics.pas line 2349
procedure PolyDraw( |
Rp: PRastPort; |
Count: LongInt; |
const PolyTable: PSmallInt |
); |
Rp |
|
A pointer to RastPort structure |
Count |
|
Number of (x,y) pairs in the array |
PolyTable |
|
Pointer to first (x,y) pair |
Starting with the first pair in the array, draw connected lines to it and every successive pair.
|
Draw a line between the current pen position and the new x,y position. |
|
|
Move graphics pen position. |