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

GPQPMR - Inquire Predefined Polymarker Representation

GPQPMR (wstype, index, errind, mtype, msize, color)

Note:

This subroutine is a Workstation Description Table (WDT) inquiry. For an overview, see "WDT Inquiries"

Purpose

Use GPQPMR to inquire the predefined polymarker attributes corresponding to the specified entry in the predefined bundle table for the specified workstation type.

The graPHIGS API returns the polymarker type (mtype), size (msize), and color (color) for the specified index of the specified workstation type.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameter. If the inquired information is unavailable, then the error indicator (errind) contains the error number indicating the reason, and the values returned in the output parameter are unpredictable.

Parameters

wstype -- specified by user, 8-byte character string

Workstation type.

index -- specified by user, fullword integer

Predefined polymarker bundle 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:
23
SPECIFIED WORKSTATION TYPE DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
43
BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
60
BUNDLE INDEX VALUE < ONE
548
SPECIFIED WORKSTATION TYPE CANNOT BE LOADED

mtype -- returned by the graPHIGS API, fullword integer

Marker type corresponding to the specified entry in the workstation's marker type table. The table 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 )

msize -- returned by the graPHIGS API, short floating-point number

Marker size scale factor corresponding to the specified entry in the polymarker bundle table.

color -- returned by the graPHIGS API, fullword integer

Polymarker color index corresponding to the specified entry in the polymarker bundle table.

Error Codes

None

Related Subroutines

GPQRCT
Inquire Realized Connection Type

RCP code

201339909 (X'0C003405')


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