Name
cpattern:GetRadialCircles -- get radial circles
Synopsis
status, x0, y0, r0, x1, y1, r1 = cpattern:GetRadialCircles()
Function
Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius.

This function also returns #CAIRO_STATUS_SUCCESS, or #CAIRO_STATUS_PATTERN_TYPE_MISMATCH if the pattern is not a radial gradient pattern.

Inputs
none

Results
x
#CAIRO_STATUS_SUCCESS or #CAIRO_STATUS_PATTERN_TYPE_MISMATCH
x0
x coordinate of the center of the first circle
y0
y coordinate of the center of the first circle
r0
radius of the first circle
x1
x coordinate of the center of the second circle
y1
y coordinate of the center of the second circle
r1
radius of the second circle

Show TOC