[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   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 );

   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