9 Commits

Author SHA1 Message Date
Nyall Dawson
38ef62e1cc Fix incorrect annotation scaling when exporting layouts
Previously, annotation size and position always used pixel units. This
did not work well when exporting layouts, resulting in tiny annotations
(it also caused issues when moving projects between hidpi/non hidpi
displays).

Instead, use millimeters for annotation size and position so that the
appearance is consistent across displays and works correctly in layout
exports.

Add lots of unit tests covering this.

Fixes #18373
2019-04-30 15:21:39 +10:00
nirvn
ca305bb5b0 Turn antialising render flag on when appropriate in QgsRenderContext::fromQPainter() 2019-04-24 10:06:33 +07:00
Denis Rouzaud
cc6e2d46e7 update test masks 2018-02-26 17:26:39 -09:00
Alessandro Pasotti
a117b6b9ea [layout][server] Update tests and mask images 2018-01-10 21:25:24 +01:00
Alessandro Pasotti
eedb7c795f [layout][server] composer -> layout in getprint 2018-01-10 18:03:08 +01:00
Blottiere Paul
e29f605bb3 Add some masks and set a higher threshold for comparing images 2017-11-22 07:46:24 +00:00
Blottiere Paul
24f38aba12 Update some images/masks 2017-11-08 08:44:37 +00:00
rldhont
4ab6a06527 [Server] Test update masks WMS_GetMap_Annotations and WMS_GetMap_Highlight 2017-06-05 19:21:34 +02:00
Blottiere Paul
e663d192e3 Add/update tests 2017-05-30 13:37:35 +02:00