Fix visual artifacts when panning zoomed in image on HiDPI

The size of the viewport rectangle needs to be in the device-independent pixels; otherwise there will be visual artifacts when panning a zoomed in translucent image.

Screenshot_20210130_001743

BUG: 417342 BUG: 428397 BUG: 414776

Edited by Vlad Zahorodnii

Merge request reports

Loading