MeshPattern.getPatchCount

Gets the number of patches specified in the given mesh pattern. The number only includes patches which have been finished by calling MeshPattern.endPatch. For example it will be 0 during the definition of the first patch. Since 1.12

class MeshPattern
getPatchCount
(
out uint count
)

Parameters

count uint

return value for the number patches, or NULL

Return Value

CAIRO_STATUS_SUCCESS, or CAIRO_STATUS_PATTERN_TYPE_MISMATCH if pattern is not a mesh pattern.