Gets the number of color stops specified in the given gradient pattern. Since 1.4
return value for the number of color stops, or NULL
CAIRO_STATUS_SUCCESS, or CAIRO_STATUS_PATTERN_TYPE_MISMATCH if pattern is not a gradient pattern.
Gets the number of color stops specified in the given gradient pattern. Since 1.4