deflinestyle() — Silicon Graphics
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.4 — May 08, 1986