Logo Search packages:      
Sourcecode: inkscape version File versions

Geom::OptRect SPItem::getBounds ( Geom::Matrix const &  transform,
SPItem::BBoxType  type = APPROXIMATE_BBOX,
unsigned int  dkey = 0 
) const [inherited]

There is no guarantee that the return value will contain a rectangle. If this item does not have a boundingbox, it might well be empty.

Definition at line 735 of file sp-item.cpp.

References sp_item_invoke_bbox_full().

Referenced by Inkscape::UI::Dialog::TileDialog::Grid_Arrange(), SPItem::setCenter(), sp_flood_do_flood_fill(), and unclump_center().

    Geom::OptRect r;
    sp_item_invoke_bbox_full(this, r, transform, type, TRUE);
    return r;

Generated by  Doxygen 1.6.0   Back to index