Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

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