Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psbic(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSBIC(3g)  —  Subroutines

Name

PSBIC − Specifies the color for displaying back-facing portions of area primitives. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element

Old Syntax

DSBIC (CLRTYP, ICOLR, COLR)

Argument       Data Type      Access   Description
---------------------------------------------------------------------------
CLRTYP         Integer        Read     Color type
ICOLR          Integer        Read     Indexed color value
COLR(3)        Array of       Read     Direct color value
               reals
---------------------------------------------------------------------------

New Syntax

PSBIC (CTYPE, COLI, NCC, COLR)

Argument       Data Type      Access   Description
---------------------------------------------------------------------------
CTYPE          Integer        Read     Back interior color type
COLI           Integer        Read     Color index
NCC            Integer        Read     Number of color value components
COLR(NCC)      Array of       Read     Color values
---------------------------------------------------------------------------

Constants

Defined Argument      Constant      Description
---------------------------------------------------------------------------
CTYPE                 PINDIR        Indirect (indexed) color
                      PRGB          Direct specification of red, green,
                                    and blue
                      PCIE          Direct specification in the format of
                                    the Commission Internationale de
                                    l’Eclairage
                      PHSV          Direct specification of hue,
                                    saturation, and value
                      PHLS          Direct specification of hue,
                                    lightness, and saturation
---------------------------------------------------------------------------

Description

PSBIC specifies the color Digital PHIGS uses to display back-facing portions of area primitives.  Depending on the current edit mode, the function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new set back interior color element.  If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

During structure traversal, Digital PHIGS sets the current back interior color entry in the PHIGS traversal state list to the value associated with the element.  When the current back interior ASF entry in the state list is INDIVIDUAL, Digital PHIGS uses this value to display subsequent back-facing portions of area primitives.  If CTYPE = PINDIR, the function uses the COLI argument. Otherwise, the function uses the COLR argument. 

The new function syntax conforms to the ISO Fortran standard.  Digital recommends that you code using the new function syntax. 

See Also

PQIFP
PSBISI
PSFDM
PSIASF
PSIC
PSIP

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