lv_draw_sw_blend_private.h
API reference for lv_draw_sw_blend_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_draw_sw_blend.h
Summary
Structs
struct
_lv_draw_sw_blend_dsc_t
| Member | Type | Description |
|---|---|---|
blend_area | const lv_area_t * | The area with absolute coordinates to draw on layer->buf will be clipped to layer->clip_area |
src_buf | const void * | Pointer to an image to blend. If set fill_color is ignored |
src_stride | uint32_t | |
src_color_format | lv_color_format_t | |
src_area | const lv_area_t * | |
opa | lv_opa_t | The overall opacity |
color | lv_color_t | Fill color |
mask_buf | const lv_opa_t * | NULL if ignored, or an alpha mask to apply on blend_area |
mask_res | lv_draw_sw_mask_res_t | The result of the previous mask operation |
mask_area | const lv_area_t * | The area of mask_buf with absolute coordinates |
mask_stride | int32_t | |
blend_mode | lv_blend_mode_t | E.g. LV_BLEND_MODE_ADDITIVE |
struct
_lv_draw_sw_blend_fill_dsc_t
| Member | Type | Description |
|---|---|---|
dest_buf | void * | |
dest_w | int32_t | |
dest_h | int32_t | |
dest_stride | int32_t | |
mask_buf | const lv_opa_t * | |
mask_stride | int32_t | |
color | lv_color_t | |
opa | lv_opa_t | |
relative_area | lv_area_t |
struct
_lv_draw_sw_blend_image_dsc_t
| Member | Type | Description |
|---|---|---|
dest_buf | void * | |
dest_w | int32_t | |
dest_h | int32_t | |
dest_stride | int32_t | |
mask_buf | const lv_opa_t * | |
mask_stride | int32_t | |
src_buf | const void * | |
src_stride | int32_t | |
src_color_format | lv_color_format_t | |
opa | lv_opa_t | |
blend_mode | lv_blend_mode_t | |
relative_area | lv_area_t | The blend area relative to the layer's buffer area. |
src_area | lv_area_t | The original src area. |
Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_draw_buf.hlv_draw_sw_mask.hlv_ext_data.hlv_flex.hlv_font.hlv_grad.hlv_grid.hlv_image_dsc.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_mem.hlv_palette.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on