Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 987 Bytes

File metadata and controls

38 lines (24 loc) · 987 Bytes

NAME

AreaEllipse -- add a ellipse to areainfo list for areafill.

SYNOPSIS

    error = AreaEllipse( rp, cx,   cy,   a,    b    )
    d0                   a1  d0:16 d1:16 d2:16 d3:16

    LONG AreaEllipse( struct RastPort *, SHORT, SHORT, SHORT, SHORT)

Links: RastPort

FUNCTION

Add an ellipse to the vector buffer. It will be draw when AreaEnd is called.

INPUTS

rp - pointer to a RastPort structure cx - x coordinate of the centerpoint relative to the rastport. cy - y coordinate of the centerpoint relative to the rastport. a - the horizontal radius of the ellipse (note: a must be > 0) b - the vertical radius of the ellipse (note: b must be > 0)

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

SEE ALSO

AreaMove AreaDraw AreaCircle InitArea AreaEnd graphics/rastport.h