Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 951 Bytes

File metadata and controls

41 lines (26 loc) · 951 Bytes

NAME

AreaMove -- Define a new starting point for a new shape in the vector list.

SYNOPSIS

    error =  AreaMove( rp,   x,     y)
     d0                a1  d0:16  d1:16

    LONG AreaMove( struct RastPort *, SHORT, SHORT );

Links: RastPort

FUNCTION

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.

INPUTS

rp - points to a RastPort structure x,y - positions in the raster

RETURNS error - zero for success, or -1 if there is no space left in the vector list

BUGS

SEE ALSO

InitArea AreaDraw AreaEllipse AreaEnd graphics/rastport.h