drawable-stream

Function

Package: common-graphics

Arguments: drawable

Returns the stream that an application should currently draw on for a drawable. If the use-bitmap-stream property of drawable is true, drawable-stream will return the bitmap-stream of drawable. Otherwise, drawable-stream will return the visible window of the drawable control.

Note that if drawable is not currently on a dialog and use-bitmap-stream is false, then nil is returned. This may cause problems since the appropriate stream is passed automatically to the drawing functions.

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.