lv_draw_sw_blend.h

Typedefs

typedef void (*lv_draw_sw_blend_handler_t)(lv_draw_task_t *t, const lv_draw_sw_blend_dsc_t *dsc)

Custom draw function for SW rendering.

Param t:

pointer to a draw task

Param dsc:

pointer to an initialized blend descriptor

Functions

void lv_draw_sw_blend(lv_draw_task_t *t, const lv_draw_sw_blend_dsc_t *dsc)

Call the blend function of the layer.

Parameters:
  • draw_unit – pointer to a draw unit

  • dsc – pointer to an initialized blend descriptor

struct lv_draw_sw_custom_blend_handler_t

Public Members

lv_color_format_t dest_cf
lv_draw_sw_blend_handler_t handler