cairoPatternGetColorStopCount: cairoPatternGetColorStopCount
Description
Gets the number of color stops specified in the given gradient
pattern.Usage
cairoPatternGetColorStopCount(pattern)
Value
- A list containing the following elements:
- retval[CairoStatus]
CAIRO_STATUS_SUCCESS
, or
CAIRO_STATUS_PATTERN_TYPE_MISMATCH
if pattern
is not a gradient
pattern. - count[integer] return value for the number of color stops, or
NULL