2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function PolyDraw()
8 #include "graphics_intern.h"
10 /*****************************************************************************
13 #include <proto/graphics.h>
15 AROS_LH3(void, PolyDraw
,
18 AROS_LHA(struct RastPort
*, rp
, A1
),
19 AROS_LHA(LONG
, count
, D0
),
20 AROS_LHA(WORD
*, polyTable
, A0
),
23 struct GfxBase
*, GfxBase
, 56, Graphics
)
26 Draw connected lines from an array. The first line is drawn
27 from the current pen position to the first entry in the array.
31 count - number of x,y pairs
32 polyTable - array of x,y pairs
37 Official prototype files declare count as LONG but
38 original ROM code only uses low 16-bits.
49 29-10-95 digulla automatically created from
50 graphics_lib.fd and clib/graphics_protos.h
52 *****************************************************************************/
59 cnt
= (UWORD
)count
; /* see NOTES */
60 for(i
= 0; i
< cnt
; i
++)