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

## draw-line

Arguments: stream from to

Draws a line on stream from from to to (from and to must be position objects, as created by make-position). stream should be a `graphical-stream`.

If from and to are the same and line-width is 1, nothing will be drawn. You can draw a single pixel using the pixel function.

To use individual coordinates rather than creating position objects, see draw-line-x-y.

See also erase-line.

See also cg-drawing.htm.

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