GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


GSFAIS

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



Purpose



 GSFAIS  (ints)
   
 APL code  1336
 GKS RCP code  X'38002400' (939533312)
   


Function: To set fill area interior style.

Attribute function. Selects the current fill area interior style for fill area output primitives.

Parameters


ints (specified by user) (fullword integer)
The interior fill area style. The possible values are:

0 (GHOLLO)
Hollow
1 (GSOLID)
Solid
2 (GPATTR)
Pattern
3 (GHATCH)
Hatch

Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set fill area color index (GSFACI), Set fill area style index (GSFASI), Set aspect source flags (GSASF), Fill area (GFA), Set pattern representation (GSPAR), Inquire fill area interior style (GQFAIS)

Description


This function sets the current fill area interior style in the GKS state list to the value given by ints. This value is used for subsequent fill area primitives created when the current fill area style index aspect source flag (ASF) in the GKS state list is individual.

There are four available fill area interior styles:

Hollow
There is no filling but the boundary of the polygon is closed. If the fill area color index ASF is individual, the color indicated by the current fill area color index is used. If the fill area color index ASF is bundled, the color indicated by the current fill area index is used. Line type is solid, and line width is the default size.

Solid
The interior of the polygon (excluding the boundary) is filled with a single color. If the fill area color index ASF is individual, the current fill area color index is used. If the fill area color index ASF is bundled, the color indicated by the current fill area index is used.

Pattern
Fills the polygon using a pattern. If the fill area style index ASF is individual, the pattern indicated by the current fill area style index is used. If the fill area style index ASF is bundled, the pattern indicated by the current fill area index is used.

Hatch
Fills the polygon using a hatch style. If the fill area style index ASF is individual, the hatch style indicated by the current fill area style index is used. If the fill area style index ASF is bundled, the hatch style indicated by the current fill area index is used. If the fill area color index ASF is individual, the current fill area color index is used. If the fill area color index ASF is bundled, the color indicated by the current fill area index is used.

If you do not call this function before using the Fill area (GFA) output function, and the fill area interior style index ASF is individual, the default value hollow is used. If your program requests an interior style that is not available on a workstation, hollow will be used on that workstation.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
2000
Enumeration type out of range

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012