diff dmlib.h @ 262:9d015d32841a

Clean up the line clipping a bit, in preparation for fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 10 Oct 2012 12:11:20 +0300
parents a2abd0b991b6
children 51ba74f7668c
line wrap: on
line diff
--- a/dmlib.h	Wed Oct 10 01:03:15 2012 +0300
+++ b/dmlib.h	Wed Oct 10 12:11:20 2012 +0300
@@ -273,6 +273,14 @@
 #define DM_HEADER
 #include "dmlinefunc.h"
 
+enum
+{
+    CLIP_TOP     = 1,
+    CLIP_BOTTOM  = 2,
+    CLIP_RIGHT   = 4,
+    CLIP_LEFT    = 8
+};
+
 #define DM_CLIP_FUNC dmClipLineCoordsInt
 #define DM_COORD_TYPE int
 #include "dmlineclip.h"