Method Cairo.MeshPattern()->begin_patch()
- Method
begin_patch
void
begin_patch()- Description
Begin a patch in a mesh pattern.
After calling this function, the patch shape should be defined with move_to(), line_to() and curve_to().
After defining the patch, end_patch() must be called before using pattern as a source or mask.
- Note
If pattern already has a current patch, it will be put into an error status with a status of STATUS_INVALID_MESH_CONSTRUCTION.