diff --git a/src/verbs.cpp b/src/verbs.cpp
index f33019f24ebe9233dd8b86c9685c85a1a2db81f0..be5acbd047b0af49760c5f28f0c07f593b5a05a2 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
switch (reinterpret_cast<std::size_t>(data)) {
case SP_VERB_OBJECT_ROTATE_90_CW:
- sp_selection_rotate_90_cw(dt);
+ sp_selection_rotate_90(dt, false);
break;
case SP_VERB_OBJECT_ROTATE_90_CCW:
- sp_selection_rotate_90_ccw(dt);
+ sp_selection_rotate_90(dt, true);
break;
case SP_VERB_OBJECT_FLATTEN:
sp_selection_remove_transform(dt);
// When working with the selector tool, flip the selection about its rotation center
// (if it is visible) or about the center of the bounding box.
} else {
- sp_selection_scale_relative(sel, center, NR::scale(-1.0, 1.0));
+ sp_selection_scale_relative(sel, center, Geom::Scale(-1.0, 1.0));
}
sp_document_done(sp_desktop_document(dt), SP_VERB_OBJECT_FLIP_HORIZONTAL,
_("Flip horizontally"));
SP_NODE_CONTEXT(ec)->shape_editor->flip(Geom::Y);
}
} else {
- sp_selection_scale_relative(sel, center, NR::scale(1.0, -1.0));
+ sp_selection_scale_relative(sel, center, Geom::Scale(1.0, -1.0));
}
sp_document_done(sp_desktop_document(dt), SP_VERB_OBJECT_FLIP_VERTICAL,
_("Flip vertically"));