[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPWSX2 - Set Workstation Transformation 2
GPWSX2
(
wsid,
window,
viewpt) |
Purpose
Use
GPWSX2 to set the requested two-dimensional
workstation transformation for the specified workstation.
The
x component and
y component
of the current workstation window and viewport
are set to the requested values when the workstation
is updated.
The Zmin of the window is set to zero;
the Zmax of the window is set to the smaller of Xmax
- Xmin and the Ymax - Ymin.
The Zmin of the viewport is set to zero;
the Zmax of the viewport is set to the larger of Xmax
- Xmin and Ymax - Ymin.
Parameters
wsid -- specified by user, fullword integer
Workstation identifier.
window -- specified by user, 4 short floating-point
numbers (NPC)
Workstation window (Xmin, Xmax, Ymin, Ymax)
viewpt -- specified by user,
4 short floating-point numbers (DC)
Workstation viewport (Xmin, Xmax, Ymin, Ymax)
Error Codes
- 25
- SPECIFIED WORKSTATION DOES NOT EXIST
- 44
- INVALID WINDOW DEFINITION
- 330
- INVALID VIEWPORT
Related Subroutines
- GPQWSX
- Inquire Workstation Transformation
RCP code
201330180 (
X'0C000E04')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]