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


GQPMF

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



Purpose



 GQPMF
                                    
 (wtype, n, errind, nmt, mt, nms,
 nomms, rmsmin, rmsmax, nppmi)
   
 APL code  1402
 GKS RCP code  X'3800C800' (939575296)
   


Function: To inquire polymarker facilities.

Inquiry function. Returns values giving the polymarker facilities available for a given workstation type, from the workstation description table.

Parameters


wtype (specified by user) (fullword integer)
The workstation type.

n (specified by user) (fullword integer)
The element requested from the list of available marker types. If the value specified is 0, the number of available marker types is returned in nmt but mt is undefined.

errind (returned by GDDM) (fullword integer)
The error indicator.

nmt (returned by GDDM) (fullword integer)
The number of available marker types (5 ... n).

mt (returned by GDDM) (fullword integer)
Element n of the list of available marker types.

nms (returned by GDDM) (fullword integer)
The number of available marker sizes (0 ... n).

nomms (returned by GDDM) (short floating point)
The nominal marker size in device coordinates. When markers are drawn, the marker size is calculated as the nominal marker size multiplied by the marker size scale factor. Note that the nominal size is the same for all marker types and most markers are actually defined to be smaller than the nominal size.

rmsmin (returned by GDDM) (short floating point)

rmsmax (returned by GDDM) (short floating point)
The range of marker sizes available in device coordinates.

nppmi (returned by GDDM) (fullword integer)
The number of predefined polymarker indexes.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Set polymarker index (GSPMI), Set marker size scale factor (GSMKSC), Set marker type (GSMK)

Description


If the inquired information is available, it is returned as output, and errind is returned as 0 (zero). If the inquired information is not available, all output is invalid, and errind returns an error indicator.

If the number of marker sizes is returned as 0 (zero), the workstation supports a continuous range of marker sizes.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
22
Specified workstation type is invalid
23
Specified workstation type does not exist
39
Specified workstation is neither of category OUTPUT nor of category OUTIN
2002
List element or set member not available

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012