[Qgis-developer] QgsMapRenderer rotation doesn't print rotated map

G. Allegri giohappy at gmail.com
Thu Mar 2 13:11:46 PST 2017


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.chadwin at 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 at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170302/f5c3afea/attachment.html>


More information about the Qgis-developer mailing list