Gets the number of patches specified in the given mesh pattern. The number only includes patches which have been finished by calling cairo_mesh_pattern_end_patch(). 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.
See Implementation
Gets the number of patches specified in the given mesh pattern. The number only includes patches which have been finished by calling cairo_mesh_pattern_end_patch(). For example it will be 0 during the definition of the first patch. Since 1.12