lv_vg_lite_stroke.h

Functions

void lv_vg_lite_stroke_init(struct lv_draw_vg_lite_unit_t *unit, uint32_t cache_cnt)

Initialize the stroke module

参数:

unit -- pointer to the unit

void lv_vg_lite_stroke_deinit(struct lv_draw_vg_lite_unit_t *unit)

Deinitialize the stroke module

参数:

unit -- pointer to the unit

lv_cache_entry_t *lv_vg_lite_stroke_get(struct lv_draw_vg_lite_unit_t *unit, struct lv_vg_lite_path_t *path, const lv_vector_stroke_dsc_t *dsc)

Get the stroke cache entry

参数:
  • unit -- pointer to the unit

  • path -- pointer to the path

  • dsc -- pointer to the stroke descriptor

返回:

pointer to the stroke cache entry

struct lv_vg_lite_path_t *lv_vg_lite_stroke_get_path(lv_cache_entry_t *cache_entry)

Get the path of a stroke

参数:

cache_entry -- pointer to the stroke cache entry

返回:

pointer to the path

void lv_vg_lite_stroke_drop(struct lv_draw_vg_lite_unit_t *unit, lv_cache_entry_t *cache_entry)

Drop the stroke cache entry

参数:
  • unit -- pointer to the unit

  • stroke -- pointer to the stroke