Hi Jens and thanks for the tip, I'll see with Joshua if we can add it easily.
I just tried quickly yesterday on elementpicturefactory text and it work.
--- sources/factory/elementpicturefactory.cpp
+++ sources/factory/elementpicturefactory.cpp
@@ -517,7 +517,7 @@ void ElementPictureFactory::parseText(const QDomElement &dom, QPainter &painter,
text_document.setDefaultFont(font_);
text_document.setPlainText(dom.attribute("text"));
- painter.setTransform(QTransform(), false);
+ painter.setTransform(QTransform::fromScale(-1, 1));
painter.translate(dom.attribute("x").toDouble(), dom.attribute("y").toDouble());
painter.rotate(dom.attribute("rotation", "0").toDouble());
Even if it wouldn't be perfect (as I expect letters and numbers to be mirrored as well) it would be very useful.
Maybe painter.setTransform(QTransform(), false); for texts.
For compile QET on Windows see these:
https://qelectrotech.org/forum/viewtopic.php?id=1432
https://qelectrotech.org/wiki_new/doc/qt_pour_windows
https://qelectrotech.org/wiki_new/winstatic/winstatic