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

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 740 of file sp-item.cpp.

References sp_item_invoke_bbox_full().

Referenced by fit_canvas_to_drawing(), Inkscape::UI::Dialog::TileDialog::Grid_Arrange(), Inkscape::LivePathEffect::GroupBBoxEffect::original_bbox(), Inkscape::LivePathEffect::LPERoughHatches::resetDefaults(), Inkscape::LivePathEffect::LPEExtrude::resetDefaults(), 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;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index