diff options
author | Carlos Garcia Campos <[email protected]> | 2013-06-27 14:54:50 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-09-06 18:25:34 +0200 |
commit | 0ee1072cd93969ce37071942bfe3241ad3e63910 (patch) | |
tree | 34b6efbd81358eab9c3a8d60a8f0db6073c48c6c /libdocument/ev-selection.h | |
parent | 88d064b76c75c2d33b744c9d18e094dcb47d7c97 (diff) | |
download | atril-0ee1072cd93969ce37071942bfe3241ad3e63910.tar.bz2 atril-0ee1072cd93969ce37071942bfe3241ad3e63910.tar.xz |
libview: Use a larger damage area to redraw selections
Depending on the zoom level the area actually drawn by cairo can be a
bit larger than the selected region due to rounding errors or pixel
alignment. We use the selected region to build the damage area to
invalidate when drawing selections which in many cases is not large
enough. This causes that sometimes when removing a selections some small
rectangles keep drawn because they are not redrawn. To avoid this we
grow the damage area computed from selected regions.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=a497fb4
Diffstat (limited to 'libdocument/ev-selection.h')
0 files changed, 0 insertions, 0 deletions