Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pspar(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSPAR(3g)  —  Subroutines

Name

PSPAR − Defines a pattern table index. 

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

Syntax

 

PSPAR (WKID, PAI, DIMX, DIMY, ISC, ISR, DX, DY, COLIA)

Argument        Data Type     Access     Description
---------------------------------------------------------------------------
WKID            Integer       Read       Workstation identifier
PAI             Integer       Read       Pattern index
DIMX, DIMY      Integer       Read       Dimensions of COLIA, which contains
                                         the array of pattern color indexes
ISC, ISR        Integer       Read       Starting column, starting row
DX, DY          Integer       Read       Number of columns, number of rows
                                         used
COLIA(DIMX,     Integer       Read       Array of pattern color indexes
DIMY)
---------------------------------------------------------------------------

Description

PSPAR allows you to redefine an existing pattern table index, or to define a new pattern table index.  This is accomplished by specifying the number of cells high, the number of cells wide, and an array containing each cell’s color index fill area, associated with the specified bundle index. 

If the workstation supports the pattern interior style, the pattern table in the workstation state list predefines entries taken from the workstation description table. You can redefine any table entry using this function. 

When fill areas or fill area sets are displayed during structure traversal and the interior style is PATTERN, the current interior style index in the PHIGS traversal state list refers to an entry in the pattern table.  If the current interior style index is unavailable in the pattern table, PHIGS uses interior style index 1.  If interior style index 1 is unavailable (interior style pattern is unsupported), the result is workstation-dependent. 

If the pattern color index specified in the pattern color index array is unavailable on the workstation, PHIGS uses color index 1. 

Attribute values passed to this function must be valid for the specified workstation.  For information, see the appropriate device-specific chapter in the Device Specifics Reference Manual for DEC GKS and DEC PHIGS. 

Digital PHIGS Version 3.1 does not support this function.

See Also

PQEPAI
PQPAF
PQPAR
PQPPAR
PQWKSL
PSIASF
PSPRPV
PSPAP
PSPA

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