Docs » Autodocs » graphics.library » AreaCircle
AreaCircle -- add a circle to areainfo list for areafill.
error = (int) AreaCircle( rp, cx, cy, radius) D0 A1 D0 D1 D2 ULONG AreaCircle(struct RastPort *, WORD, WORD, UWORD);
Add circle to the vector buffer. It will be drawn to the rastport when AreaEnd is executed.
rp - pointer to a RastPort structure cx, cy - the coordinates of the center of the desired circle. radius - is the radius of the circle to draw around the centerpoint.
0 if no error -1 if no space left in vector list
This function is actually a macro which calls AreaEllipse(rp,cx,cy,radius,radius).
AreaMove(), AreaDraw(), AreaCircle(), InitArea(), AreaEnd(), <graphics/rastport.h>, <graphics/gfxmacros.h>
|