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
return value for the number patches, or NULL
CAIRO_STATUS_SUCCESS, or CAIRO_STATUS_PATTERN_TYPE_MISMATCH if pattern is not a mesh pattern.
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