Package: cairo

Function cairo-mesh-pattern-get-patch-count

Lambda List

cairo-mesh-pattern-get-patch-count (pattern)

Arguments

pattern -- a cairo-pattern-t instance

Return Value

count -- an unsigned integer with the number patches
status -- :success, or :pattern-tpye-mismatch if pattern is not a mesh pattern

Details

Gets the number of patches specified in the given mesh pattern.

The number only includes patches which have been finished by calling the function cairo-mesh-pattern-end-patch. For example it will be 0 during the definition of the first patch.
 

See also

2020-12-25