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