resetls(3) — Silicon Graphics R1c
NAME
resetls - control the continuity of linestyles
SYNOPSIS
C
resetls(b)
Boolean b;
FORTRAN
subroutine resetl(b)
logical b
Pascal
procedure resetls(b: Boolean);
DESCRIPTION
Resetls modifies the use of the linestyle pattern. It affects the re-initialization of the linestyle between segments. Resetls has one boolean argument. FALSE turns the mode off: the linestyle will not be reset between segments. TRUE, the default, means that each line will start with a fresh copy of the pattern. Calls to resetls have the side effect of initializing the linestyle, no matter what the argument, and of invalidating the current graphics position.
Resetls is used most often when approximating circles, arcs, and curves with many short lines. If the linestyle is not reset between segments, the pattern of the curve appears smooth and continuous. The linewidth should not be set to 2 unless resetls is TRUE.
SEE ALSO
deflinestyle, getresetls, lsbackup, setlinestyle
Version 2.3 — July 04, 1985