FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.0
Moderately revised from 7.0.

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 cg-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.

See also erase-line.

See also cg-drawing.htm.


Copyright (c) 1998-2008, Franz Inc. Oakland, CA., USA. All rights reserved.
This page has had moderate revisions compared to the 7.0 page.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.0
Moderately revised from 7.0.