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

Parameters:

unit -- pointer to the unit

void lv_vg_lite_stroke_deinit(struct lv_draw_vg_lite_unit_t *unit)

Deinitialize the stroke module

Parameters:

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

Parameters:
  • unit -- pointer to the unit

  • path -- pointer to the path

  • dsc -- pointer to the stroke descriptor

Returns:

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

Parameters:

cache_entry -- pointer to the stroke cache entry

Returns:

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

Parameters:
  • unit -- pointer to the unit

  • stroke -- pointer to the stroke