Name
cpattern:MoveTo -- move to point
Synopsis
cpattern:MoveTo(x, y)
Function
Define the first point of the current patch in a mesh pattern.

After this call the current point will be (x, y).

Note: If the pattern is not a mesh pattern then it will be put into an error status with a status of #CAIRO_STATUS_PATTERN_TYPE_MISMATCH. If the pattern has no current patch or the current patch already has 4 sides, it will be put into an error status with a status of #CAIRO_STATUS_INVALID_MESH_CONSTRUCTION.

Inputs
x
the X coordinate of the new position
y
the Y coordinate of the new position

Show TOC