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


GSMK

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



Purpose



 GSMK  (mtype)
   
 APL code  1322
 GKS RCP code  X'38001700' (939529984)
   


Function: To set marker type.

Attribute function. Selects the current marker type for polymarker output primitives.

Parameters


mtype (specified by user) (fullword integer)
The marker type identifier. This should be either a negative value indicating an implementation-dependent marker type, or one of the following:

1 (GPOINT)
Small dot
2 (GPLUS)
Plus
3 (GAST)
Asterisk
4 (GOMARK)
Circle
5 (GXMARK)
Diagonal cross

Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Polymarker (GPM), Inquire marker type (GQMK), Set aspect source flags (GSASF), Inquire polymarker facilities (GQPMF)

Description


The current marker type in the GKS state list is set to the value given by mtype. This value is used for the display of subsequent polymarker output primitives created when the current marker type aspect source flag (ASF) is individual. (If the ASF is bundled, this value has no effect.)

The marker types specified by negative values of mtype are implementation-dependent and availability is workstation-dependent. The following table shows the values for mtype supported by GDDM-GKS.


 Value  Symbol
 -6  Shaded box
 -5  Shaded diamond
 -4  Asterisk (6 points)
 -3  Hollow box
 -2  Hollow diamond
 -1  Scalable dot
 1  Dot
 2  Plus
 3  Asterisk (8 points)
 4  Circle
 5  Diagonal cross


Marker type 1 is not scaled; when it is drawn at a workstation, GDDM-GKS ensures that the smallest clearly-visible dot is used.

Here are the five marker types guaranteed by GKS:


   PICTURE 34          

If you choose a marker type that is unavailable at a workstation, marker type 3 is used at that workstation.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
69
Marker type is equal to zero

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012