into an error status with a status of [cairo.types.Status.PatternTypeMismatch]. 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 [cairo.types.Status.InvalidMeshConstruction].
Parameters
pattern | a #cairo_pattern_t |
x1 | the X coordinate of the first control point |
y1 | the Y coordinate of the first control point |
x2 | the X coordinate of the second control point |
y2 | the Y coordinate of the second control point |
x3 | the X coordinate of the end of the curve |
y3 | the Y coordinate of the end of the curve |