pinq_pred_edge_rep(3g) — Subroutines
Name
pinq_pred_edge_rep − Returns edge representation information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_pred_edge_rep (
Pint wstype, /∗ (I) Workstation type ∗/
Pint index, /∗ (I) Predefined edge index ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pedge_bundle ∗rep /∗ (O) Predefined edge representation ∗/
)
Data Structures
typedef struct {
Pedge_flag flag; /∗ edge flag ∗/
Pint type; /∗ edge type ∗/
Pfloat width; /∗ edge width scale factor ∗/
Pint colr_ind; /∗ edge color index ∗/
} Pedge_bundle;
typedef enum {
PEDGE_OFF, /∗ edges off ∗/
PEDGE_ON /∗ edges on ∗/
} Pedge_flag;
Constants
Data Structure Constants Constant Description
---------------------------------------------------------------------------
Edge types PLINE_SOLID Solid edge
PLINE_DASH Dashed edge
PLINE_DOT Dotted edge
PLINE_DOTDASH Dashed-dotted edge
PLINE_DASH_2_DOT Dash-2-dots edge
PLINE_DASH_3_DOT Dash-3-dots edge
PLINE_LONG_DASH Long dashed edge
PLINE_LONG_SHORT_DAS Long-short dashed edge
PLINE_SPACED_DASH Spaced dashed edge
PLINE_SPACED_DOT Spaced dotted edge
PLINE_DOUBLE_DOT Double-dotted edge
PLINE_TRIPLE_DOT Triple-dotted edge
PLINE_CENTER Long line, dash, long
line edge
PLINE_PHANTOM Long line, two dashes,
long line edge
---------------------------------------------------------------------------
Description
pinq_pred_edge_rep returns values for the following:
•Edge flag value
•Edge type
•Edge width scale factor
•Edge color index
If the specified depth cue index is not in the depth cue table on the specified workstation, and the specified type of returned value is REALIZED, the function returns the representation for the depth cue index 1.
See Also
pinq_edge_facs
pinq_edge_rep
pinq_edge_rep_plus
pinq_pred_edge_rep_plus
pset_edge_ind
pset_edge_rep
pset_edge_rep_plus