Package: cairo

Function cairo-mesh-pattern-get-path

Lambda List

cairo-mesh-pattern-get-path (pattern patch-num)

Arguments

pattern -- a cairo-pattern-t instance
patch-num -- an unsigned integer with the patch number to return data for

Return Value

The path defining the patch, or a path with status :invalid-index if patch-num or point-num is not valid for pattern. If pattern is not a mesh pattern, a path with status :pattern-type-mismatch is returned.

Details

Gets path defining the patch patch-num for a mesh pattern.

patch-num can range 0 to 1 less than the number returned by the function cairo-mesh-pattern-get-patch-count.
 

See also

2020-12-13