Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Object described on page has changed in 8.1.
8.0 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-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. The object described on this page has been modified in the 8.1 release; see the Release Notes.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Object described on page has changed in 8.1.
8.0 version