pinq_colr_map_st(3g) — Subroutines
Name
pinq_colr_map_st − Returns color mapping data record associated with a color mapping method.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS PLUS function
Syntax
void pinq_colr_map_st (
Pint wsid, /∗ (I) Workstation identifier. ∗/
Pint method, /∗ (I) Color mapping method. ∗/
Pstore store, /∗ (I) Handle to store the object. store
manages the memory referenced by
∗data. ∗/
Pint ∗error_ind, /∗ (O) Error indicator. ∗/
Pcolr_map_st ∗∗data /∗ (O) Color mapping data record. ∗/
)
Data Structures
typedef void ∗Pstore;
typedef struct {
Pint method; /∗ color mapping method ∗/
union Pcolr_map_st_data {
Pint num_true_colrs; /∗ number of available true
colors ∗/
Pint max_num_pseudo_colrs; /∗ maximum number of available
pseudo color entries ∗/
} data;
} Pcolr_map_st;
Constants
Data Structure Constants Constant Description
---------------------------------------------------------------------------
Color mapping method PCOLR_MAP_METHOD_TRUE Digital PHIGS
performs the
identity mapping.
PCOLR_MAP_METHOD_PSEUDO Digital PHIGS
converts the colors
to a single integer
index.
PCOLR_MAP_METHOD_PSEUDO_N Digital PHIGS
converts the colors
to a set of
eindexes.
---------------------------------------------------------------------------
Description
pinq_colr_map_st returns the color mapping data record associated with the specified color mapping method.
Digital PHIGS Version 4.1 does not support this function.
See Also
pcreate_store
pdel_store
pinq_colr_map_method_facs
pset_colr_map_rep