Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_colr_map_method_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_colr_map_method_facs(3g)  —  Subroutines

Name

pinq_colr_map_method_facs − Returns information about available color mapping methods. 

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

Syntax

void pinq_colr_map_method_facs (
  Pint                 wstype,     /∗ (I) Workstation type. ∗/
  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_method   ∗∗data        /∗ (O) Color mapping method data
                                          record. ∗/
)

 

Data Structures

typedef void ∗Pstore;
typedef struct {
    Pint    method;  /∗ color mapping method ∗/
    union Pcolr_map_method_data {
        Pint    num_true_colrs;        /∗ number of true colors ∗/
        Pint    max_num_pseudo_colrs;  /∗ maximum number of pseudo
                                          colors ∗/
    } data;
} Pcolr_map_method;

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
                                                        indexes.
---------------------------------------------------------------------------

Description

pinq_colr_map_method_facs returns information about the color mapping methods available on Digital PHIGS. 

Digital PHIGS Version 4.1 does not support this function.

See Also

pcreate_store
pdel_store
pinq_colr_map_facs

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