summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 22a386a)
raw | patch | inline | side by side (parent: 22a386a)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 5 Dec 2008 21:06:10 +0000 (21:06 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 5 Dec 2008 21:06:10 +0000 (21:06 +0000) |
src/filter-chemistry.cpp | patch | blob | history |
index 1681831c2bacf85555dc6ba2b37c8e7d188eb31c..f6dc8d01b647122da2d6c0210acce42b00a9a383 100644 (file)
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
}
// 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;
// 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.