Draw lines from table of (x,y) values.
Source position: agraphics.pas line 2363
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. |