gscir
Purpose
Draws a circle.
C Syntax
int gscir_ (cx, cy, cr)
int *cx, *cy, *cr;
FORTRAN Syntax
INTEGER function gscir (cx, cy, cr)
INTEGER cx, cy, cr
Pascal Syntax
FUNCTION gscir_ (
VAR cx, cy, cr: INTEGER
): INTEGER [PUBLIC|;
Description
The gscir subroutine draws a circle of the specified
radius. The radius is expressed in number of pixels.
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
circle.
cr Defines the radius of the circle.
If the radius is zero, a single point is drawn
at the center.
Return Value
GS_SUCC Successful.
GS_CORD Invalid coordinate.
GS_RDUS Invalid radius specification.
GS_INAC Virtual terminal inactive.