HiDPI and zoom levels interpolation
- From: François Guerraz <kubrick fgv6 net>
- To: eog-list gnome org
- Subject: HiDPI and zoom levels interpolation
- Date: Wed, 26 Oct 2016 13:03:17 +0400
Hello,
In tracking down bug #770266, I read parts of the code.
After reading eog-scroll-view.c:1409, I wonder if the following is
correct:
if(!DOUBLE_EQUAL(priv->zoom, 1.0) && priv->force_unfiltered)
{
interp_type = CAIRO_FILTER_NEAREST;
_set_hq_redraw_timeout(view);
}
Surely "1.0" should be replaced by the inverse of the UI scale factor,
same for the hardcoded "1.0" value in is_zoomed_in().
What do you think?
François.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]