summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b53b8af)
raw | patch | inline | side by side (parent: b53b8af)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 23 Oct 2006 01:45:26 +0000 (01:45 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 23 Oct 2006 01:45:26 +0000 (01:45 +0000) |
src/dialogs/object-properties.cpp | patch | blob | history |
index 07b329fb2264ba92bf1df61624447e62e17f8137..617e8a0d10d7106d45f28bb6ee7f57663ecb4926 100644 (file)
if (radius == 0.0) {
remove_filter (item, true);
} else {
- NR::Rect const r = sp_item_bbox_desktop(item);
- double width = r.extent(NR::X);
- double height = r.extent(NR::Y);
- SPFilter *constructed = new_filter_gaussian_blur(document, radius, width, height);
+ SPFilter *constructed = new_filter_gaussian_blur_from_item(document, item, radius);
sp_style_set_property_url (SP_OBJECT(item), "filter", SP_OBJECT(constructed), false);
}
//request update