GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GSVP GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To set viewport. Transformation function. Defines the viewport NDC coordinates for a normalization transformation. Parameters tnr (specified by user) (fullword integer)
xmin (specified by user) (short floating point) xmax (specified by user) (short floating point) ymin (specified by user) (short floating point) ymax (specified by user) (short floating point)
Operating states GKOP, WSOP, WSAC, SGOP Related functions Select normalization transformation (GSELNT), Set window (GSWN), Set viewport input priority (GSVPIP), Inquire normalization transformation (GQNT) Description This function defines the dimensions of a normalization transformation viewport. The viewport is the portion of NDC space to which you will map your world coordinate window. The viewport boundaries are limited by the range of NDC coordinates (0.0, 1.0) x (0.0, 1.0). Once selected by the Select normalization transformation (GSELNT) function, the viewport remains in effect until redefined. GDDM-GKS supports up to 11 transformations. Transformation 0 is the unity transformation, and maps WC (0.0, 1.0) x (0.0, 1.0) to NDC (0.0, 1.0) x (0.0, 1.0). Transformations 1 to 10 default initially to be the same as transformation 0. You can redefine these by calling Set viewport (GSVP) and Set window (GSWN). You can select among the transformations by calling Select normalization transformation (GSELNT). Principal errors
|
Copyright IBM Corporation 1990, 2012 |