Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_list_colr_inds(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_list_colr_inds(3g)  —  Subroutines

 

Name

pinq_list_colr_inds − Returns the list of defined color indexes. 

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

Syntax

void pinq_list_colr_inds (
  Pint        wsid,        /∗ (I) Workstation identifier ∗/
  Pint        num_elem,    /∗ (I) Number of elements in the application
                                  list ∗/
  Pint        start,       /∗ (I) Starting position within the Digital
                                  PHIGS list of color indexes ∗/
  Pint       ∗error_ind,   /∗ (O) Error indicator ∗/
  Pint_list  ∗indices,     /∗ (O) List of color indexes ∗/
  Pint       ∗act_num      /∗ (O) Total number of defined color indexes
                                  in Digital PHIGS ∗/
)

 

Data Structures

typedef struct {
    Pint      num_ints;   /∗ number of Pints in the list ∗/
    Pint     ∗ints;       /∗ list of integers ∗/
} Pint_list;

Description

pinq_list_colr_inds queries the workstation state list and returns the list of defined color indexes. 

The application must provide the space used by the list.  The application passes the address of the list, an array of integers, in the ints field of the indices argument, and passes the size in the num_elem argument.  Digital PHIGS returns the number of elements written to the list in the num_ints field of the indices argument. 

See Also

pinq_colr_facs
pinq_pred_colr_rep
pset_colr_rep

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