Package: cairo

Function cairo-pattern-get-linear-points

Lambda List

cairo-pattern-get-linear-points (pattern)

Arguments

pattern -- a cairo-pattern-t instance

Return Value

x0 -- a double float x coordinate of the first point
y0 -- a double float y coordinate of the first point
y0 -- a double float x coordinate of the second point
y1 -- a double float y coordinate of the second point
status -- :success, or :pattern-type-mismatch if pattern is not a linear gradient pattern

Details

Gets the gradient endpoints for a linear gradient.
 

See also

2020-12-25