Commit 50df8ad8 authored by David Hurka's avatar David Hurka 🐬 Committed by Albert Astals Cid

Fix misplacement of some non-PDF annotations on hiDPI

PagePainter::drawShapeOnImage() and drawEllipseOnImage() didn’t respect the image’s device pixel ratio.

Steps to reproduce:
* Set your screen scale to e. g. 1.25.
* Open e. g. a .txt document.
* Draw e. g. an arrow annotation or a text markup annotation.
parent 3ed69d2f
Pipeline #28919 passed with stage
in 14 minutes and 2 seconds