SET PATTERN REPRESENTATION(3P) — SUNPHIGS LIBRARY
NAME
SET PATTERN REPRESENTATION − define a pattern representation on a specified workstation
SYNOPSIS
C Syntax
void
psetpatrep ( ws, index, rep )
Pintws;workstation identifier
Pintindex;pattern bundle index
Pptbundl∗rep;pattern representation pointer
FORTRAN Syntax
SUBROUTINE pspar ( WKID, PAI, DIMX, DIMY, ISC, ISR, DX, DY, COLIA )
INTEGERWKIDworkstation identifier
INTEGERPAIpattern index
INTEGERDIMX, DIMYthe dimensions of COLIA
which contains the pattern array
INTEGERISC, ISRindices to start column, start row
INTEGERDX, DYnumber of columns, number of rows used
INTEGERCOLIA(DIMX, DIMY) pattern array
Required PHIGS Operating States
(PHOP, WSOP, ∗, ∗)
DESCRIPTION
Note: This function has C and FORTRAN bindings but its functionality has not yet been implemented.
ERRORS
003Ignoring function, function requires state (PHOP, WSOP, ∗, ∗)
054Ignoring function, the specified workstation is not open
059Ignoring function, the specified workstation does not have output capability (i.e., the workstation category is neither OUTPUT, OUTIN, nor MO)
112Ignoring function, the pattern index value is less than one
103Ignoring function, setting this bundle table entry would exceed the maximum number of entries allowed in the workstation bundle table
116Ignoring function, one of the dimensions of pattern colour array is less than one
113Ignoring function, the colour index value is less than zero
SEE ALSO
INQUIRE PATTERN FACILITIES (3P)
INQUIRE LIST OF PATTERN INDICES (3P)
INQUIRE PATTERN REPRESENTATION (3P)
SET PATTERN REFERENCE POINT AND VECTORS (3P)
SET PATTERN SIZE (3P)
SET EXTENDED PATTERN REPRESENTATION (3P+)
Sun Release 4.0 — Last change: 1 August 1989