Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_marker_rep(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_marker_rep(3g)  —  Subroutines

 

Name

pinq_marker_rep − Returns the marker type, marker size scale factor, and polymarker color index. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

void pinq_marker_rep (
  Pint             wsid,          /∗ (I) Workstation identifier ∗/
  Pint             index,         /∗ (I) Polymarker index ∗/
  Pinq_type        return_type,   /∗ (I) Type of the returned value ∗/
  Pint            ∗error_ind,     /∗ (O) Error indicator ∗/
  Pmarker_bundle  ∗rep            /∗ (O) Polymarker representation ∗/
)

 

Data Structures

typedef enum {
    PINQ_SET,        /∗ Use the exact state list values. ∗/
    PINQ_REALIZED    /∗ Use the values approximated by the graphics
                        handler. ∗/
} Pinq_type;
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 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_rep queries the workstation state list and returns the marker type, the marker size scale factor, and the polymarker color index. 

If the specified polymarker index is not in the polymarker bundle table on the specified workstation, and the specified type of returned values is PINQ_REALIZED, Digital PHIGS returns the representation for polymarker index 1.  (See the Device Specifics Reference Manual for DEC GKS and DEC PHIGS for workstation-specific information.) 

See Also

pinq_list_marker_inds
pinq_marker_rep_plus
pinq_pred_marker_rep
pinq_pred_marker_rep_plus
pset_marker_rep
pset_marker_rep_plus

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