projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd0186
)
gfx_findRegion(): Only define when CONFIG_GFX_CLIPPING is enabled.
author
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 1 Aug 2006 12:22:00 +0000
(12:22 +0000)
committer
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 1 Aug 2006 12:22:00 +0000
(12:22 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@674
38d2e660
-2303-0410-9eaa-
f027e97ec537
gfx/line.c
patch
|
blob
|
history
diff --git
a/gfx/line.c
b/gfx/line.c
index 280ed7b370cc8c4151ce0091955501a3f96b005c..eb7deb8ec1f14727351c80d4763f6e617caecadd 100755
(executable)
--- a/
gfx/line.c
+++ b/
gfx/line.c
@@
-16,6
+16,9
@@
/*#*
*#* $Log$
+ *#* Revision 1.4 2006/08/01 12:22:00 bernie
+ *#* gfx_findRegion(): Only define when CONFIG_GFX_CLIPPING is enabled.
+ *#*
*#* Revision 1.3 2006/07/19 12:56:26 bernie
*#* Convert to new Doxygen style.
*#*
@@
-131,6
+134,8
@@
static void gfx_lineUnclipped(Bitmap *bm, coord_t x1, coord_t y1, coord_t x2, co
}
}
+#if CONFIG_GFX_CLIPPING
+
/// Helper routine for gfx_line().
static int gfx_findRegion(int x, int y, Rect *cr)
{
@@
-149,6
+154,8
@@
static int gfx_findRegion(int x, int y, Rect *cr)
return code;
}
+#endif /* CONFIG_CLIPPING */
+
/**
* Draw a sloped line segment.
*