aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/sys_defs.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-15 12:41:40 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-15 12:41:40 +1000
commit0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0 (patch)
treead1e2e9942db826dfaaf681c8a0cef48a87eabf2 /src/gwin/sys_defs.h
parent92d972cfd83b67961dc63d60c5317ec2651eb256 (diff)
parentdb4719bd1d3cef2597f1bf443f8d82a27f233eae (diff)
downloaduGFX-0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0.tar.gz
uGFX-0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0.tar.bz2
uGFX-0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0.zip
Merge branch 'master' into newmouse
Diffstat (limited to 'src/gwin/sys_defs.h')
-rw-r--r--src/gwin/sys_defs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gwin/sys_defs.h b/src/gwin/sys_defs.h
index 830827b2..4b103d11 100644
--- a/src/gwin/sys_defs.h
+++ b/src/gwin/sys_defs.h
@@ -892,6 +892,23 @@ extern "C" {
* @api
*/
void gwinFillConvexPoly(GHandle gh, coord_t tx, coord_t ty, const point *pntarray, unsigned cnt);
+
+ /**
+ * @brief Draw a thick line in the window
+ * @details The line thickness is specified in pixels. The line ends can
+ * be selected to be either flat or round.
+ * @note Uses gdispGFillConvexPoly() internally to perform the drawing.
+ * @note Uses the current foreground color to draw the line
+ *
+ * @param[in] gh The window handle
+ * @param[in] x0,y0 The start position
+ * @param[in] x1,y1 The end position
+ * @param[in] width The width of the line
+ * @param[in] round Use round ends for the line
+ *
+ * @api
+ */
+ void gwinDrawThickLine(GHandle gh, coord_t x0, coord_t y0, coord_t x1, coord_t y1, coord_t width, bool_t round);
#endif
/*-------------------------------------------------