pinq_marker_rep_plus(3g) — Subroutines
Name
pinq_marker_rep_plus − Returns information on extended polymarker representation.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS PLUS function
Syntax
void pinq_marker_rep_plus (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint index, /∗ (I) Polymarker index ∗/
Pinq_type return_type, /∗ (I) Type of returned values ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pmarker_bundle_plus ∗rep /∗ (O) Extended 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 ∗/
Pgcolr colr; /∗ polymarker color ∗/
} Pmarker_bundle_plus;
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 Constants Constant Description
---------------------------------------------------------------------------
Marker types PMARKER_DOT Dot marker
PMARKER_PLUS Plus marker
PMARKER_ASTERISK Asterisk marker
PMARKER_CIRCLE Circle marker
PMARKER_CROSS Diagonal cross marker
PMARKER_SOLID_ Solid circle marker
CIRCLE
PMARKER_TRIANGLE_ Hollow up triangle
UP marker
PMARKER_SOLID_ Solid up triangle
TRI_UP marker
PMARKER_TRIANGLE_ Hollow down triangle
DN marker
PMARKER_SOLID_ Solid down triangle
TRI_DN marker
PMARKER_SQUARE Hollow square marker
PMARKER_SOLID_ Solid square marker
SQUARE
PMARKER_BOWTIE Hollow bow tie marker
PMARKER_SOLID_ Solid bow tie marker
BOWTIE
PMARKER_HOURGLASS Hollow hourglass marker
PMARKER_SOLID_ Solid hourglass marker
HGLASS
PMARKER_DIAMOND Hollow diamond marker
PMARKER_SOLID_ Solid diamond marker
DIAMON
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
Internationale de
l’Eclairage
PCOLR_HSV Direct specification of
hue, saturation, and value
PCOLR_HLS Direct specification of
hue, lightness, and
saturation
---------------------------------------------------------------------------
Description
pinq_marker_rep_plus returns information on the extended polymarker representation, including the marker type, marker size scale factor, and marker color.
See Also
pinq_marker_rep
pinq_pred_marker_rep
pinq_pred_marker_rep_plus
pset_marker_rep
pset_marker_rep_plus