[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQADS - Inquire Actual Maximum Display Surface Size
GPQADS
(wsid,
errind,
units,
csize,
asize) |
Purpose
Use
GPQADS to inquire the actual display surface size.
The graPHIGS API returns the values in
Device Coordinate (DC) units and
address units
(for example, raster units) for the specified workstation.
If the inquired information is available,
then the graPHIGS API sets the error indicator to zero
and returns the values in the output parameters.
If the inquired information is unavailable, then
the error indicator
(errind)
contains an error number indicating the reason,
and the values returned in the output parameters
are unpredictable.
Parameters
wsid -- specified by user, fullword integer
Workstation identifier.
errind -- returned by the graPHIGS API, fullword integer
Error indicator. If the error indicator is zero, the request has been
completed. Otherwise, one of the following errors exists:
- 25
- SPECIFIED WORKSTATION DOES NOT EXIST
- 35
- WORKSTATION HAS ONLY INPUT CAPABILITIES
units -- returned by the graPHIGS API, fullword integer
Device coordinate units
(1=METERS, 2=OTHER
)
csize -- returned by the graPHIGS API, 3 short floating-point numbers
Actual display surface size in device coordinate units.
asize -- returned by the graPHIGS API, 3 fullword
integers
Actual display surface size in address units.
Error Codes
None
Related Subroutines
- GPQDS
- Inquire Maximum Display Surface Size
- GPQRCT
- Inquire Realized Connection Type
RCP code
201336578
(X'0C002702')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]