summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/transformation.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-04-07 23:42:04 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-04-07 23:42:04 +0000
commit945ce419c806c73d70203dec33ececafbe108a92 (patch)
treecfcdb59bf47e9db7f9e01f7eebb59924bdeaea94 /src/ui/dialog/transformation.cpp
parentMerge from trunk (again) (diff)
parentExtensions. SVG+media fix (see Bug #400356). (diff)
downloadinkscape-945ce419c806c73d70203dec33ececafbe108a92.tar.gz
inkscape-945ce419c806c73d70203dec33ececafbe108a92.zip
Merge from trunk
(bzr r9508.1.73)
Diffstat (limited to 'src/ui/dialog/transformation.cpp')
-rw-r--r--src/ui/dialog/transformation.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/dialog/transformation.cpp b/src/ui/dialog/transformation.cpp
index 1bca2ffff..901d02240 100644
--- a/src/ui/dialog/transformation.cpp
+++ b/src/ui/dialog/transformation.cpp
@@ -103,7 +103,7 @@ Transformation::Transformation()
_scalar_transform_f ("_F:", _("Transformation matrix element F")),
_check_move_relative (_("Rela_tive move"), _("Add the specified relative displacement to the current position; otherwise, edit the current absolute position directly")),
- _check_scale_proportional (_("Scale proportionally"), _("Preserve the width/height ratio of the scaled objects")),
+ _check_scale_proportional (_("_Scale proportionally"), _("Preserve the width/height ratio of the scaled objects")),
_check_apply_separately (_("Apply to each _object separately"), _("Apply the scale/rotate/skew to each selected object separately; otherwise, transform the selection as a whole")),
_check_replace_matrix (_("Edit c_urrent matrix"), _("Edit the current transform= matrix; otherwise, post-multiply transform= by this matrix"))
@@ -538,9 +538,9 @@ Transformation::updatePageTransform(Inkscape::Selection *selection)
{
if (selection && !selection->isEmpty()) {
if (_check_replace_matrix.get_active()) {
- Geom::Matrix current (SP_ITEM(selection->itemList()->data)->transform); // take from the first item in selection
+ Geom::Affine current (SP_ITEM(selection->itemList()->data)->transform); // take from the first item in selection
- Geom::Matrix new_displayed = current;
+ Geom::Affine new_displayed = current;
_scalar_transform_a.setValue(new_displayed[0]);
_scalar_transform_b.setValue(new_displayed[1]);
@@ -840,7 +840,7 @@ Transformation::applyPageTransform(Inkscape::Selection *selection)
double e = _scalar_transform_e.getValue();
double f = _scalar_transform_f.getValue();
- Geom::Matrix displayed(a, b, c, d, e, f);
+ Geom::Affine displayed(a, b, c, d, e, f);
if (_check_replace_matrix.get_active()) {
for (GSList const *l = selection->itemList(); l != NULL; l = l->next) {
@@ -988,10 +988,10 @@ Transformation::onReplaceMatrixToggled()
double e = _scalar_transform_e.getValue();
double f = _scalar_transform_f.getValue();
- Geom::Matrix displayed (a, b, c, d, e, f);
- Geom::Matrix current = SP_ITEM(selection->itemList()->data)->transform; // take from the first item in selection
+ Geom::Affine displayed (a, b, c, d, e, f);
+ Geom::Affine current = SP_ITEM(selection->itemList()->data)->transform; // take from the first item in selection
- Geom::Matrix new_displayed;
+ Geom::Affine new_displayed;
if (_check_replace_matrix.get_active()) {
new_displayed = current;
} else {