deflin(3G)

deflin - defines a linestyle

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     deflin - defines a linestyle

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

PARAMETERS
     n    expects the constant that you want to use as an identifier for the
          linestyle described by ls. This constant is used as an index into a
          table of linestyles. By default, index 0 contains the pattern $FFFF,
          which draws solid lines and cannot be redefined.

     ls   expects a 16-bit pattern to use as a linestyle.  This pattern is
          stored in the linestyle table at index n. You can define up to 65536
          distinct linestyles.

DESCRIPTION
     deflin defines a linestyle that is a write-enabled pattern applied when
     lines are drawn.  The least-significant bit of the linestyle is applied
     first. Use setlin to select a linestyle for use.  The selected linestyle
     is sometimes referred to as the current linestyle.

SEE ALSO
     defcur, defpat, defras, getlst, lsrepe, setlin

NOTES
     This routine is available only in immediate mode.

     On the Personal Iris, there is a performance penalty for drawing non-
     solid lines; there is no penalty on the other IRIS-4D models.

     When deflin is used to modify the current linestyle, the new linestyle
     becomes current only when setlin is called again.