summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-08-05 19:42:22 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-08-05 19:42:22 (GMT)
commitf6f52757684709f7b09ed68b534226ae31633bce (patch)
tree12030c6c1e242a86c5110bf30644f0393f92294c
parent2ab63a787e65742bd2ddd65633cefed51a2607a7 (diff)
downloadlibcss-f6f52757684709f7b09ed68b534226ae31633bce.tar.gz
libcss-f6f52757684709f7b09ed68b534226ae31633bce.tar.bz2
Add "96" to useful DPI values. (CSS pixels are 1/96 inch.)
-rw-r--r--include/libcss/fpmath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcss/fpmath.h b/include/libcss/fpmath.h
index 1192222..91f2b7e 100644
--- a/include/libcss/fpmath.h
+++ b/include/libcss/fpmath.h
@@ -144,6 +144,7 @@ css_float_to_fixed(const float a) {
#define F_1 0x00000400 /* 1 */
#define F_10 0x00002800 /* 10 */
#define F_72 0x00012000 /* 72 */
+#define F_96 0x00018000 /* 96 */
#define F_100 0x00019000 /* 100 */
#define F_200 0x00032000 /* 200 */
#define F_255 0x0003FC00 /* 255 */