.\" @(#)Sdraw.dpp version 3.9 created 9/28/95
.\" @(#)Copyright (c), 1987, 1995 StatSci, Inc.  All rights reserved.
.BG
.FN Sdraw
.TL 
Freehand Drawing Tool
.DN
Provides a graphical interface for freehand drawing of circles,
squares, and squiggly lines.
.LB progdraw
.CS
Sdraw(gui=options()$gui)
.OA
.AG gui
For selecting the graphical users interface style.  UNIX users
should choose one of `"openlook"', `"motif"', or `"athena"'.  
Windows users should specify `"windows"'.
.RT
The character string "Thanks for using S-PLUS Draw!\n".
.SE
A windowing graphics device is started and a control panel
is drawn.  `locator' is called and awaits user input.
.DT
To QUIT, move the mouse pointer to the box marked quit and click the
SELECT mouse button (the left button on a right-handed three-button mouse).
.PP
To draw a circle, select the circle tool by clicking on the box containing
a circle icon.  Move the mouse pointer to the desired center of the circle
and click the SELECT button, then move to any point at the desired radius
and click SELECT again.
.PP
To draw a square, select the square tool by clicking on the box containing
a square icon.  Move the mouse pointer to the desired location of one corner
of the square and click the SELECT button, then move to the
location of the diagonally opposite corner and click SELECT again.
.PP
To draw a squiggle, select the squiggle tool by clicking on the box containing
a squiggle icon.  Move the mouse pointer to the starting point of the
squiggle and click the SELECT button.  Move the mouse pointer and click
SELECT at each desired vertex.  Click SELECT in the column of icon boxes
to end drawing the squiggle.
.PP
To print the resulting graphic, move the mouse pointer to the box marked Print.
.PP
To undo the previously drawn shape, move the mouse pointer to the box marked
Undo. 
.EX
Sdraw("motif")
# Draw some stuff, then select quit
[1] "Thanks for using S-PLUS Draw!"
.KW hplot   
.KW iplot
.KW libprogdraw
.WR
