Looking into QgsMapRenderer it looks like rotation is never used during rendering. It's not passed in any way to the layers during the rendering phase.
I guess it's used (in other ways) only for canvas rendering... How should a renderer rotate contents during image rendering? Should I apply the rotation directly on the QPainter (painter.rotate())? giovanni Il 2 mar 2017 18:34, "Tom Chadwin" <tom.chad...@nnpa.org.uk> ha scritto: Is rotation now handled in QgsMapSettings instead of QgsMapRenderer? ----- Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabbl e.com/QgsMapRenderer-rotation-doesn-t-print-rotated-map- tp5310392p5310407.html Sent from the QGIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer