Skip to content
clpetersen edited this page Oct 27, 2014 · 2 revisions

Draws an invisible line from the last pen location to (x,y) in units of the x- and y-axes, and redefines the currentpoint as (x,y). To make the line visible you have to graph-stroke it.

Parameter Description
g graph context
x,y coordinate of new pen location

Example

(graph-lineto g 0.5 -0.5)
Clone this wiki locally