Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_spiral_get_type ( void   ) 

Register SPSpiral class and return its type number.

Definition at line 52 of file sp-spiral.cpp.

References sp_spiral_class_init(), and sp_spiral_init().

{
      static GType spiral_type = 0;

      if (!spiral_type) {
            GTypeInfo spiral_info = {
                  sizeof (SPSpiralClass),
                  NULL, /* base_init */
                  NULL, /* base_finalize */
                  (GClassInitFunc) sp_spiral_class_init,
                  NULL, /* class_finalize */
                  NULL, /* class_data */
                  sizeof (SPSpiral),
                  16,   /* n_preallocs */
                  (GInstanceInitFunc) sp_spiral_init,
                  NULL, /* value_table */
            };
            spiral_type = g_type_register_static (SP_TYPE_SHAPE, "SPSpiral", &spiral_info, (GTypeFlags)0);
      }
      return spiral_type;
}


Generated by  Doxygen 1.6.0   Back to index