TRANS

Finds the viewport and window coordinates associated with a transformation number
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK ('TRANS', n, vllx, vlly, vurx, vury, wllx, wlly, wurx, wury,
return-code-variable);

Required Arguments

n
numeric constant or numeric variable name; indicates the number of the transformation to check. Valid values are 0 to 20, inclusive. If n is expressed as a variable, the variable must be initialized to a value between 0 and 20.
vllx
numeric variable name; returns the x coordinate of the lower left viewport corner.
vlly
numeric variable name; returns the y coordinate of the lower left viewport corner.
vurx
numeric variable name; returns the x coordinate of the upper right viewport corner.
vury
numeric variable name; returns the y coordinate of the upper right viewport corner.
wllx
numeric variable name; returns the x coordinate of the lower left window corner.
wlly
numeric variable name; returns the y coordinate of the lower left window corner.
wurx
numeric variable name; returns the x coordinate of the upper right window corner.
wury
numeric variable name; returns the y coordinate of the upper right window corner.
return-code-variable
numeric variable name; returns the return code of the routine call. The return code can be 0, 8, or 50. See Return Codes for DSGI Routines and Functions.

Details

The GASK('TRANS', . . . ) routine returns the viewport and window coordinates associated with a particular transformation number. GASK('TRANS', . . . ) returns the default coordinates for viewports and windows if other coordinates have not been defined for the transformation specified.