graph lineto - part-cw/lambdanative GitHub Wiki
(graph-lineto g x y)
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)