lv_vg_lite_stroke.h
API reference for lv_vg_lite_stroke.h
Summary
Functions
lv_vg_lite_stroke_get
Get the stroke cache entry
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)| Name | Type | Description |
|---|---|---|
unit | struct _lv_draw_vg_lite_unit_t * | pointer to the unit |
path | struct _lv_vg_lite_path_t * | pointer to the path |
dsc | const lv_vector_stroke_dsc_t * | pointer to the stroke descriptor |
Returns: lv_cache_entry_t * — pointer to the stroke cache entry
lv_vg_lite_stroke_get_path
Get the path of a stroke
struct _lv_vg_lite_path_t * lv_vg_lite_stroke_get_path(lv_cache_entry_t *cache_entry)| Name | Type | Description |
|---|---|---|
cache_entry | lv_cache_entry_t * | pointer to the stroke cache entry |
Returns: struct _lv_vg_lite_path_t * — pointer to the path
lv_vg_lite_stroke_init
Initialize the stroke module
void lv_vg_lite_stroke_init(struct _lv_draw_vg_lite_unit_t *unit, uint32_t cache_cnt)| Name | Type | Description |
|---|---|---|
unit | struct _lv_draw_vg_lite_unit_t * | pointer to the unit |
cache_cnt | uint32_t | maximum amount of entries in the cache at the same time |
lv_vg_lite_stroke_deinit
Deinitialize the stroke module
void lv_vg_lite_stroke_deinit(struct _lv_draw_vg_lite_unit_t *unit)| Name | Type | Description |
|---|---|---|
unit | struct _lv_draw_vg_lite_unit_t * | pointer to the unit |
lv_vg_lite_stroke_drop
Drop the stroke cache entry
void lv_vg_lite_stroke_drop(struct _lv_draw_vg_lite_unit_t *unit, lv_cache_entry_t *cache_entry)| Name | Type | Description |
|---|---|---|
unit | struct _lv_draw_vg_lite_unit_t * | pointer to the unit |
cache_entry | lv_cache_entry_t * | pointer to the stroke cache entry |
Dependencies
Last updated on