summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5cb9a42)
raw | patch | inline | side by side (parent: 5cb9a42)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 23 Mar 2008 04:11:25 +0000 (04:11 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 23 Mar 2008 04:11:25 +0000 (04:11 +0000) |
src/ui/widget/object-composite-settings.cpp | patch | blob | history |
diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp
index 3ab1255a20cc3376b03c967bba2b82c54fc71745..1e277fa0dcc6cfdfbde4395aa1453bcb2d8f23c6 100644 (file)
#include "inkscape-stock.h"
#include "selection.h"
#include "style.h"
+#include "sp-item.h"
#include "svg/css-ostringstream.h"
#include "verbs.h"
#include "xml/repr.h"
// FIXME: fix for GTK breakage, see comment in SelectedStyle::on_opacity_changed; here it results in crash 1580903
sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(desktop), 0);
- NR::Maybe<NR::Rect> bbox = _subject->getBounds();
+ NR::Maybe<NR::Rect> bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX);
double radius;
if (bbox) {
double perimeter = bbox->extent(NR::X) + bbox->extent(NR::Y);
case QUERY_STYLE_SINGLE:
case QUERY_STYLE_MULTIPLE_AVERAGED:
case QUERY_STYLE_MULTIPLE_SAME:
- NR::Maybe<NR::Rect> bbox = _subject->getBounds();
+ NR::Maybe<NR::Rect> bbox = _subject->getBounds(SPItem::GEOMETRIC_BBOX);
if (bbox) {
double perimeter = bbox->extent(NR::X) + bbox->extent(NR::Y);
_fe_cb.set_blur_sensitive(true);