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

GType sp_pencil_context_get_type (  )

Register SPPencilContext class with Gdk and return its type number.

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

References sp_pencil_context_class_init(), and sp_pencil_context_init().

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

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index