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

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