pinq_marker_facs(3g) — Subroutines
Name
pinq_marker_facs − Returns polymarker information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_marker_facs (
Pint wstype, /∗ (I) Workstation type ∗/
Pint num_elem, /∗ (I) Number of polymarker types in the
application list ∗/
Pint start, /∗ (I) Starting position within the
Digital PHIGS list ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pmarker_facs ∗fac, /∗ (O) Polymarker facilities ∗/
Pint ∗act_num /∗ (O) Total number of polymarker types
in the Digital PHIGS list ∗/
)
Data Structures
typedef struct {
Pint_list types; /∗ list of marker types ∗/
Pint num_sizes; /∗ number of available marker sizes ∗/
Pfloat nom_size; /∗ nominal marker size ∗/
Pfloat min_size; /∗ minimum marker size ∗/
Pfloat max_size; /∗ maximum marker size ∗/
Pint num_pred_inds; /∗ number of predefined bundles indexes ∗/
} Pmarker_facs;
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Constants
Data Structure Constants Constant Description
---------------------------------------------------------------------------
Marker type PMARKER_DOT Dot marker
PMARKER_PLUS Plus marker
PMARKER_ASTERISK Asterisk marker
PMARKER_CIRCLE Circle marker
PMARKER_CROSS Diagonal cross
marker
PMARKER_SOLID_CIRCLE Solid circle marker
PMARKER_TRIANGLE_UP Hollow up triangle
marker
PMARKER_SOLID_TRI_UP Solid up triangle
marker
PMARKER_TRIANGLE_DN Hollow down
triangle marker
PMARKER_SOLID_TRI_DN Solid down
triangle marker
PMARKER_SQUARE Hollow square
marker
PMARKER_SOLID_SQUARE Solid square
marker
PMARKER_BOWTIE Hollow bow tie
marker
PMARKER_SOLID_BOWTIE Solid bow tie
marker
PMARKER_HOURGLASS Hollow hourglass
marker
PMARKER_SOLID_HGLASS Solid hourglass
marker
PMARKER_DIAMOND Hollow diamond
marker
PMARKER_SOLID_DIAMON Solid diamond
marker
---------------------------------------------------------------------------
Description
pinq_marker_facs queries the workstation description table and returns values for the following:
•Number of available marker types
•List of available marker types
•Number of available marker sizes
•Nominal marker size in device coordinates
•Range of polymarker sizes (maximum, minimum) in device coordinates
•Number of predefined polymarker indexes
If Digital PHIGS returns 0 as the number of available marker widths, the workstation supports a continuous range of marker sizes.
See Also
pinq_pred_marker_rep
pinq_pred_marker_rep_plus
pset_marker_rep
pset_marker_rep_plus