| Allegro CL version 8.1 Object described on page has changed in 8.1. 8.0 version |
Arguments: stream x y
Draws a line on stream from its current-position to the position specified by x and y. A call to draw-to-x-y would typically be preceded by a call to move-to-x-y, or by another call to draw-to-x-y (which sets the current-position of the stream to be the position to which it drew).
draw-to-x-y is like draw-to, but does not require first creating a position object from the individual x and y coordinates.
stream is an instance of a subclass of graphical-stream
.
x is the horizontal coordinate, measured rightward in pixels in the stream's scrollable page (canvas).
y is the vertical coordinate, measured downward in pixels in the stream's scrollable page (canvas).
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.
| Allegro CL version 8.1 Object described on page has changed in 8.1. 8.0 version |