Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_edge_rep_plus(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_edge_rep_plus(3g)  —  Subroutines

Name

pinq_edge_rep_plus − Returns information about the extended edge representation. 

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

Syntax

void pinq_edge_rep_plus (
  Pint                wsid,         /∗ (I) Workstation identifier ∗/
  Pint                index,        /∗ (I) Edge index ∗/
  Pinq_type           return_type,  /∗ (I) Type of returned values ∗/
  Pint               ∗error_ind,    /∗ (O) Error indicator ∗/
  Pedge_bundle_plus  ∗rep           /∗ (O) Extended edge 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 {
    Pedge_flag   flag;       /∗ edge flag ∗/
    Pint         type;       /∗ edge type ∗/
    Pfloat       width;      /∗ edge width scale factor ∗/
    Pgcolr       colr;       /∗ edge color ∗/
} Pedge_bundle_plus;
    typedef enum {
        PEDGE_OFF,   /∗ edges off ∗/
        PEDGE_ON     /∗ edges on ∗/
    } Pedge_flag;
    typedef struct {
        Pint     colr_type;   /∗ color type ∗/
        Pcolrv   colr_value;  /∗ color value ∗/
    } Pgcolr;
 
        typedef union {
            Pint         colr_ind;    /∗ color index ∗/
            Pcolr_rep    colr_rep;    /∗ color representation ∗/
        } Pcolrv;
            typedef union {
                Prgb        rgb;       /∗ red, green, and blue color
                                          specification ∗/
                Pcieluv     cieluv;    /∗ CIELUV color specification ∗/
                Phls        hls;       /∗ hue, lightness, and saturation
                                          color specification ∗/
                Phsv        hsv;       /∗ hue, saturation, and value color
                                          specification ∗/
                Pdata       unsupp;    /∗ color in an unsupported color
                                          model ∗/
                int         impl_dep;  /∗ implementation-defined ∗/
            } Pcolr_rep;
                typedef struct {
                    Pfloat    red;     /∗ red intensity ∗/
                    Pfloat    green;   /∗ green intensity ∗/
                    Pfloat    blue;    /∗ blue intensity ∗/
                } Prgb;
                typedef struct {
                    Pfloat    cieluv_x;      /∗ x coefficient ∗/
                    Pfloat    cieluv_y;      /∗ y coefficient ∗/
                    Pfloat    cieluv_y_lum;  /∗ y luminance ∗/
                } Pcieluv;
                typedef struct {
                    Pfloat    hue;         /∗ hue ∗/
                    Pfloat    lightness;   /∗ lightness ∗/
                    Pfloat    satur;       /∗ saturation ∗/
                } Phls;
                typedef struct {
                    Pfloat    hue;      /∗ hue ∗/
                    Pfloat    satur;    /∗ saturation ∗/
                    Pfloat    value;    /∗ value ∗/
                } Phsv;
 
                typedef struct {
                    size_t    size;     /∗ size of data ∗/
                    void     ∗data;     /∗ pointer to the data ∗/
                } Pdata;

Constants

Data Structure               Constant               Description
Constants
---------------------------------------------------------------------------
Edge types                   PLINE_SOLID            Solid edge
                             PLINE_DASH             Dashed edge
                             PLINE_DOT              Dotted edge
                             PLINE_DOTDASH          Dashed-dotted edge
                             PLINE_DASH_2_DOT       Dash-2-dots edge
                             PLINE_DASH_3_DOT       Dash-3-dots edge
                             PLINE_LONG_DASH        Long dashed edge
                             PLINE_LONG_SHORT_DAS   Long-short dashed edge
                             PLINE_SPACED_DASH      Spaced dashed edge
                             PLINE_SPACED_DOT       Spaced dotted edge
                             PLINE_DOUBLE_DOT       Double-dotted edge
                             PLINE_TRIPLE_DOT       Triple-dotted edge
                             PLINE_CENTER           Long line, dash, long
                                                    line edge
                             PLINE_PHANTOM          Long line, two dashes,
                                                    long line edge
Color types                  PCOLR_INDIRECT         Indirect (indexed)
                                                    color
                             PCOLR_RGB              Direct specification of
                                                    red, green, and blue
                             PCOLR_CIELUV           Direct specification in
                                                    the format of the
                                                    Commission Internatio-
                                                    nale de l’Eclairage
                             PCOLR_HSV              Direct specification of
                                                    hue, saturation, and
                                                    value
                             PCOLR_HLS              Direct specification of
                                                    hue, lightness, and
                                                    saturation
---------------------------------------------------------------------------

 

Description

pinq_edge_rep_plus returns information about the extended edge representation, including the edge type, edge width, and edge color. 

See Also

pinq_edge_facs
pinq_edge_rep
pinq_pred_edge_rep
pinq_pred_edge_rep_plus
pset_edge_ind
pset_edge_rep
pset_edge_rep_plus

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