[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

SET WORKSTATION WINDOW (PHOP,WSOP,*,*)

Purpose

Use Set Workstation Window to set the requested two-dimensional workstation window for the specified workstation.

The graPHIGS API sets the x, y components of the current workstation window to the requested values when you update the workstation. The graPHIGS API does not change the z coordinates of the requested workstation window or the current workstation window.

Language Bindings

C

pset_ws_win (ws_id, ws_win_limits)

Input Parameters

Pint ws_id
Workstation identifier.

const Plimit *ws_win_limits
Workstation window limits in NPC.

FORTRAN

PSWKW (wkid, xmin, xmax, ymin, ymax)

Input Parameters

integer wkid
Workstation identifier.

real xmin
Minimum workstation window limit on the x-axis in NPC.

real xmax
Maximum workstation window limit on the x-axis in NPC.

real ymin
Minimum workstation window limit on the y-axis in NPC.

real ymax
Maximum workstation window limit on the y-axis in NPC.

Errors

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
57
Specified Workstation Is Of Category MI
151
Invalid Window: Minimum Value >= To Corresponding Maximum Value
156
Workstation Window Limits Are Not Within NPC Range

Related Subroutines

  • Inquire Workstation Transformation

  • Inquire Workstation Transformation 3

  • Set Workstation Viewport

  • Set Workstation Viewport 3

  • Set Workstation Window 3


  • [ Previous | Next | Contents | Glossary | Home | Search ]