MacroPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version