Package: cairo

Function cairo-mesh-pattern-begin-patch

Lambda List

cairo-mesh-pattern-begin-patch (pattern)

Arguments

pattern -- a cairo-pattern-t instance

Details

Begin a patch in a mesh pattern.

After calling this function, the patch shape should be defined with the functions 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 :pattern-type-mismatch. If pattern already has a current patch, it will be put into an error status with a status of :invalid-mesh-contstruction.
 

See also

2020-12-12