pinq_edge_facs(3g) — Subroutines
Name
pinq_edge_facs − Returns edge width, type, and index information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_edge_facs (
Pint wstype, /∗ (I) Workstation type ∗/
Pint num_elem, /∗ (I) Number of elements in the application
list ∗/
Pint start, /∗ (I) Starting position within the Digital
PHIG Slist ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pedge_facs ∗facilities, /∗ (O) List of edge facilities ∗/
Pint ∗act_num /∗ (O) Total number of edge types in the
Digital PHIGS list∗/
)
Data Structures
typedef struct {
Pint_list types; /∗ list of edge types ∗/
Pint num_widths; /∗ number of available edge widths ∗/
Pfloat nom_width; /∗ nominal edge width ∗/
Pfloat min_width; /∗ minimum edge width ∗/
Pfloat max_width; /∗ maximum edge width ∗/
Pint num_pred_inds; /∗ number of predefined bundle indexes ∗/
} Pedge_facs;
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Constants
Data Structure Constant Description
Constants
---------------------------------------------------------------------------
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_edge_facs queries the workstation description table and returns values for the following:
•Number of available edge types
•List of available edge types
•Number of available edge widths
•Nominal edge width in device coordinates
•Range of edge widths in device coordinates
•Number of predefined edge indexes
See Also
pinq_pred_edge_rep
pinq_pred_edge_rep_plus