pe_inq_pred_highl_rep(3g) — Subroutines
Name
pe_inq_pred_highl_rep − Returns highlight representation information.
Operating States: PHOP, ∗, ∗, ∗
Digital PHIGS extension function
Syntax
void pe_inq_pred_highl_rep (
Pint wstype, /∗ (I) Workstation type ∗/
Pint index, /∗ (I) Highlight index ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Phigh_method ∗high_method, /∗ (O) Highlight method for the index ∗/
Phighl_rec ∗high_data /∗ (O) Highlight value for the index ∗/
)
Data Structures
typedef enum {
PHIGH_METHOD_DEFAULT, /∗ Highlight with workstation-dependent
default method. ∗/
PHIGH_METHOD_INTENSITY, /∗ Highlight with varying intensity. ∗/
PHIGH_METHOD_BLINK, /∗ Highlight with blinking. ∗/
PHIGH_METHOD_COLOR, /∗ Highlight with changing color. This
does not override interior and back
interior color specifications. ∗/
PHIGH_METHOD_FCOLOR, /∗ Highlight with forced color. This
overrides interior and back interior
color specifications. ∗/
PHIGH_METHOD_COMP, /∗ Highlight with complement mode. ∗/
PHIGH_METHOD_LINE, /∗ Highlight with extent line box. ∗/
PHIGH_METHOD_FILL, /∗ Highlight with extent fill area. ∗/
PHIGH_METHOD_DUAL /∗ Highlight with extent line box and
fill area. ∗/
} Phigh_method;
typedef union {
Pint color_index;
Pfloat intensity_scale_factor;
Pfloat blink_rate;
Phigh_rec_line high_rec_line;
Phigh_rec_fill high_rec_fill;
Phigh_rec_dual high_rec_dual;
} Phighl_rec;
typedef struct {
Pint line_type;
Pfloat line_width;
Pfloat expan_extent;
} Phigh_rec_line;
typedef struct {
Pint_style int_style;
Pint int_style_index;
Pfloat expan_extent;
} Phigh_rec_fill;
typedef enum {
PHOLLOW, /∗ Hollow interior. This is the default
value. ∗/
PSOLID, /∗ Solid interior. ∗/
PPATTERN, /∗ Patterned interior .∗/
PHATCH, /∗ Hatched interior. ∗/
PEMPTY /∗ Empty interior. ∗/
} Pint_style;
typedef struct {
Pint line_type;
Pfloat line_width;
Pint_style int_style;
Pint int_style_index;
Pfloat expan_extent;
} Phigh_rec_dual;
Constants
Data Structure Constants Constant Description
---------------------------------------------------------------------------
Line types PLINE_SOLID Solid line
PLINE_DASH Dashed line
PLINE_DOT Dotted line
PLINE_DOTDASH Dashed-dotted line
PLINE_DASH_2_DOT Dash-2-dots line
PLINE_DASH_3_DOT Dash-3-dots line
PLINE_LONG_DASH Long dashed line
PLINE_LONG_SHORT_DAS Long-short dashed line
PLINE_SPACED_DASH Spaced dashed line
PLINE_SPACED_DOT Spaced dotted line
PLINE_DOUBLE_DOT Double-dotted line
PLINE_TRIPLE_DOT Triple-dotted line
PLINE_CENTER Long line, dash, long
line
PLINE_PHANTOM Long line, two dashes,
long line
---------------------------------------------------------------------------
Description
pe_inq_pred_highl_rep returns values for the following:
•Highlight method
•Highlight data record
•Size of the returned list
•Actual size of the predefined highlight representation in the workstation description table
See Also
pe_inq_highl_rep
pe_set_highl_ind
pe_set_highl_rep