Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

GType sp_radialgradient_get_type (  ) 

Register SPRadialGradient class and return its type.

Definition at line 1610 of file sp-gradient.cpp.

References sp_radialgradient_class_init(), and sp_radialgradient_init().

{
    static GType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPRadialGradientClass),
            NULL, NULL,
            (GClassInitFunc) sp_radialgradient_class_init,
            NULL, NULL,
            sizeof(SPRadialGradient),
            16,
            (GInstanceInitFunc) sp_radialgradient_init,
            NULL,   /* value_table */
        };
        type = g_type_register_static(SP_TYPE_GRADIENT, "SPRadialGradient", &info, (GTypeFlags)0);
    }
    return type;
}


Generated by  Doxygen 1.6.0   Back to index