Package: cairo

Function cairo-mesh-pattern-line-to

Lambda List

cairo-mesh-pattern-line-to (pattern x y)

Arguments

pattern -- a cairo-pattern-t instance
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 current patch from the current point to position (x, y) in pattern-space coordinates.

If there is no current point before the call to the function cairo-mesh-pattern-line-to this function will behave as
(cairo-mesh-pattern-move-to pattern x y)  
After this call the current point will be (x, y).

Note

If pattern is not a mesh pattern then pattern will be put into an error status with a status of :pattern-type-mismatch. If pattern has no current patch or the current patch already has 4 sides, pattern will be put into an error status with a status of :invalid-mesh-construction.
 

See also

2020-12-13