diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-02-08 14:32:18 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2016-02-09 18:04:12 +0000 |
commit | f5b9cdbb0844dd149d9b945b28da42d56977f844 (patch) | |
tree | cff6c1a60965eca3ee57681490915ded36478948 /tests/auto/gui/painting/qpainter/tst_qpainter.cpp | |
parent | 4c1b6cdd292bc571a4104fff8b5b54d47970cca1 (diff) |
HighDPI: Extend exposed region to avoid artifacts by rounding.
Introduce a special scaling function fromNativeLocalExposedRegion()
for exposed regions that uses the floor of the top left point
and the ceiling of the bottom right point similarly to how it
was done in the XCB plugin in 5.5.
Task-number: QTBUG-46615
Task-number: QTBUG-50463
Change-Id: I95e4a571b814357c014605ed79e374a821fa155b
Reviewed-by: Błażej Szczygieł <spaz16@wp.pl>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'tests/auto/gui/painting/qpainter/tst_qpainter.cpp')
0 files changed, 0 insertions, 0 deletions