summaryrefslogtreecommitdiffstats
path: root/src/filter-chemistry.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-12-05 21:06:10 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-12-05 21:06:10 +0000
commit0369a88c8df9560258f382d225abf5df542384e0 (patch)
tree2c8a7bbd9ea8c8f4d7328e19a341e88c1971e8e9 /src/filter-chemistry.cpp
parent2geom eraser tool (diff)
downloadinkscape-0369a88c8df9560258f382d225abf5df542384e0.tar.gz
inkscape-0369a88c8df9560258f382d225abf5df542384e0.zip
2geomify filter-chemistry
(bzr r6955)
Diffstat (limited to 'src/filter-chemistry.cpp')
-rw-r--r--src/filter-chemistry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp
index 1681831c2..f6dc8d01b 100644
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
@@ -367,8 +367,8 @@ modify_filter_gaussian_blur_from_item(SPDocument *document, SPItem *item,
}
// Determine the required standard deviation value
- NR::Matrix i2d (sp_item_i2d_affine (item));
- double expansion = NR::expansion(i2d);
+ Geom::Matrix i2d (sp_item_i2d_affine (item));
+ double expansion = i2d.descrim();
double stdDeviation = radius;
if (expansion != 0)
stdDeviation /= expansion;
@@ -386,8 +386,8 @@ modify_filter_gaussian_blur_from_item(SPDocument *document, SPItem *item,
// Set the filter effects area
Inkscape::XML::Node *repr = SP_OBJECT_REPR(item->style->getFilter());
- set_filter_area(repr, radius, expansion, NR::expansionX(i2d),
- NR::expansionY(i2d), width, height);
+ set_filter_area(repr, radius, expansion, i2d.expansionX(),
+ i2d.expansionY(), width, height);
// Search for gaussian blur primitives. If found, set the stdDeviation
// of the first one and return.