get-line

Function

Package: common-graphics

Arguments: stream start-position &optional scroll-p cursor

Waits until the user presses or unpresses a mouse button, and then returns the current position of the mouse cursor in the stream coordinates of stream. During the wait, a rubber-band line is continuously drawn between start-position and the current mouse position. If scroll-p is true, the window (identified by stream) will be scrolled if the cursor moves outside it. Sets the stream cursor to cursor while running. If the cursor argument is unspecified or t, a default is used (typically the cross-hair cursor).

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.