aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-10-24 02:39:21 +0200
committerJoel Bodenmann <joel@unormal.org>2012-10-24 02:39:21 +0200
commit5ac69126489aaa36182f79ea184fc771d0ac5d27 (patch)
tree76d1d63df5bffcab59fa00a9568aa9ad60f76fa6 /src/gdisp.c
parentd1f970217374c5f0363ebbfa6bd6551094a5735d (diff)
downloaduGFX-5ac69126489aaa36182f79ea184fc771d0ac5d27.tar.gz
uGFX-5ac69126489aaa36182f79ea184fc771d0ac5d27.tar.bz2
uGFX-5ac69126489aaa36182f79ea184fc771d0ac5d27.zip
first graph implementation
Diffstat (limited to 'src/gdisp.c')
-rw-r--r--src/gdisp.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/gdisp.c b/src/gdisp.c
index a63b3db5..83ba8972 100644
--- a/src/gdisp.c
+++ b/src/gdisp.c
@@ -258,9 +258,9 @@
* @brief Draw a line.
* @pre The GDISP unit must be in powerOn or powerSleep mode.
*
- * @param[in] x0,y0 The start position
- * @param[in] x1,y1 The end position
- * @param[in] color The color to use
+ * @param[in] x0,y0 The start position
+ * @param[in] x1,y1 The end position
+ * @param[in] color The color to use
*
* @api
*/
@@ -280,6 +280,18 @@
chMBPost(&gdispMailbox, (msg_t)p, TIME_INFINITE);
}
#endif
+
+ /**
+ * @brief Draw a dashed line.
+ * @pre The GDISP unit must be in powerOn or powerSleep mode.
+ *
+ * @param[in] x0,y0 The start position
+ * @param[in] x1,y1 The end position
+ * @param[in] length The length of the dash
+ * @param[in] color The color of the dashed line
+ *
+ * @api
+ */
#if GDISP_NEED_MULTITHREAD || defined(__DOXYGEN__)
/**