diff options
| author | Jasper van de Gronde <jasper.vandegronde@gmail.com> | 2008-03-21 19:53:10 +0000 |
|---|---|---|
| committer | jaspervdg <jaspervdg@users.sourceforge.net> | 2008-03-21 19:53:10 +0000 |
| commit | 40a243a7a5e67d4f09a82bfbee5babe40ec924b7 (patch) | |
| tree | 5f43830b59a1c448f880a39cd2d23b8cc1058d97 /src/gradient-chemistry.cpp | |
| parent | Start working toward multiple inheritance (diff) | |
| download | inkscape-40a243a7a5e67d4f09a82bfbee5babe40ec924b7.tar.gz inkscape-40a243a7a5e67d4f09a82bfbee5babe40ec924b7.zip | |
No more NRMatrix or NRPoint.
(bzr r5149)
Diffstat (limited to 'src/gradient-chemistry.cpp')
| -rw-r--r-- | src/gradient-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-chemistry.cpp b/src/gradient-chemistry.cpp index 70bc835bc..057877daf 100644 --- a/src/gradient-chemistry.cpp +++ b/src/gradient-chemistry.cpp @@ -367,7 +367,7 @@ sp_gradient_convert_to_userspace(SPGradient *gr, SPItem *item, gchar const *prop * transformation from bounding box space to user space. */ NR::Matrix skew = bbox2user; - double exp = skew.expansion(); + double exp = NR::expansion(skew); skew[0] /= exp; skew[1] /= exp; skew[2] /= exp; @@ -398,7 +398,7 @@ sp_gradient_convert_to_userspace(SPGradient *gr, SPItem *item, gchar const *prop // converted points in userspace coords NR::Point c_u = c_b * point_convert; NR::Point f_u = f_b * point_convert; - double r_u = r_b * point_convert.expansion(); + double r_u = r_b * NR::expansion(point_convert); sp_repr_set_svg_double(repr, "cx", c_u[NR::X]); sp_repr_set_svg_double(repr, "cy", c_u[NR::Y]); |
