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


GSFASI

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



Purpose



 GSFASI  (styli)
   
 APL code  1337
 GKS RCP code  X'38002500' (939533568)
   


Function: To set fill area style index.

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

Parameters


styli (specified by user) (fullword integer)
The fill area style index.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Inquire fill area style index (GQFASI), Set pattern representation (GSPAR)

Description


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

For fill areas that are displayed with interior styles hollow and solid, the index is not used.

For fill areas displayed with interior style pattern, the index styli is a pointer into the pattern table of the workstation. You can set the pattern table entry to be referenced at a workstation using Set pattern representation (GSPAR).

For fill areas displayed with interior style hatch, the index determines the hatch style used.

GDDM-GKS provides the following hatch styles:

-1
Narrow-spaced vertical lines
-2
Narrow-spaced horizontal lines
-3
Widely-spaced +45 degree lines
-4
Narrow-spaced +45 degree lines
-5
Widely-spaced -45 degree lines
-6
Narrow-spaced -45 degree lines


   PICTURE 32          

If you request a style that is not available when the fill area is displayed at a workstation, style index 1 is used at that workstation. If style 1 is not available, the result is workstation-dependent.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
84
Style (pattern or hatch) index is equal to zero

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012