Docs » Autodocs » graphics.library » AreaMove
AreaMove -- Define a new starting point for a new shape in the vector list.
error = AreaMove( rp, x, y) d0 a1 d0:16 d1:16 LONG AreaMove( struct RastPort *, SHORT, SHORT );
Close the last polygon and start another polygon at (x,y). Add the necessary points to vector buffer. Closing a polygon may result in the generation of another AreaDraw() to close previous polygon. Remember to have an initialized AreaInfo structure attached to the RastPort.
rp - points to a RastPort structure x,y - positions in the raster
error - zero for success, or -1 if there is no space left in the vector list
InitArea(), AreaDraw(), AreaEllipse(), AreaEnd(), <graphics/rastport.h>
|