Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought



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



-------------------------------------------------------------------------------
gsfrec



PURPOSE

Draws a filled rectangle.

C SYNTAX

int gsfrec_ (x1, y1, x2, y2)

int *x1, *y1, *x2, *y2;

FORTRAN SYNTAX

INTEGER function gsfrec (x1, y1, x2, y2)

INTEGER x1, y1, x2, y2

PASCAL SYNTAX

FUNCTION gsfrec_ (

VAR x1, y1, x2, y2: INTEGER
): INTEGER [PUBLIC];

DESCRIPTION

The gsfrec subroutine fills the rectangular area defined by the lower leftmost
and upper rightmost coordinate parameters, with the color determined by the
last call to the gsfatt subroutine.

The relevant attributes are:

  o Color map
  o Plane mask
  o Fill color index
  o Fill pattern index
  o Logical operation.

Parameters

x1, y1   Define the lower left corner of the rectangular area to fill.

x2, y2   Define the upper right corner of the rectangular area to fill.

The edges of the rectangle are treated as part of the area to be filled.

RETURN VALUE




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





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



GS_SUCC  Successful.
GS_CORD  Invalid coordinate.
GS_INAC  Virtual terminal inactive.




















































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



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