Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

PolyDraw

Draw lines from table of (x,y) values.

Declaration

Source position: agraphics.pas line 2363

procedure PolyDraw(

  rp: pRastPort;

  count: LongInt;

  const polyTable: PSmallInt

);

Arguments

rp

  

A pointer to RastPort structure

count

  

Number of (x,y) pairs in the array

polyTable

  

Pointer to first (x,y) pair

Description

Starting with the first pair in the array, draw connected lines to it and every successive pair.

See also

Draw

  

Draw a line between the current pen position and the new x,y position.

GfxMove

  

Move graphics pen position.


Documentation generated on: 2021-07-30