Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought



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



-------------------------------------------------------------------------------
gsfell



PURPOSE

Fills an ellipse.

C SYNTAX

int gsfell_ (cx, cy, ma, mi, ang)

int *cx, *cy, *ma, *mi, *ang;

FORTRAN SYNTAX

INTEGER function gsfell (cx, cy, ma, mi, ang)

INTEGER cx, cy, ma, mi, ang

PASCAL SYNTAX

FUNCTION gsfell_ (

VAR cx, cy, ma, mi, ang : INTEGER
): INTEGER [PUBLIC];

DESCRIPTION

The gsfell subroutine fills 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 gsfell subroutine to fail.

The relevant attributes are:

  o Color map
  o Plane mask
  o Fill color index
  o Fill pattern index
  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       GSFELL(3g,L)                                 1





GSFELL(3g,L)                AIX Technical Reference                GSFELL(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 defined in tenths of degrees, from 0 to 3600, specified
         in a counterclockwise direction.

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       GSFELL(3g,L)                                 2



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