summaryrefslogtreecommitdiffstats
path: root/src/print.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-03-20 20:12:31 +0000
committertavmjong-free <tavmjong@free.fr>2017-03-20 20:12:31 +0000
commitf47466c701b2256b2ce232f6d311d2be47136eab (patch)
tree656e3f47c008066434975b3b0ed8c20832a83116 /src/print.cpp
parentModify CanvasXYGrid to work with rotated canvas. (diff)
downloadinkscape-f47466c701b2256b2ce232f6d311d2be47136eab.tar.gz
inkscape-f47466c701b2256b2ce232f6d311d2be47136eab.zip
Implement rotation via desktop to window affine.
Remove rotation via viewbox. Still some work to do... (bzr r15603)
Diffstat (limited to 'src/print.cpp')
-rw-r--r--src/print.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/print.cpp b/src/print.cpp
index 479401995..7cd05ac93 100644
--- a/src/print.cpp
+++ b/src/print.cpp
@@ -79,7 +79,6 @@ unsigned int sp_print_text(SPPrintContext *ctx, char const *text, Geom::Point p,
void
sp_print_document(Gtk::Window& parentWindow, SPDocument *doc)
{
- doc->getRoot()->c2p = doc->getRoot()->rotation.inverse() * doc->getRoot()->c2p;
doc->ensureUpToDate();
// Build arena
@@ -89,7 +88,6 @@ sp_print_document(Gtk::Window& parentWindow, SPDocument *doc)
Inkscape::UI::Dialog::Print printop(doc,base);
Gtk::PrintOperationResult res = printop.run(Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG, parentWindow);
(void)res; // TODO handle this
- doc->getRoot()->c2p *= doc->getRoot()->rotation;
}
void sp_print_document_to_file(SPDocument *doc, gchar const *filename)