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


GSLWSC

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



Purpose



 GSLWSC  (lwidth)
   
 APL code  1319
 GKS RCP code  X'38001400' (939529216)
   


Function: To set linewidth scale factor.

Attribute function. Sets the current line width scale factor for polyline output primitives.

Parameters


lwidth (specified by user) (short floating point)
The line width scale factor.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Polyline (GPL), Inquire linewidth scale factor (GQLWSC), Set aspect source flags (GSASF), Inquire polyline facilities (GQPLF)

Description


This function sets the width scale factor for polyline output primitives. The current line width scale factor in the GKS state list is set to the value given lwidth. This value is used for the display of subsequent polyline primitives created when the current linewidth scale factor aspect source flag (ASF) is individual. (If the ASF is bundled, this value has no effect.) If the scale factor specified is less than zero, error 65 is reported.

When the primitive is displayed at a workstation, the line width scale factor is applied to the nominal line width. This value is then mapped to the nearest line width available on the workstation.

If you do not call this function in your program before you call the Polyline (GPL) function, GKS uses a default value of 1.0.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
65
Linewidth scale factor is less than zero

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012