Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

draw-to-x-y

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-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 9.0. This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version