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

GPQER - Inquire Edge Representation

GPQER (wsid, index, type, errind, edgefg, edgelt, edgesf, ecol)

Purpose

Use GPQER to inquire the current attribute values in the specified entry in the edge bundle 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.

index -- specified by user, fullword integer

Edge bundle table index (>=1)

type -- specified by user, fullword integer

Type of returned values (1=SET )

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
526
REQUESTED DATA NOT AVAILABLE FOR THIS FUNCTION
534
TYPE VALUE IS INVALID

edgefg -- returned by the graPHIGS API, fullword integer

Edge flag in the specified edge table entry (1=OFF, 2=ON, 3=GEOMETRY_ONLY )

edgelt -- returned by the graPHIGS API, fullword integer

Specifies an index into the workstation's edge line type table. The table size and specified entries supported are workstation dependent. The default edge line type table for supported entries is defined with the following line types: 1=SOLID_LINE, 2=DASHED, 3=DOTTED, 4=DASH_DOT, 5=LONG_DASH, 6=DOUBLE_DOT, 7=DASH_DOUBLE_DOT, 8-n=SOLID_LINE Any entry may be changed by the Set Linetype Representation (GPLTR) subroutine except entry 1)

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

Edge scale factor in the specified edge table entry.

ecol -- returned by the graPHIGS API, fullword integer

Edge color index in the specified edge table entry.

Note:

Direct edge color returns error indicator 526

Error Codes

None

Related Subroutines

GPQXER
Inquire Extended Edge Representation

RCP code

201339138 (X'0C003102')


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