Excellent!!! thank you Wysota and Lykurg for the precious help.
Last consideration to close the topic: considering this code is part of a large painter block of code and there is also others global painter trasformation I not want to loose or change
( painter.setWorldTransform(QTransform,true);
Is correct to write the follow code to restore painter state, without resetting al the painter trasformation matri,x doing another trasform after the text drawing?
p.scale(-1,1);
p.drawText(...);
p.scale(-1,1); //reset the trasform whith another contrary trasform
QPainter p(this)
p.scale(-1,1);
p.drawText(...);
p.scale(-1,1); //reset the trasform whith another contrary trasform
To copy to clipboard, switch view to plain text mode
Bookmarks