diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2007-04-08 21:07:29 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2007-04-08 21:07:29 +0000 |
| commit | 8417209743e184c46d7ec845928bfbee5f8d8d77 (patch) | |
| tree | 9c9e0738f2cc3c3d7b4c8007dafd5e3f98750a8f /src/sp-item.h | |
| parent | Corrected jumping and alignment of coordinates in status. (diff) | |
| download | inkscape-8417209743e184c46d7ec845928bfbee5f8d8d77.tar.gz inkscape-8417209743e184c46d7ec845928bfbee5f8d8d77.zip | |
Changes to the selector tool, e.g. option to choose either APPROXIMATE_BBOX or GEOMETRIC_BBOX
(bzr r2833)
Diffstat (limited to 'src/sp-item.h')
| -rw-r--r-- | src/sp-item.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-item.h b/src/sp-item.h index 9359763b5..89a74ceaf 100644 --- a/src/sp-item.h +++ b/src/sp-item.h @@ -207,7 +207,7 @@ struct SPItemClass { /* Methods */ -void sp_item_invoke_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const clear); +void sp_item_invoke_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const clear, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX); void sp_item_invoke_bbox_full(SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const flags, unsigned const clear); unsigned sp_item_pos_in_parent(SPItem *item); @@ -239,8 +239,8 @@ gint sp_item_event (SPItem *item, SPEvent *event); NRArenaItem *sp_item_get_arenaitem(SPItem *item, unsigned int key); -void sp_item_bbox_desktop(SPItem *item, NRRect *bbox) __attribute__ ((deprecated)); -NR::Maybe<NR::Rect> sp_item_bbox_desktop(SPItem *item); +void sp_item_bbox_desktop(SPItem *item, NRRect *bbox, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) __attribute__ ((deprecated)); +NR::Maybe<NR::Rect> sp_item_bbox_desktop(SPItem *item, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX); NR::Matrix i2anc_affine(SPObject const *item, SPObject const *ancestor); NR::Matrix i2i_affine(SPObject const *src, SPObject const *dest); |
