Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gscir(3g) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



GSCIR(3g,L)                 AIX Technical Reference                 GSCIR(3g,L)



-------------------------------------------------------------------------------
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 0, a single point is drawn at the center.

RETURN VALUE

GS_SUCC  Successful.



Processed November 7, 1990        GSCIR(3g,L)                                 1





GSCIR(3g,L)                 AIX Technical Reference                 GSCIR(3g,L)



GS_CORD  Invalid coordinate.
GS_RDUS  Invalid radius specification.
GS_INAC  Virtual terminal inactive.




















































Processed November 7, 1990        GSCIR(3g,L)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026