meshPatternGetPatchCount

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

The number only includes patches which have been finished by calling cairo.global.meshPatternEndPatch. For example it will be 0 during the definition of the first patch.

meshPatternGetPatchCount

Parameters

pattern cairo.pattern.Pattern

a #cairo_pattern_t

count uint

return value for the number patches, or null

Return Value

Type: cairo.types.Status