summaryrefslogtreecommitdiff
path: root/css/css.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2006-03-09 19:04:13 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2006-03-09 19:04:13 +0000
commit05b214a5d5f8ce4a3058f178e3cf9a5a9b56c770 (patch)
tree30c6fd8bbc8e73387d07a9021875843d2c1e52f7 /css/css.h
parent4b3d4f97a8955ee72077623662ab4b5e045f6647 (diff)
downloadnetsurf-05b214a5d5f8ce4a3058f178e3cf9a5a9b56c770.tar.gz
netsurf-05b214a5d5f8ce4a3058f178e3cf9a5a9b56c770.tar.bz2
[project @ 2006-03-09 19:04:13 by dsilvers]
css.[ch]: Add css_len2pt to convert a CSS length to points for use on systems which actually recognise that DPI might not be 90 all the time. svn path=/import/netsurf/; revision=2114
Diffstat (limited to 'css/css.h')
-rw-r--r--css/css.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/css/css.h b/css/css.h
index b420c11f6..a5bd81acf 100644
--- a/css/css.h
+++ b/css/css.h
@@ -656,6 +656,8 @@ void css_dump_stylesheet(const struct css_stylesheet * stylesheet);
float css_len2px(const struct css_length *length,
const struct css_style *style);
+float css_len2pt(const struct css_length *length,
+ const struct css_style *style);
struct css_border *css_eyecatching_border(struct css_border *test1,
struct css_style *style1, struct css_border *test2,
struct css_style *style2);