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


GGDP

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



Purpose



 GGDP  (n, px, py, primid, ldr, datrec)
   
 APL code  1493
 GKS RCP code  X'38001100' (939528448)
   


Function: To generalized drawing primitive.

Output function. Generates geometric output that is both implementation-dependent and workstation-dependent. (See the section "GDDM-GKS restrictions" below.)

Parameters


n (specified by user) (fullword integer)
The number of points present in the pxa and pya vectors.

px (specified by user) (array of short floating-point numbers)

py (specified by user) (array of short floating-point numbers)
The coordinates of the points in world coordinates.

primid (specified by user) (fullword integer)
The generalized drawing primitive identifier.

ldr (specified by user) (fullword integer)
The length of the data record datrec.

datrec (specified by user) (array of 80-byte character tokens)
The data record.


Operating states


WSAC, SGOP

Related functions


Inquire generalized drawing primitive (GQGDP)

Description


This function generates a set of special geometric output primitives called generalized drawing primitives (GDPs), which supplement and extend the standard polyline, polymarker, text, fill area, and cell array output primitives of GKS.

GDDM-GKS Restrictions No GDPs are provided by GDDM-GKS. If this function is invoked, GDDM-GKS reports error 104.

Principal errors


5
GKS not in proper state: GKS shall be either in the state WSAC or in the state SGOP
100
Number of points is invalid
102
Generalized drawing primitive identifier is invalid
103
Content of generalized drawing primitive data record is invalid
104
At least one active workstation is not able to generate the specified generalized drawing primitive
105
At least one active workstation is not able to generate the specified generalized drawing primitive under the current transformations and clipping rectangle

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012