Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gsfell(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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 non-zero  major and  minor
               axes of the ellipse.

     ang       Defines the  angle between  the major  axis and
               the x-axis.  If  it is zero, 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.

     The fill pattern  does not meet the border  of the filled
     area on printers and plotters.

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.

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