deflinestyle(3) — Silicon Graphics R1c
NAME
deflinestyle - define a linestyle
SYNOPSIS
C
deflinestyle(n, ls)
short n;
Linestyle ls;
FORTRAN
subroutine deflin(n, ls)
integer*2 n, ls
Pascal
procedure deflinestyle(n: Short; ls: Linestyle);
DESCRIPTION
Deflinestyle defines a linestyle. 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. 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, defobjfont, defrasterfont, deftexture, getlstyle, setlinestyle
NOTE
This command can only be used in immediate mode.
Version 2.3 — July 04, 1985