[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQLTR - Inquire Linetype Representation
GPQLTR
(wsid,
ltype,
errind,
number,
pattern) |
Note:
This subroutine is a Workstation State List (WSL)
inquiry.
For an overview, see
"WSL Inquiries"
Purpose
Use
GPQLTR to inquire the current line pattern
in the specified entry in the line type table of 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.
ltype -- specified by user, fullword integer
Line type table index (>=1)
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
- 63
- LINETYPE VALUE < ONE
- 64
- SPECIFIED LINETYPE NOT AVAILABLE ON WORKSTATION
- 274
- THIS FUNCTION IS NOT SUPPORTED BY THE WORKSTATION
number -- returned by the graPHIGS API, fullword integer
Number of sections in the line pattern.
pattern -- returned by the graPHIGS API, array of fullword integers
List of the length of each section in the line pattern.
The entries of the array alternate between
SOLID
and
VOID
sections with the first entry being
SOLID
Each length is specified in terms of a multiple of the
minimum size section for the workstation.
The application must supply storage for this parameter that
is large enough to contain the maximum number of sections
that this workstation supports.
Error Codes
None
Related Subroutines
- GPLTR
- Set Linetype Representation
- GPQLTF
- Inquire Linetype Facilities
RCP code
201339151
(X'0C00310F')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]