summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-25 13:19:11 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-25 13:19:11 +0000
commit2939ec04dea352f959344547fa00b2a6d0d8355e (patch)
tree12008ae2842ef08bab335a4d78591b87d3aa1964 /render
parent3c8f684145bf8f3a759ebe47599c370bd93a163c (diff)
downloadnetsurf-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 'render')
0 files changed, 0 insertions, 0 deletions