Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_canvas_item_init ( SPCanvasItem item  )  [static]

Callback for initialization of SPCanvasItem.

Definition at line 173 of file sp-canvas.cpp.

References Geom::identity(), and SPCanvasItem::xform.

Referenced by sp_canvas_item_get_type().

{
    item->flags |= SP_CANVAS_ITEM_VISIBLE;
    item->xform = Geom::Matrix(Geom::identity());
}


Generated by  Doxygen 1.6.0   Back to index