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

GPER - Set Edge Representation

GPER (wsid, index, edgefg, edgelt, edgesf, ecol)

Purpose

Use GPER to set the given attribute values in the specified entry of the specified workstation.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

index -- specified by user, fullword integer

Edge bundle table index (>=1)

edgefg -- specified by user, fullword integer

Edge flag (1=OFF, 2=ON, 3=GEOMETRY_ONLY )

edgelt -- specified by user, fullword integer

Edge line type table index. Specifies an index into the workstation's edge line type table. The table size and specific entries supported are workstation dependent. Use the Inquire Edge Facilities (GPQEF) subroutine to locate the supported line types on your workstation. 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 -- specified by user, short floating-point number.

Edge scale factor, specified as a fraction of the nominal width of a line. A line width scale factor of 1.0, which is the default, generates a nominal size line on any workstation. Any other value is mapped to the closest available line width on the workstation.

ecol -- specified by user, fullword integer

Edge color index (>=0)

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
43
BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
60
BUNDLE INDEX VALUE < ONE
63
LINETYPE VALUE < ONE
64
SPECIFIED LINETYPE NOT AVAILABLE ON WORKSTATION
92
COLOR INDEX < ZERO
93
COLOR INDEX VALUE(S) EXCEED WORKSTATION TABLE CAPACITY
311
EDGE FLAG VALUE IS INVALID

Related Subroutines

GPXER
Set Extended Edge Representation

RCP code

201329412 (X'0C000B04')


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