[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
SET WORKSTATION VIEWPORT (PHOP,WSOP,*,*)
Purpose
Use
Set Workstation Viewport
to set the requested two-dimensional workstation
viewport for the specified workstation.
The graPHIGS API sets the x, y components
of the current workstation viewport to
the requested values when you update the workstation.
The graPHIGS API does not change the z coordinates of the
requested workstation viewport or the current
workstation viewport.
Language Bindings
C
pset_ws_vp
(ws_id, ws_vp_limits) |
Pint ws_idWorkstation identifier.
const Plimit *ws_vp_limitsWorkstation viewport limits in DC.
FORTRAN
PSWKV
(wkid, xmin,
xmax, ymin, ymax) |
integer wkidWorkstation identifier.
real xminMinimum workstation viewport limit on the x-axis in DC.
real xmaxMaximum workstation viewport limit on the x-axis in DC.
real yminMinimum workstation viewport limit on the y-axis in DC.
real ymaxMaximum workstation viewport limit on the y-axis in DC.
Errors
- 3
- Function Requires State (PHOP,WSOP,*,*)
- 54
- Specified Workstation Is Not Open
- 57
- Specified Workstation Is Of Category MI
- 152
- Invalid Viewport: XMIN >= XMAX, YMIN >= YMAX OR ZMIN > ZMAX
- 157
- Workstation Viewport Is Not Within Display Space
Related Subroutines
Inquire Workstation Transformation
Inquire Workstation Transformation 3
Set Workstation Viewport 3
Set Workstation Window
Set Workstation Window 3
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]