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

INQUIRE PREDEFINED EDGE REPRESENTATION (PHOP,*,*,*)

Purpose

Use Inquire Predefined Edge Representation to inquire the predefined settings for the edge attributes in the edge bundle table of the specified workstation type.

The graPHIGS API returns the edge flag setting, edge line type, edge width scale factor, and edge color for the predefined edge bundle table. 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 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:

2
Function Requires State (PHOP,*,*,*)
52
Workstation Type Not Recognized By Implementation
51
Information Not Available For Generic Workstation Type
59
Specified Workstation Does Not Have Output Capability
62
This Information Not Available For MO Workstation Type
100
Bundle Index Value Is Less Than One
102
Representation Has Not Been Predefined On This Workstation

Language Bindings

C

pinq_pred_edge_rep (ws_type, index, err_ind, bundle)

Input Parameters

Pint ws_type
Workstation type.

Pint index
Predefined edge index (>=1).

Output Parameters

Pint *err_ind
Error indicator.

Pedge_bundle *bundle
Predefined edge representation.

FORTRAN

PQPEDR (wtype, pedi, errind, edflag, edtype, ewidth, coli)

Input Parameters

integer wtype
Workstation type.

integer pedi
Predefined edge index (>=1).

Output Parameters

integer errind
Error indicator.

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

integer edtype
Edge type.

real ewidth
Edge width scale factor.

integer coli
Edge color index.

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type


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