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

INQUIRE DISPLAY SPACE SIZE 3 (PHOP,*,*,*)

Purpose

Use Inquire Display Space Size 3 to inquire the maximum display space size for the specified workstation type.

The graPHIGS API returns the maximum display space size in Device Coordinates (DC) and address units. Device Coordinate units are either METER or OTHER.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

2
Function Requires State (PHOP,*,*,*)
52
Workstation Type Not Recognized By Implementation
51
Information Not Available For Generic Workstation Type
57
Specified Workstation Is Of Category MI
62
This Information Not Available For MO Workstation Type

Language Bindings

C

pinq_disp_space_size3 (ws_type, err_ind, size)

Input Parameters

Pint ws_type
Workstation type.

Output Parameters

Pint *err_ind
Error indicator.

Pdisp_space_size3 *size
Display size.

FORTRAN

PQDSP3 (wtype, errind, dcunit, dx, dy, dz, rx, ry, rz)

Input Parameters

integer wtype
Workstation type.

Output Parameters

integer errind
Error indicator.

integer dcunit
Device coordinate units (0=PMETRE, 1=POTHU).

real dx
Maximum display space size in x direction in DC.

real dy
Maximum display space size in y direction in DC.

real dz
Maximum display space size in z direction in DC.

integer rx
Maximum display space size in x direction in raster units.

integer ry
Maximum display space size in y direction in raster units.

integer rz
Maximum display space size in z direction in raster units.

Errors

None

Related Subroutines

  • Initialize Choice 3

  • Initialize Locator 3

  • Initialize Pick 3

  • Initialize String 3

  • Initialize Stroke 3

  • Initialize Valuator 3

  • Inquire Display Space Size

  • Inquire Workstation Connection And Type


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