Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cairoPatternGetLinearPoints

cairoPatternGetLinearPoints


Description

Gets the gradient endpoints for a linear gradient.

Usage

cairoPatternGetLinearPoints(pattern)

Arguments

Details

Since 1.4

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 NULL

y0

[numeric] return value for the y coordinate of the first point, or NULL

x1

[numeric] return value for the x coordinate of the second point, or NULL

y1

[numeric] return value for the y coordinate of the second point, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.