lv_draw_sw_blend.h
Functions
-
void lv_draw_sw_blend(struct _lv_draw_unit_t *draw_unit, const lv_draw_sw_blend_dsc_t *dsc)
Call the blend function of the
layer
.- Parameters:
layer -- pointer to a draw context
dsc -- pointer to an initialized blend descriptor
-
struct lv_draw_sw_blend_dsc_t
Public Members
-
const lv_area_t *blend_area
The area with absolute coordinates to draw on
layer->buf
will be clipped tolayer->clip_area
-
const void *src_buf
Pointer to an image to blend. If set
fill_color
is ignored
-
uint32_t src_stride
-
lv_color_format_t src_color_format
-
lv_color_t color
Fill color
-
lv_draw_sw_mask_res_t mask_res
The result of the previous mask operation
-
lv_blend_mode_t blend_mode
E.g. LV_BLEND_MODE_ADDITIVE
-
const lv_area_t *blend_area
-
struct _lv_draw_sw_blend_fill_dsc_t
Public Members
-
void *dest_buf
-
lv_coord_t dest_w
-
lv_coord_t dest_h
-
lv_coord_t dest_stride
-
lv_coord_t mask_stride
-
lv_color_t color
-
void *dest_buf
-
struct _lv_draw_sw_blend_image_dsc_t
Public Members
-
void *dest_buf
-
lv_coord_t dest_w
-
lv_coord_t dest_h
-
lv_coord_t dest_stride
-
lv_coord_t mask_stride
-
const void *src_buf
-
lv_coord_t src_stride
-
lv_color_format_t src_color_format
-
lv_blend_mode_t blend_mode
-
void *dest_buf