GrEllipse()

Name

GrEllipse() -- Draw an ellipse or circle

Synopsis

void GrEllipse ( GR_DRAW_ID id , GR_GC_ID gc , GR_COORD x , GR_COORD y , GR_SIZE rx , GR_SIZE ry );

Description

This function draws an ellipse outline onto the specified drawable. The ellipse is drawn with it's center located at the position (x,y). The ellipse is drawn with a vertical radius of ry and a horizontal radius of rx.

Parameters

TypeNameDescription
GR_DRAW_IDidThe ID of the drawable to draw the ellipse onto.
GR_GC_IDgcThe ID of the graphics context to use when drawing the ellipse.
GR_COORDxThe X coordinate to draw the ellipse at relative to the drawable.
GR_COORDyThe Y coordinate to to draw the ellipse at relative to the drawable.
GR_SIZErxThe radius of the ellipse along the X axis.
GR_SIZEryThe radius of the ellipse along the Y axis.

See Also

GrRect(), GrPoly(), GrFillEllipse(), GrArc(), GrArcAngle().