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


GSMSK

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



Purpose



 GSMSK  (wkid, skdnr, n, tnr, np, px, py)
   
 APL code  1383
 GKS RCP code  X'38005800' (939546624)
   


Function: To sample stroke.

Input function. Obtains sample mode input from a stroke input device at a workstation. (See the section "GDDM-GKS restrictions" below.)

Parameters


wkid (specified by user) (fullword integer)
The workstation identifier.

skdnr (specified by user) (fullword integer)
The stroke device number.

n (specified by user) (fullword integer)
The maximum number of points that can be returned.

tnr (returned by GDDM) (fullword integer)
The normalization transformation number.

np (returned by GDDM) (fullword integer)
The number of points that have been returned.

px (returned by GDDM) (array of short floating-point numbers)

py (returned by GDDM) (array of short floating-point numbers)
The points in world coordinates.


Operating states


WSOP, WSAC, SGOP

Related functions


Set stroke mode (GSSKM)

Description


(See the section "GDDM-GKS restrictions" below.)

This function obtains sample mode input from the stroke device associated with workstation wkid. The logical input value, which is the current measure of the stroke device, is returned.

GDDM-GKS Restrictions

GKS does not support this function at level 2b. If this function is invoked, GDDM-GKS reports error 143.

Principal errors


7
GKS not in proper state: GKS shall be in one of the states WSOP, WSAC, or SGOP
20
Specified workstation identifier is invalid
25
Specified workstation is not open
38
Specified workstation is neither of category INPUT nor of category OUTIN
140
Specified input device is not present on workstation
142
Input device is not in SAMPLE mode
143
EVENT and SAMPLE input mode are not available at this level of GKS

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012