Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ defpatter(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     defpattern(3G)                                     defpattern(3G)



NAME
defpattern - defines patterns
SPECIFICATION
C defpattern(n, size, mask)
short n, size;
short *mask;
FORTRAN subroutine defpat(n, size, mask)
integer*4 n, size
integer*2 mask((size*size)/16)
DESCRIPTION
defpattern defines an arbitrary pattern. n specifies an
index into a table of patterns. size specifies the size of
the pattern: 16, 32, or 64 for a 16x16-, 32x32-, or 64x64-
bit pattern, respectively. mask is an array of shorts that
form the actual bit pattern. The pattern is described from
left to right and bottom to top, just as characters are
described in a raster font. By default, pattern 0 is a
16x16 solid pattern that cannot be changed. There is no
performance penalty for non-solid patterns.
SEE ALSO
defcursor, defrasterfont, deflinestyle, getpattern,
setpattern
Programming Guide, Section 5.2, Patterns
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)

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