with-drawing-path

Macro

Package: common-graphics

Arguments: (window &key draw fill) &body body

Calls begin-drawing-path and end-drawing-path to collect all of the line-drawing output within body into a "path", which is then drawn and/or filled as a unit. An unwind-protect ensures that end-drawing-path is always called for each call to begin-drawing-path.

A path is useful for filling a collection of lines and curves as a unit. It is also needed in Windows 95/98 (as opposed to NT) in order to use line-end and line-join styles other than :round.

Refer begin-drawing-path and end-drawing-path for more information.

See also line-end, with-line-end, line-join, and with-line-join.

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.