Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psedc(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSEDC(3g)  —  Subroutines

Name

PSEDC − Sets the color used to draw edges of area primitives. 

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

Old Syntax

DSEC (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

PSEDC (CTYPE, COLI, NCC, COLR)

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

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

PSEDC sets the color Digital PHIGS uses to draw edges of area primitives.  The set edge color element sets the area edge color attribute to either an indexed color or a direct color value, depending on the current value of the color type attribute. 

Depending on the edit mode, this 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 edge color element. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.  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

PFAS
PFAS3
PFASD
PFAS3D
DFASW
DFASW3
PGDP
PGDP3
PQDCMF
PQEDF
PBSS3
PQM3D
PSIASF
PSEDCI
PSEDFG
PSEDR
PSFAS3
PTST3D

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