summaryrefslogtreecommitdiff
path: root/libview/ev-view-presentation.h
diff options
context:
space:
mode:
authorOwen W. Taylor <[email protected]>2014-02-27 19:22:55 -0500
committerraveit65 <[email protected]>2018-03-26 15:36:10 +0200
commitc0cf2c68246f48c54c34becc8e8b0d1f4b6f128f (patch)
tree1188a6f7805c22738571ab211181c1a0508b2ef0 /libview/ev-view-presentation.h
parent14c88f266b1614474a94fb576fc50381e692342d (diff)
downloadatril-c0cf2c68246f48c54c34becc8e8b0d1f4b6f128f.tar.bz2
atril-c0cf2c68246f48c54c34becc8e8b0d1f4b6f128f.tar.xz
EvPresentationView: Render correctly on hi-dpi displays
Create rendering jobs with a scale that incorporate the scale factor of the widget, and then use cairo_surface_set_device_scale() to make the resulting surfaces render at the correct size. Handle changes to the scale factor both for the cached surfaces, and also for the monitor dimensions, which are reported in scaled coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=723431 origin commit: https://git.gnome.org/browse/evince/commit/?id=37c13b
Diffstat (limited to 'libview/ev-view-presentation.h')
0 files changed, 0 insertions, 0 deletions