pinq_line_facs_plus(3g) — Subroutines
Name
pinq_line_facs_plus − Returns extended polyline information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function
Syntax
void pinq_line_facs_plus (
Pint wstype, /∗ (I) Workstation type. ∗/
Pstore store, /∗ (O) Handle to store the object.
store manages the memory
referenced by ∗facs. ∗/
Pint ∗error_ind, /∗ (O) Error indicator. ∗/
Pline_facs_plus ∗∗facs /∗ (O) Extended line type
facilities. ∗/
)
Data Structures
typedef void ∗Pstore;
typedef struct {
Pint num_types; /∗ number of available line types ∗/
Pint_list types; /∗ list of line types ∗/
Pint num_widths; /∗ number of available line widths ∗/
Pfloat nom_width; /∗ nominal line width ∗/
Pfloat min_width; /∗ minimum line width ∗/
Pfloat max_width; /∗ maximum line width ∗/
Pint_list shad_methods; /∗ list of available shading methods ∗/
Pint num_inds; /∗ number of predefined bundle indexes ∗/
} Pline_facs_plus;
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Constants
Data Structure Constants Constant Description
---------------------------------------------------------------------------
Line types PLINE_SOLID Solid line
PLINE_DASH Dashed line
PLINE_DOT Dotted line
PLINE_DOTDASH Dashed-dotted line
PLINE_DASH_2_DOT Dash-2-dots line
PLINE_DASH_3_DOT Dash-3-dots line
PLINE_LONG_DASH Long dashed line
PLINE_LONG_SHORT_DAS Long-short dashed
line
PLINE_SPACED_DASH Spaced dashed line
PLINE_SPACED_DOT Spaced dotted line
PLINE_DOUBLE_DOT Double-dotted line
PLINE_TRIPLE_DOT Triple-dotted line
PLINE_CENTER Long line, dash,
long line
PLINE_PHANTOM Long line, two
dashes, long line
Line shading methods PLINE_SHAD_METHOD_NONE No interpolation,
constant shading
PLINE_SHAD_METHOD_COLR Linear interpola-
tion of color
---------------------------------------------------------------------------
Description
pinq_line_facs_plus returns information on the extended polyline facilities, including values for the following:
•Number of line types returned
•List of line types
•Total length of the list of line types
•Number of available line widths
•Nominal line width (in device coordinates)
•Minimum and maximum line widths
•Number of shading methods returned
•List of shading methods
•Total length of the list of shading methods
•Number of predefined polyline indexes
See Also
pcreate_store
pdel_store
pinq_pred_line_rep
pinq_pred_line_rep_plus
pset_line_rep
pset_line_rep_plus