add arc drawing and restructure draw functions

This commit is contained in:
Gabor Kiss-Vamosi
2018-06-07 15:32:19 +02:00
parent 3890e85527
commit cc1c20d6fe
14 changed files with 1007 additions and 480 deletions

View File

@@ -26,6 +26,16 @@ extern "C" {
* GLOBAL PROTOTYPES
**********************/
/**
* Draw a line
* @param p1 first point of the line
* @param p2 second point of the line
* @param maskthe line will be drawn only on this area
* @param lines_p pointer to a line style
*/
void lv_draw_line(const lv_point_t * point1, const lv_point_t * point2, const lv_area_t * mask,
const lv_style_t * style);
/**********************
* MACROS
**********************/