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

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

Purpose

Use Inquire Display Space Size 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_size (ws_type, err_ind, size)

Input Parameters

Pint ws_type
Workstation type.

Output Parameters

Pint *err_ind
Error indicator.

Pdisp_space_size *size
Display size.

FORTRAN

PQDSP (wtype, errind, dcunit, dx, dy, rx, ry)

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.

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

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

Errors

None

Related Subroutines

  • Initialize Choice

  • Initialize Locator

  • Initialize Pick

  • Initialize String

  • Initialize Stroke

  • Initialize Valuator

  • Inquire Display Space Size 3

  • Inquire Workstation Connection And Type


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