acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_draw_triangle.h (850B)

      1 /**
      2  * @file lv_draw_triangle.h
      3  *
      4  */
      5 
      6 #ifndef LV_DRAW_TRIANGLE_H
      7 #define LV_DRAW_TRIANGLE_H
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13 /*********************
     14  *      INCLUDES
     15  *********************/
     16 #include "lv_draw_rect.h"
     17 
     18 /*********************
     19  *      DEFINES
     20  *********************/
     21 
     22 /**********************
     23  *      TYPEDEFS
     24  **********************/
     25 
     26 /**********************
     27  * GLOBAL PROTOTYPES
     28  **********************/
     29 
     30 void lv_draw_polygon(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[],
     31                      uint16_t point_cnt);
     32 
     33 void lv_draw_triangle(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[]);
     34 /**********************
     35  *      MACROS
     36  **********************/
     37 
     38 #ifdef __cplusplus
     39 } /*extern "C"*/
     40 #endif
     41 
     42 #endif /*LV_DRAW_TRIANGLE_H*/