Logo Search packages:      
Sourcecode: inkscape version File versions

NR::Maybe< NR::Rect > Inkscape::Selection::boundsInDocument ( SPItem::BBoxType  type = SPItem::APPROXIMATE_BBOX  )  const

Returns the bounding rectangle of the selection.

how is this different from bounds()?

Definition at line 358 of file selection.cpp.

References boundsInDocument().

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

Generated by  Doxygen 1.6.0   Back to index