Logo Search packages:      
Sourcecode: inkscape version File versions

Geom::OptRect Inkscape::Selection::boundsInDocument ( SPItem::BBoxType  type = SPItem::APPROXIMATE_BBOX  )  const

Returns the bounding rectangle of the selection.

Todo:
how is this different from bounds()?

Definition at line 418 of file selection.cpp.

References boundsInDocument().

                                                                 {
    NRRect r;
    return to_2geom(boundsInDocument(&r, type)->upgrade());
}


Generated by  Doxygen 1.6.0   Back to index