cairoPatternGetRadialCircles {RGtk2}R Documentation

cairoPatternGetRadialCircles

Description

Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius.

Usage

cairoPatternGetRadialCircles(pattern)

Arguments

pattern

[CairoPattern] a CairoPattern

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 radial gradient pattern.

x0

[numeric] return value for the x coordinate of the center of the first circle, or NULL

y0

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

r0

[numeric] return value for the radius of the first circle, or NULL

x1

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

y1

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

r1

[numeric] return value for the radius of the second circle, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]