1 /**
2  * @file lv_draw_sw_blend.h
3  *
4  */
5 
6 #ifndef LV_DRAW_SW_BLEND_H
7 #define LV_DRAW_SW_BLEND_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../lv_draw_sw_mask.h"
17 #if LV_USE_DRAW_SW
18 
19 #include "../../../misc/lv_color.h"
20 #include "../../../misc/lv_area.h"
21 #include "../../../misc/lv_style.h"
22 
23 /*********************
24  *      DEFINES
25  *********************/
26 
27 /**********************
28  *      TYPEDEFS
29  **********************/
30 
31 /**********************
32  * GLOBAL PROTOTYPES
33  **********************/
34 
35 /**
36  * Call the blend function of the `layer`.
37  * @param draw_unit     pointer to a draw unit
38  * @param dsc           pointer to an initialized blend descriptor
39  */
40 void lv_draw_sw_blend(lv_draw_unit_t * draw_unit, const lv_draw_sw_blend_dsc_t * dsc);
41 
42 /**********************
43  *      MACROS
44  **********************/
45 
46 #endif /*LV_USE_DRAW_SW*/
47 
48 #ifdef __cplusplus
49 } /*extern "C"*/
50 #endif
51 
52 #endif /*LV_DRAW_SW_BLEND_H*/
53