deflinestyle(3G) deflinestyle(3G)
NAME
deflinestyle - defines a linestyle
SPECIFICATION
C deflinestyle(n, ls)
short n;
Linestyle ls;
FORTRAN subroutine deflin(n, ls)
integer*4 n, ls
DESCRIPTION
deflinestyle defines a linestyle which is a write-enabled
pattern that is applied when lines are drawn. The least-
significant bit of the linestyle is applied first. n
specifies an index into a table where the linestyles are
stored, and ls specifies a 16-bit pattern. You can define
16
up to 2 linestyles. By default, index 0 contains the
pattern 0xFFFF, which draws solid lines and cannot be
redefined. There is no performance penalty for drawing non-
solid lines. To replace a linestyle, respecify the previous
index.
SEE ALSO
defcursor, defrasterfont, defpattern, getlstyle,
setlinestyle, lsrepeat
Programming Guide , Section 5.1, Linestyles
NOTE
This routine can be used only in immediate mode.
Page 1 (printed 8/20/87)