Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ppolymarker(3g)  —  Subroutines

Name

ppolymarker − Draws the 2D form of a polymarker primitive. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

void ppolymarker (
  const Ppoint_list  ∗points  /∗ (I) List of points ∗/
)

Data Structures

typedef struct {
    Pint       num_points;   /∗ number of Ppoints in the list ∗/
    Ppoint    ∗points;       /∗ list of points ∗/
} Ppoint_list;
    typedef struct {
        Pfloat    x;    /∗ x coordinate ∗/
        Pfloat    y;    /∗ y coordinate ∗/
    } Ppoint;

Description

ppolymarker draws the two-dimensional form of a polymarker primitive by connecting the modeling coordinate points in the list of points.  Its z-coordinate value is 0. 

Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new polymarker element. 

A call to the ppolymarker function has the following effects during structure traversal:

•Digital PHIGS generates a sequence of markers to identify all the points specified in the point list. 

•Digital PHIGS binds the current values of the polymarker attributes, as defined in the PHIGS traversal state list, to the polymarker primitive. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See Also

padd_names_set
pinq_marker_facs
ppolymarker3
premove_names_set
pset_depth_cue_ind
pset_hlhsr_id
pset_indiv_asf
pset_marker_size
pset_marker_type
pset_pick_id
pset_marker_colr
pset_marker_colr_ind
pset_marker_ind
pset_view_ind

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026