meshPatternSetControlPoint

Set an internal control point of the current patch.

Valid values for point_num are from 0 to 3 and identify the control points as explained in cairo.global.patternCreateMesh.

Note: If pattern is not a mesh pattern then pattern will be put into an error status with a status of cairo.types.Status.PatternTypeMismatch. If point_num is not valid, pattern will be put into an error status with a status of cairo.types.Status.InvalidIndex. If pattern has no current patch, pattern will be put into an error status with a status of cairo.types.Status.InvalidMeshConstruction.

void
meshPatternSetControlPoint

Parameters

pattern cairo.pattern.Pattern

a #cairo_pattern_t

pointNum uint

the control point to set the position for

x double

the X coordinate of the control point

y double

the Y coordinate of the control point