Package: cairo

Function cairo-line-to

Lambda List

cairo-line-to (cr x y)

Arguments

cr -- a cairo-t context
x -- a double float x coordinate of the end of the new line
y -- a double float y coordinate of the end of the new line

Details

Adds a line to the path from the current point to position (x, y) in user-space coordinates. After this call the current point will be (x, y).

If there is no current point before the call to the cairo-line-to function this function will behave as:
(cairo-move-to cr x y)  
 

See also

2021-12-12