From f6f52757684709f7b09ed68b534226ae31633bce Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 5 Aug 2015 20:42:22 +0100 Subject: Add "96" to useful DPI values. (CSS pixels are 1/96 inch.) --- include/libcss/fpmath.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- cgit v1.2.3