Home
last modified time | relevance | path

Searched refs:vg_path (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/src/draw/vg_lite/
Dlv_draw_vg_lite_vector.c157 vg_lite_path_t * vg_path = lv_vg_lite_path_get_path(stroke_path); in task_draw_cb() local
160 LV_VG_LITE_CHECK_ERROR(vg_lite_set_path_type(vg_path, path_type)); in task_draw_cb()
161 vg_path->stroke_color = lv_color32_to_vg(dsc->stroke_dsc.color, dsc->stroke_dsc.opa); in task_draw_cb()
162 vg_path->quality = ori_vg_path->quality; in task_draw_cb()
163 … lv_memcpy(vg_path->bounding_box, ori_vg_path->bounding_box, sizeof(ori_vg_path->bounding_box)); in task_draw_cb()
175 vg_lite_path_t * vg_path = lv_vg_lite_path_get_path(lv_vg_path); in task_draw_cb() local
176 LV_VG_LITE_ASSERT_PATH(vg_path); in task_draw_cb()
214 vg_path, in task_draw_cb()
242 vg_path, in task_draw_cb()
275 vg_path, in task_draw_cb()
[all …]
Dlv_vg_lite_stroke.c142 vg_lite_path_t * vg_path = lv_vg_lite_path_get_path(path); in lv_vg_lite_stroke_get() local
144 if(vg_path->format != VG_LITE_FP32) { in lv_vg_lite_stroke_get()
235 vg_lite_path_t * vg_path = lv_vg_lite_path_get_path(item->vg.path); in stroke_create_cb() local
236 LV_VG_LITE_CHECK_ERROR(vg_lite_set_path_type(vg_path, VG_LITE_DRAW_STROKE_PATH)); in stroke_create_cb()
239 vg_path, in stroke_create_cb()
256 const vg_lite_pointer * ori_path = vg_path->path; in stroke_create_cb()
257 const vg_lite_uint32_t ori_path_length = vg_path->path_length; in stroke_create_cb()
260 error = vg_lite_update_stroke(vg_path); in stroke_create_cb()
264 … LV_ASSERT_MSG(vg_path->path_length == ori_path_length, "vg_path->path_length should not change"); in stroke_create_cb()
265 LV_ASSERT_MSG(vg_path->path == ori_path, "vg_path->path should not change"); in stroke_create_cb()