ELLIPSE

Draws an ellipse
Operating state: SGOP

Syntax

return-code-variable=GDRAW('ELLIPSE', x, y, major, minor, start, end, angle);

Required Arguments

x
numeric constant or numeric variable name; the x coordinate of the position of the ellipse on the display.
y
numeric constant or numeric variable name; the y coordinate of the position of the ellipse on the display.
major
numeric constant or numeric variable name; the major axis length for the ellipse.
minor
numeric constant or numeric variable name; the minor axis length for the ellipse.
start
numeric constant or numeric variable name; the starting angle for the ellipse from the major axis, with 0 degrees beginning at the major axis.
end
numeric constant or numeric variable name; the ending angle for the ellipse from the major axis, with 0 degrees at 3 o'clock.
angle
numeric constant or numeric variable name; the angle that the major axis of the ellipse has to 0 degrees, with 0 degrees at 3 o'clock.

Return Codes

This function returns:
0, 4, 76, 79, 80, or 86. See Return Codes for DSGI Routines and Functions.

Details

The GDRAW('ELLIPSE', . . . ) function draws a filled section of an ellipse. The fill attributes and bundles affect the appearance of this primitive. See DATA Step Graphics Interface Routines for a list of these attributes. Arguments Used with GDRAW('ELLARC',...) Function and GDRAW('ELLIPSE',...) Function illustrates the arguments used with GDRAW('ELLARC', . . . ) and GDRAW('ELLIPSE', . . . ).