![]() |
![]() |
![]() |
libccc Reference Manual | ![]() |
---|---|---|---|---|
#include <ccc.h> typedef CcRadialGradient; typedef CcRadialGradientClass; CcBrush* cc_radial_gradient_new (gdouble x, gdouble y, gdouble radius); GType cc_radial_gradient_get_type (void);
CcBrush* cc_radial_gradient_new (gdouble x, gdouble y, gdouble radius);
Create a new radial gradient.
x
, y
and radius
are given in a relation to the item's size and position:
eg. 0.5 means either "in the middle" (for x
and y
) or "half the size" (for
radius
).
x : |
the x position of the gradient's center |
y : |
the y position of the gradient's center |
radius : |
the radius of the gradient's circle |
Returns : | a new CcRadialGradient. |