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



Use Inquire Edge Representation to inquire the current attribute values in the specified entry in the edge bundle table of the specified workstation. Returned values of type SET or REALIZED may be specified.

If the specified edge index is not present in the edge bundle table on the workstation and the specified type of returned values is REALIZED, then the graPHIGS API returns the representation values for edge index 1.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

Function Requires State (PHOP,WSOP,*,*)
Specified Workstation Is Not Open
Specified Workstation Does Not Have Output Capability
Bundle Index Value Is Less Than One
Specified Representation Has Not Been Defined

Language Bindings


pinq_edge_rep (ws_id, index, type, err_ind, edge_rep)

Input Parameters

Pint ws_id
Workstation identifier.

Pint index
Edge index (>=1).

Pinq_type type
Type of returned values (0=PINQ_SET, 1=PINQ_REALIZED).

Output Parameters

Pint *err_ind
Error indicator.

Pedge_bundle *edge_rep
Edge representation.


PQEDR (wkid, edi, type, errind, edflag, edtype, ewidth, coli)

Input Parameters

integer wkid
Workstation identifier.

integer edi
Edge index (>=1).

integer type
Type of returned values (0=PSET, 1=PREALI).

Output Parameters

integer errind
Error indicator.

integer edflag
Edge flag (0=POFF, 1=PON).

integer edtype
Edge type (1=PLSOLI, 2=PLDASH, 3=PLDOT, 4=PLDASD).

real edwidth
Edge width scale factor.

integer coli
Edge color index (>=0).



Related Subroutines

  • Inquire Edge Facilities

  • Set edge Representation

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