meshPatternGetPatchCount

fncairo.types.Status meshPatternGetPatchCount(cairo.pattern.Pattern pattern, out uint count)

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.

Parameters

patterna #cairo_pattern_t
countreturn value for the number patches, or null

Returns