summaryrefslogtreecommitdiff
path: root/render/picture.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-08-06 23:42:10 +0000
committerKeith Packard <keithp@keithp.com>2004-08-06 23:42:10 +0000
commit196aafb19a3cfdc8c21f9bf75814cf0d84ff4446 (patch)
treeac3b5554167062f5dc2ce38aef8d7d13053fd787 /render/picture.h
parente847bcda0827ffb87689a0162c648570de6d6f69 (diff)
Add RenderAddTraps. Rewrite trapezoid rendering code.
Diffstat (limited to 'render/picture.h')
-rw-r--r--render/picture.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/picture.h b/render/picture.h
index e3e48d0d5..4ed6e6ae0 100644
--- a/render/picture.h
+++ b/render/picture.h
@@ -186,6 +186,11 @@ typedef long long int xFixed_32_32;
# endif
#endif
+typedef xFixed_32_32 xFixed_48_16;
+
+#define MAX_FIXED_48_16 ((xFixed_48_16) 0x7fffffff)
+#define MIN_FIXED_48_16 (-((xFixed_48_16) 1 << 31))
+
typedef CARD32 xFixed_1_31;
typedef CARD32 xFixed_1_16;
typedef INT32 xFixed_16_16;