~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/selection.h

  • Committer: Ted Gould
  • Date: 2008-11-21 05:24:08 UTC
  • Revision ID: ted@canonical.com-20081121052408-tilucis2pjrrpzxx
MergeĀ fromĀ fe-moved

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
    /** @brief Returns the bounding rectangle of the selection */
244
244
    NRRect *bounds(NRRect *dest, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
245
245
    /** @brief Returns the bounding rectangle of the selection */
246
 
    boost::optional<Geom::Rect> bounds(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
 
246
    Geom::OptRect bounds(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
247
247
 
248
248
    /**
249
249
     * @brief Returns the bounding rectangle of the selection
257
257
     *
258
258
     * \todo how is this different from bounds()?
259
259
     */
260
 
    boost::optional<Geom::Rect> boundsInDocument(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
 
260
    Geom::OptRect boundsInDocument(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
261
261
 
262
262
    /**
263
263
     * @brief Returns the rotation/skew center of the selection