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

static void sp_lineargradient_class_init ( SPLinearGradientClass klass ) [static]

SPLinearGradient vtable initialization.

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

References SPPaintServerClass::painter_free, SPLGPainter::painter_new(), SPPaintServerClass::painter_new, sp_lineargradient_build(), sp_lineargradient_set(), and sp_lineargradient_write().

Referenced by sp_lineargradient_get_type().

{
    SPObjectClass *sp_object_class = (SPObjectClass *) klass;
    SPPaintServerClass *ps_class = (SPPaintServerClass *) klass;

    lg_parent_class = (SPGradientClass*)g_type_class_ref(SP_TYPE_GRADIENT);

    sp_object_class->build = sp_lineargradient_build;
    sp_object_class->set = sp_lineargradient_set;
    sp_object_class->write = sp_lineargradient_write;

    ps_class->painter_new = SPLGPainter::painter_new;
    ps_class->painter_free = sp_lineargradient_painter_free;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index