diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-25 13:19:11 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-25 13:19:11 +0000 |
commit | 2939ec04dea352f959344547fa00b2a6d0d8355e (patch) | |
tree | 12008ae2842ef08bab335a4d78591b87d3aa1964 /desktop/gui.h | |
parent | 3c8f684145bf8f3a759ebe47599c370bd93a163c (diff) | |
download | netsurf-2939ec04dea352f959344547fa00b2a6d0d8355e.tar.gz netsurf-2939ec04dea352f959344547fa00b2a6d0d8355e.tar.bz2 |
More consistent conversion of lengths to pixels.
We now calculate the nearest whole number of pixels required for 1 unit, then multiply that by the requested length.
This means that 2 * len2px(1, cm) == len2px(2, cm), for example.
svn path=/trunk/netsurf/; revision=8782
Diffstat (limited to 'desktop/gui.h')
0 files changed, 0 insertions, 0 deletions