Updated fonts
[hackover2013-badge-firmware.git] / drivers / lcd / tft / drawing.h
index 7632392..d443bfd 100644 (file)
@@ -68,6 +68,14 @@ typedef enum
   DRAW_ROUNDEDCORNERS_RIGHT   = 5
 } drawRoundedCorners_t;
 
+typedef enum
+{
+  DRAW_CORNERPOSITION_TOPLEFT     = 0,
+  DRAW_CORNERPOSITION_TOPRIGHT    = 1,
+  DRAW_CORNERPOSITION_BOTTOMLEFT  = 2,
+  DRAW_CORNERPOSITION_BOTTOMRIGHT = 3
+} drawCornerPosition_t;
+
 typedef enum
 {
   DRAW_DIRECTION_LEFT,
@@ -83,6 +91,7 @@ void      drawLine             ( uint16_t x0, uint16_t y0, uint16_t x1, uint16_t
 void      drawLineDotted       ( uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t space, uint16_t solid, uint16_t color );
 void      drawCircle           ( uint16_t xCenter, uint16_t yCenter, uint16_t radius, uint16_t color );
 void      drawCircleFilled     ( uint16_t xCenter, uint16_t yCenter, uint16_t radius, uint16_t color );
+void      drawCornerFilled     (uint16_t xCenter, uint16_t yCenter, uint16_t radius, drawCornerPosition_t position, uint16_t color);
 void      drawArrow            ( uint16_t x, uint16_t y, uint16_t size, drawDirection_t, uint16_t color );
 void      drawRectangle        ( uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color );
 void      drawRectangleFilled  ( uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color );
This page took 0.027245 seconds and 4 git commands to generate.