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

GPQPER - Inquire Predefined Edge Representation

GPQPER (wstype, index, errind, edgefg, edgelt, edgesf, ecol)

Note:

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

Purpose

Use GPQPER to inquire the predefined settings for the edge attributes in the edge bundle table for the specified workstation type.

The graPHIGS API returns the edge flag setting (edgefg), edge line type (edgelt), edge scale factor (edgesf), and edge color for the predefined edge bundle table (ecol) The returned attributes correspond to the requested bundle table index.

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 edge 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

edgefg -- returned by the graPHIGS API, fullword integer

Edge flag corresponding to the specified entry (1=OFF, 2=ON, 3=GEOMETRY_ONLY )

edgelt -- returned by the graPHIGS API, fullword integer

Line type of an edge corresponding to the specified entry.

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

Edge scale factor corresponding to the specified entry.

ecol -- returned by the graPHIGS API, fullword integer

Edge color index corresponding to the specified entry.

Error Codes

None

Related Subroutines

GPQRCT
Inquire Realized Connection Type

RCP code

201339906 (X'0C003402')


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