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

GPQLR - Inquire Polyline Representation

GPQLR (wsid, index, type, errind, ltype, lwidth, color)

Purpose

Use GPQLR to inquire the current attribute values in the specified entry in the polyline 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

Polyline 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

ltype -- returned by the graPHIGS API, fullword integer

Line type in the specified entry.

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

Line width scale factor in the specified entry.

color -- returned by the graPHIGS API, fullword integer

Polyline color index in the specified entry.

Note:

Direct polyline color returns error indicator 526

Error Codes

None

Related Subroutines

GPXPLR
Set Extended Polyline Representation

RCP code

201339140 (X'0C003104')


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