resetls() — Silicon Graphics
NAME
resetls - controls the continuity of linestyles
SPECIFICATION
C
resetls(b)
Boolean b;
FORTRAN
subroutine resetl(b)
logical b
Pascal
procedure resetls(b: Boolean);
DESCRIPTION
resetls affects the re-initialization of the linestyle pattern between segments. It takes one boolean argument. TRUE, the default, means that stippling of each line will start from the beginning of the linestyle pattern. FALSE turns the mode off: the linestyle will not be reset between segments, and the stippling of one segment will continue from where it left off at the end of the previous segment. 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.4 — May 08, 1986