Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ resetls(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

resetls()  —  Silicon Graphics Beta Release

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.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026