GSELL(3g,L) AIX Technical Reference GSELL(3g,L)
-------------------------------------------------------------------------------
gsell
PURPOSE
Draws an ellipse.
C SYNTAX
int gsell_ (cx, cy, ma, mi, ang)
int *cx, *cy, *ma, *mi, *ang;
FORTRAN SYNTAX
INTEGER function gsell (cx, cy, ma, mi, ang)
INTEGER cx, cy, ma, mi, ang
PASCAL SYNTAX
FUNCTION gsell_ (
VAR cx, cy, ma, mi, ang : INTEGER
): INTEGER [PUBLIC];
DESCRIPTION
The gsell subroutine draws an ellipse of the specified axes and angle. The
axes are expressed in number of pixels.
The angle specifications are given in tenths of degrees, from 0 to 3600.
Values outside this range cause the gsell subroutine to fail.
The relevant attributes are:
o Color map
o Plane mask
o Line color index
o Line style
o Logical operation.
Parameters
cx, cy Define the coordinates of the center of the ellipse.
ma, mi Define half of the nonzero major and minor axes of the ellipse.
Processed November 7, 1990 GSELL(3g,L) 1
GSELL(3g,L) AIX Technical Reference GSELL(3g,L)
ang Defines the angle between the major axis and the x-axis. If it is 0,
the major axis is on the x-axis and the minor axis is on the y-axis.
The angle is expressed in tenths of degrees, from 0 to 3600.
RETURN VALUE
GS_SUCC Successful.
GS_CORD Invalid coordinate.
GS_ELMM Invalid major or minor axis.
GS_INAC Virtual terminal inactive.
GS_ANGL Invalid angle.
GS_NMEM Insufficient resources.
Processed November 7, 1990 GSELL(3g,L) 2