Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ deflinestyl(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

deflinestyle()  —  Silicon Graphics Beta Release

NAME

deflinestyle - defines a linestyle

SPECIFICATION

C
deflinestyle(n, ls)
short n;
Linestyle ls;

FORTRAN
subroutine deflin(n, ls)
integer*4 n, ls

Pascal
procedure deflinestyle(n: Short; ls: Linestyle);

DESCRIPTION

deflinestyle defines a linestyle, a write-enable pattern that is applied when lines are drawn.  The arguments specify an index into a table where the linestyles are stored, and a sixteen-bit pattern.  Up to 216 linestyles can be defined.  By default, index 0 contains the pattern FFFFx which draws solid lines, and cannot be redefined.  There is no performance penalty for drawing non-solid lines.  To replace a linestyle, define the new one to have the same index as the old one. 

SEE ALSO

defcursor, defrasterfont, defpattern, getlstyle, setlinestyle

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

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