diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-12-05 21:06:10 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-12-05 21:06:10 +0000 |
| commit | 0369a88c8df9560258f382d225abf5df542384e0 (patch) | |
| tree | 2c8a7bbd9ea8c8f4d7328e19a341e88c1971e8e9 /src/filter-chemistry.cpp | |
| parent | 2geom eraser tool (diff) | |
| download | inkscape-0369a88c8df9560258f382d225abf5df542384e0.tar.gz inkscape-0369a88c8df9560258f382d225abf5df542384e0.zip | |
2geomify filter-chemistry
(bzr r6955)
Diffstat (limited to 'src/filter-chemistry.cpp')
| -rw-r--r-- | src/filter-chemistry.cpp | 8 |
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. |
