pset_marker_rep(3g) — Subroutines
Name
pset_marker_rep − Defines the attributes of a polymarker representation.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pset_marker_rep (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint index, /∗ (I) Polymarker index ∗/
const Pmarker_bundle ∗rep /∗ (I) Polymarker representation ∗/
)
Data Structures
typedef struct {
Pint type; /∗ marker type ∗/
Pfloat size; /∗ marker size scale factor ∗/
Pint colr_ind; /∗ color index ∗/
} Pmarker_bundle;
Constants
Data Structure Constants Constant Description
---------------------------------------------------------------------------
Marker types PMARKER_DOT Dot marker.
PMARKER_PLUS Plus marker.
PMARKER_ASTERISK Asterisk marker. This is the
default value.
PMARKER_CIRCLE Circle marker.
PMARKER_CROSS Diagonal cross marker.
---------------------------------------------------------------------------
Other, nonstandard marker types are available. See Constants.
Description
pset_marker_rep associates the polymarker index with the marker type, marker size scale factor, and polymarker color index values in the polymarker bundle table on the workstation specified by the workstation identifier.
A call to this function allows you to create or redefine an entry for the workstation polymarker bundle table. To determine the predefined bundle table entries, which are provided for all workstations of type OUTPUT and OUTIN, and which are derived from the workstation description table, run the program phigs_predef.
During structure traversal, the following occurs:
•When Digital PHIGS displays polymarker and polymarker 3 primitives, the current polymarker index entry in the PHIGS traversal state list refers to an entry in the polymarker bundle table.
•If Digital PHIGS cannot find the current polymarker index value in the polymarker bundle table on the specified workstation, it uses polymarker index 1.
•Digital PHIGS binds aspects to the primitives, as directed by the values of the corresponding ASFs (BUNDLED or INDIVIDUAL).
See Also
pinq_marker_facs
pinq_marker_rep
pinq_ws_st_table
ppolymarker
ppolymarker3
pset_indiv_asf
pset_marker_size
pset_marker_type
pset_marker_colr
pset_marker_colr_ind
pset_marker_ind
pset_marker_rep_plus