Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ resetls(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

resetls(3G)  —  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 reinitialization of the linestyle pattern between segments.  It takes one boolean argument.  TRUE(1), the default, indicates stippling of each line starts at the beginning of the linestyle pattern.  FALSE(0) turns off the mode: the linestyle is not reset between segments, and the stippling of one segment continues from where it left off at the end of the previous segment.  Calls to resetls initialize the linestyle, no matter what the argument, and invalidate the current graphics position. 

Use resetls to approximate 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.  Do not set the linewidth to 2 unless resetls is TRUE(1). 

SEE ALSO

deflinestyle, getresetls, lsbackup, setlinestyle Programming Guide, Section 5.1, Linestyles

Version 3.6  —  December 20, 1987

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