1 #ifndef SP_RADIAL_GRADIENT_FNS_H
2 #define SP_RADIAL_GRADIENT_FNS_H
4 /** \file
5 * Macros and fn definitions related to radial gradients.
6 */
8 #include <glib-object.h>
10 namespace Inkscape {
11 namespace XML {
12 class Node;
13 }
14 }
16 class SPRadialGradient;
18 #define SP_TYPE_RADIALGRADIENT (sp_radialgradient_get_type())
19 #define SP_RADIALGRADIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_RADIALGRADIENT, SPRadialGradient))
20 #define SP_RADIALGRADIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_RADIALGRADIENT, SPRadialGradientClass))
21 #define SP_IS_RADIALGRADIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_RADIALGRADIENT))
22 #define SP_IS_RADIALGRADIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_RADIALGRADIENT))
25 GType sp_radialgradient_get_type();
27 void sp_radialgradient_set_position(SPRadialGradient *rg, gdouble cx, gdouble cy, gdouble fx, gdouble fy, gdouble r);
29 #endif /* !SP_RADIAL_GRADIENT_FNS_H */
31 /*
32 Local Variables:
33 mode:c++
34 c-file-style:"stroustrup"
35 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
36 indent-tabs-mode:nil
37 fill-column:99
38 End:
39 */
40 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :