summaryrefslogtreecommitdiffstats
path: root/nuttx/graphics/nxglib
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-08-02 13:39:55 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-08-02 13:39:55 +0000
commitd2f981d504ade97a47b438ee6bea008afb85e322 (patch)
treea60175740257bb74ed1f3139a07c79a3fe5217d0 /nuttx/graphics/nxglib
parent09bf01c5ea8e899a13c5ec6a44eabba4832f16b4 (diff)
Add NX line drawing interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3836 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/graphics/nxglib')
-rw-r--r--nuttx/graphics/nxglib/nxglib_splitline.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_splitline.c b/nuttx/graphics/nxglib/nxglib_splitline.c
index d4d2899b3a..7be9cc115b 100644
--- a/nuttx/graphics/nxglib/nxglib_splitline.c
+++ b/nuttx/graphics/nxglib/nxglib_splitline.c
@@ -75,7 +75,8 @@
* In the general case, a line with width can be represented as a
* parallelogram with a triangle at the top and bottom. Triangles and
* parallelograms are both degenerate versions of a trapeziod. This
- * function breaks. This function also detects other degenerate cases:
+ * function breaks a wide line into triangles and trapezoids. This
+ * function also detects other degenerate cases:
*
* 1. If y1 == y2 then the line is horizontal and is better represented
* as a rectangle.
@@ -83,9 +84,9 @@
* as a rectangle.
* 3. If the width of the line is 1, then there are no triangles at the
* top and bottome (this may also be the case if the width is narrow
- * and the line is near vertical)
+ * and the line is near vertical).
* 4. If the line is oriented is certain angles, it may consist only of
- * the upper and lower triangles with no trapezoid inbetween. In
+ * the upper and lower triangles with no trapezoid in between. In
* this case, 3 trapezoids will be returned, but traps[1] will be
* degenerate.
*