PQWKT(3g) — Subroutines
Name
PQWKT − Returns workstation transformation information.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PQWKT (WKID, ERRIND, TUS, RWINDO, CWINDO, RVIEWP, CVIEWP)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
ERRIND Integer Write Error indicator
TUS Integer Write Workstation transformation
update state
RWINDO(4) Array of Write Requested workstation window,
reals in normalized projection
coordinates (RWXMIN, RWXMAX,
RWYMIN, RWYMAX)
CWINDO(4) Array of Write Current workstation window,
reals in normalized projection
coordinates (CWXMIN, CWXMAX,
CWYMIN, CWYMAX)
RVIEWP(4) Array of Write Requested workstation viewport,
reals in device coordinates (RVXMIN,
RVXMAX, RVYMIN, RVYMAX)
CVIEWP(4) Array of Write Current workstation viewport,
reals in device coordinates (CVXMIN,
CVXMAX, CVYMIN, CVYMAX)
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
TUS PNPEND No update pending
PPEND Update pending
---------------------------------------------------------------------------
Description
PQWKT queries the workstation state list and returns values for the following:
•Workstation transformation update state
•Requested workstation window limits in normalized projection coordinate points
•Current workstation window limits in normalized projection coordinate points
•Requested workstation viewport limits in device coordinates
•Current workstation viewport limits in device coordinates
If an application requests a workstation transformation change but Digital PHIGS does not provide it by the time the application calls this function, the workstation transformation update state is PPEND.
See Also
PQWKT3
PSWKV
PSWKW