Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_offset_get_type ( void   ) 

Register SPOffset class and return its type number.

Definition at line 116 of file sp-offset.cpp.

References sp_offset_class_init(), and sp_offset_init().

{
    static GType offset_type = 0;

    if (!offset_type)
    {
        GTypeInfo offset_info = {
            sizeof (SPOffsetClass),
            NULL,             /* base_init */
            NULL,             /* base_finalize */
            (GClassInitFunc) sp_offset_class_init,
            NULL,             /* class_finalize */
            NULL,             /* class_data */
            sizeof (SPOffset),
            16,               /* n_preallocs */
            (GInstanceInitFunc) sp_offset_init,
            NULL,             /* value_table */
        };
        offset_type =
            g_type_register_static (SP_TYPE_SHAPE, "SPOffset", &offset_info,
                                    (GTypeFlags) 0);
    }
    return offset_type;
}


Generated by  Doxygen 1.6.0   Back to index