Package: cairo

Function cairo:mesh-pattern-move-to

Lambda List

cairo:mesh-pattern-move-to (pattern x y)

Arguments

pattern -- a cairo:pattern-t instance
x -- a number coerced to a double float for the x coordinate of the new position
y -- a number coerced to a double float for the y coordinate of the new position

Details

Define the first point of the current patch in a mesh pattern. After this call the current point will be (x,y).

Notes

If the pattern argument is not a mesh pattern then pattern will be put into an error status with a :pattern-type-mismatch value. If pattern has no current patch or the current patch already has at least one side, pattern will be put into an error status with a :invalid-mesh-construction value.
 

See also

2025-1-19