1 /** 2 * @file lv_canvas_private.h 3 * 4 */ 5 6 #ifndef LV_CANVAS_PRIVATE_H 7 #define LV_CANVAS_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "../image/lv_image_private.h" 18 #include "lv_canvas.h" 19 20 #if LV_USE_CANVAS != 0 21 22 /********************* 23 * DEFINES 24 *********************/ 25 26 /********************** 27 * TYPEDEFS 28 **********************/ 29 30 /** Canvas data */ 31 struct _lv_canvas_t { 32 lv_image_t img; 33 lv_draw_buf_t * draw_buf; 34 lv_draw_buf_t static_buf; 35 }; 36 37 38 /********************** 39 * GLOBAL PROTOTYPES 40 **********************/ 41 42 /********************** 43 * MACROS 44 **********************/ 45 46 #endif /* LV_USE_CANVAS != 0 */ 47 48 #ifdef __cplusplus 49 } /*extern "C"*/ 50 #endif 51 52 #endif /*LV_CANVAS_PRIVATE_H*/ 53