Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_pencil_context_get_type (  ) 

Register SPPencilContext class with Gdk and return its type number.

Definition at line 69 of file pencil-context.cpp.

References sp_pencil_context_class_init(), and sp_pencil_context_init().

{
    static GType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPPencilContextClass),
            NULL, NULL,
            (GClassInitFunc) sp_pencil_context_class_init,
            NULL, NULL,
            sizeof(SPPencilContext),
            4,
            (GInstanceInitFunc) sp_pencil_context_init,
            NULL,   /* value_table */
        };
        type = g_type_register_static(SP_TYPE_DRAW_CONTEXT, "SPPencilContext", &info, (GTypeFlags)0);
    }
    return type;
}


Generated by  Doxygen 1.6.0   Back to index