aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.c
diff options
context:
space:
mode:
authorPaul Shamray <pashamray@gmail.com>2014-07-12 11:02:11 +0300
committerPaul Shamray <pashamray@gmail.com>2014-07-12 11:02:11 +0300
commitcae7b197b38ec33b92bab5554ce2156867ae45d5 (patch)
treee9afc57d4daded1f2572ef154e400fc2e44c7db5 /src/gwin/gwin.c
parentb46e58ba6ccd80130b05dc662739cde55a8275f8 (diff)
parenta26cf85256eacf740a7fad15f91d0b2186238d1b (diff)
downloaduGFX-cae7b197b38ec33b92bab5554ce2156867ae45d5.tar.gz
uGFX-cae7b197b38ec33b92bab5554ce2156867ae45d5.tar.bz2
uGFX-cae7b197b38ec33b92bab5554ce2156867ae45d5.zip
Merged Tectu/ugfx into master
Diffstat (limited to 'src/gwin/gwin.c')
-rw-r--r--src/gwin/gwin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index e1625b13..ab2e2981 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -226,6 +226,12 @@ void gwinDrawLine(GHandle gh, coord_t x0, coord_t y0, coord_t x1, coord_t y1) {
_gwinDrawEnd(gh);
}
+void gwinDrawThickLine(GHandle gh, coord_t x0, coord_t y0, coord_t x1, coord_t y1, coord_t width, bool_t round) {
+ if (!_gwinDrawStart(gh)) return;
+ gdispGDrawThickLine(gh->display, gh->x+x0, gh->y+y0, gh->x+x1, gh->y+y1, gh->color, width, round);
+ _gwinDrawEnd(gh);
+}
+
void gwinDrawBox(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy) {
if (!_gwinDrawStart(gh)) return;
gdispGDrawBox(gh->display, gh->x+x, gh->y+y, cx, cy, gh->color);