MeshPattern.beginPatch

Begin a patch in a mesh pattern. After calling this function, the patch shape should be defined with cairo_mesh_pattern_move_to(), cairo_mesh_pattern_line_to() and cairo_mesh_pattern_curve_to(). After defining the patch, cairo_mesh_pattern_end_patch() must be called before using pattern as a source or mask. Note: If pattern is not a mesh pattern then pattern will be put into an error status with a status of CAIRO_STATUS_PATTERN_TYPE_MISMATCH. If pattern already has a current patch, it will be put into an error status with a status of CAIRO_STATUS_INVALID_MESH_CONSTRUCTION. Since 1.12

class MeshPattern
void
beginPatch
()

Meta