lv_draw_sw_blend_private.h

API reference for lv_draw_sw_blend_private.h

Report on GitHub
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

MemberTypeDescription
blend_areaconst lv_area_t *The area with absolute coordinates to draw on layer->buf will be clipped to layer->clip_area
src_bufconst void *Pointer to an image to blend. If set fill_color is ignored
src_strideuint32_t
src_color_formatlv_color_format_t
src_areaconst lv_area_t *
opalv_opa_tThe overall opacity
colorlv_color_tFill color
mask_bufconst lv_opa_t *NULL if ignored, or an alpha mask to apply on blend_area
mask_reslv_draw_sw_mask_res_tThe result of the previous mask operation
mask_areaconst lv_area_t *The area of mask_buf with absolute coordinates
mask_strideint32_t
blend_modelv_blend_mode_tE.g. LV_BLEND_MODE_ADDITIVE
struct

_lv_draw_sw_blend_fill_dsc_t

MemberTypeDescription
dest_bufvoid *
dest_wint32_t
dest_hint32_t
dest_strideint32_t
mask_bufconst lv_opa_t *
mask_strideint32_t
colorlv_color_t
opalv_opa_t
relative_arealv_area_t
struct

_lv_draw_sw_blend_image_dsc_t

MemberTypeDescription
dest_bufvoid *
dest_wint32_t
dest_hint32_t
dest_strideint32_t
mask_bufconst lv_opa_t *
mask_strideint32_t
src_bufconst void *
src_strideint32_t
src_color_formatlv_color_format_t
opalv_opa_t
blend_modelv_blend_mode_t
relative_arealv_area_tThe blend area relative to the layer's buffer area.
src_arealv_area_tThe original src area.

Dependencies

How is this guide?

Last updated on

On this page