cairoPatternGetLinearPoints: cairoPatternGetLinearPoints
Description
Gets the gradient endpoints for a linear gradient.Usage
cairoPatternGetLinearPoints(pattern)
Value
A list containing the following elements:retval[CairoStatus] CAIRO_STATUS_SUCCESS, or
CAIRO_STATUS_PATTERN_TYPE_MISMATCH if pattern is not a linear
gradient pattern.x0[numeric] return value for the x coordinate of the first point, or NULLy0[numeric] return value for the y coordinate of the first point, or NULLx1[numeric] return value for the x coordinate of the second point, or NULLy1[numeric] return value for the y coordinate of the second point, or NULL