index of the stop to return data for
return value for the offset of the stop, or NULL
return value for red component of color, or NULL
return value for green component of color, or NULL
return value for blue component of color, or NULL
return value for alpha component of color, or NULL
CAIRO_STATUS_SUCCESS, or CAIRO_STATUS_INVALID_INDEX if index is not valid for the given pattern. If the pattern is not a gradient pattern, CAIRO_STATUS_PATTERN_TYPE_MISMATCH is returned.
Gets the color and offset information at the given index for a gradient pattern. Values of index are 0 to 1 less than the number returned by cairo_pattern_get_color_stop_count(). Since 1.4