lv_draw_blur.h

API reference for lv_draw_blur.h

Report on GitHub

Functions

lv_draw_task_get_blur_dsc

Try to get a blur draw descriptor from a draw task.

 
lv_draw_blur_dsc_t * lv_draw_task_get_blur_dsc(lv_draw_task_t *task)
Parameters
NameTypeDescription
tasklv_draw_task_t *draw task

Returns: lv_draw_blur_dsc_t * — the task's draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_BLUR

Structs

struct

lv_draw_blur_dsc_t

MemberTypeDescription
baselv_draw_dsc_base_t
blur_radiusint32_tThe intensity of blur.
corner_radiusint32_tThe corner radius of the blurred area
qualitylv_blur_quality_tSets whether to prefer speed or precision
Used by 4 functions
  • lv_obj_init_draw_blur_dsc — param draw_dsc
  • lv_draw_blur_dsc_init — param dsc
  • lv_draw_blur — param dsc
  • lv_draw_sw_blur — param dsc

Dependencies

How is this guide?

Last updated on

On this page