[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQXMR - Inquire Extended Polymarker Representation
GPQXMR
(wsid,
index,
type,
number,
ids,
errind,
data) |
Note:
This subroutine is a Workstation State List (WSL)
inquiry.
For an overview, see
"WSL Inquiries"
Purpose
Use
GPQXMR to inquire the current values of one
or more fields in the specified polymarker bundle table
entry in the specified workstation's polymarker bundle
table.
If the inquired information is available, then the graPHIGS API
sets the error indicator to zero and returns the values in
the output parameters.
The output parameter must be large enough to store all
requested data.
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.
index -- specified by user, fullword integer
Polymarker bundle table index (>=1)
type -- specified by user, fullword integer
Type of returned value
(
1=SET
)
number -- specified by user, fullword integer
Number of group identifiers requested
(>=1)
ids -- specified by user, array of fullword integers
A list of group identifiers requested.
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
- 43
- BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
- 60
- BUNDLE INDEX VALUE < ONE
- 272
- GROUP IDENTIFIER IS INVALID
- 273
- NUMBER OF GROUP IDENTIFIERS < ONE
- 534
- TYPE VALUE IS INVALID
data -- returned by the graPHIGS API, variable data
Data array containing the values in the requested groups.
Group Identifier 1 - Marker type table index
A fullword integer (>=1)
Specifies an index into the workstation's marker type
table.
The size and specific entries supported are workstation
dependent.
The default marker type table for supported entries is
defined with the following marker types:
(1=DOT, 2=PLUS_SIGN, 3=ASTERISK, 4=CIRCLE,
5=DIAGONAL_CROSS, 6-n=ASTERISK
)
Group Identifier 2 - Marker size scale factor
A short floating-point number.
Group Identifier 3 - Polymarker color
Four fullwords of data with either of the following two
formats:
indexed format direct format
------------- -------------
0 | 1| fullword integer 0 | 2| fullword integer
|-----------| |-----------|
4 |color index| fullword integer 4 |component 1| short floating-point number
|-----------| |-----------|
8 | reserved| fullword integer 8 |component 2| short floating-point number
|-----------| |-----------|
12 | reserved| fullword integer 12 |component 3| short floating-point number
------------- -------------
Error Codes
None
Related Subroutines
- GPXPMR
- Set Extended Polymarker Representation
RCP code
201339157
(
X'0C003115')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]