Macro | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## with-drawing-path

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.

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

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

### GTK Note

Drawing paths are not implemented on GTK. If you need to draw a connected series of lines with the proper line-join effect, you may need to call draw-polyline instead of multiple calls to draw-line, though the line-join setting may have no effect on some machines in any case.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version