1 2 /** 3 * @file lv_demo_vector_graphic.h 4 * 5 */ 6 7 #ifndef LV_DEMO_VECTOR_GRAPHIC_H 8 #define LV_DEMO_VECTOR_GRAPHIC_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /********************* 15 * INCLUDES 16 *********************/ 17 #include "../lv_demos.h" 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 /********************** 28 * GLOBAL PROTOTYPES 29 **********************/ 30 31 /** 32 * Draw many vector based shapes and paths to canvas. 33 * It requires a large amount of RAM for the buffer of the canvas 34 */ 35 void lv_demo_vector_graphic_buffered(void); 36 37 /** 38 * Draw many vector based shapes and paths to canvas directly to the screen. 39 * It's slower as the graphics needs to rendered on each rendering cycle. 40 */ 41 void lv_demo_vector_graphic_not_buffered(void); 42 43 /********************** 44 * MACROS 45 **********************/ 46 47 #ifdef __cplusplus 48 } /* extern "C" */ 49 #endif 50 51 #endif /*LV_DEMO_VECTOR_GRAPHIC_H*/ 52