Previous Page | Next Page

DATA Step Graphics Interface Dictionary

TRANS



Finds the viewport and window coordinates associated with a transformation number
Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8, 50

Syntax
Description
Argument Definitions
See Also

Syntax

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


Description

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.


Argument Definitions

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.


See Also

TRANSNO

VIEWPORT

WINDOW

TRANSNO

VIEWPORT

WINDOW

Previous Page | Next Page | Top of Page