mikroSDK Reference Manual
lv_draw_sw_blend.h
Go to the documentation of this file.
1
6#ifndef LV_DRAW_SW_BLEND_H
7#define LV_DRAW_SW_BLEND_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "../../misc/lv_color.h"
17#include "../../misc/lv_area.h"
18#include "../../misc/lv_style.h"
19#include "../lv_draw_mask.h"
20
21/*********************
22 * DEFINES
23 *********************/
24
25/**********************
26 * TYPEDEFS
27 **********************/
28
29typedef struct {
32 const lv_color_t * src_buf;
33 lv_color_t color;
34 lv_opa_t * mask_buf;
35 lv_draw_mask_res_t mask_res;
37 lv_opa_t opa;
38 lv_blend_mode_t blend_mode;
40
41struct _lv_draw_ctx_t;
42
43/**********************
44 * GLOBAL PROTOTYPES
45 **********************/
46
52void lv_draw_sw_blend(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_sw_blend_dsc_t * dsc);
53
59LV_ATTRIBUTE_FAST_MEM void lv_draw_sw_blend_basic(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_sw_blend_dsc_t * dsc);
60
61/**********************
62 * MACROS
63 **********************/
64
65#ifdef __cplusplus
66} /*extern "C"*/
67#endif
68
69#endif /*LV_DRAW_SW_BLEND_H*/
void lv_draw_sw_blend(struct _lv_draw_ctx_t *draw_ctx, const lv_draw_sw_blend_dsc_t *dsc)
LV_ATTRIBUTE_FAST_MEM void lv_draw_sw_blend_basic(struct _lv_draw_ctx_t *draw_ctx, const lv_draw_sw_blend_dsc_t *dsc)
Definition lv_draw.h:59
Definition lv_area.h:43
Definition lv_draw_sw_blend.h:29
const lv_area_t * blend_area
Definition lv_draw_sw_blend.h:30
lv_color_t color
Definition lv_draw_sw_blend.h:33
const lv_color_t * src_buf
Definition lv_draw_sw_blend.h:32
const lv_area_t * mask_area
Definition lv_draw_sw_blend.h:36
lv_draw_mask_res_t mask_res
Definition lv_draw_sw_blend.h:35
lv_blend_mode_t blend_mode
Definition lv_draw_sw_blend.h:38
lv_opa_t opa
Definition lv_draw_sw_blend.h:37
lv_opa_t * mask_buf
Definition lv_draw_sw_blend.h:34