1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(vg_lite): fix clip corner image display error (#5517)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech 2024-01-29 15:04:34 +08:00 committed by GitHub
parent 265ae0f56a
commit 019aa8d561
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View File

@ -178,6 +178,8 @@ void lv_draw_vg_lite_arc(lv_draw_unit_t * draw_unit, const lv_draw_arc_dsc_t * d
if(lv_vg_lite_buffer_open_image(&src_buf, &decoder_dsc, dsc->img_src, false)) { if(lv_vg_lite_buffer_open_image(&src_buf, &decoder_dsc, dsc->img_src, false)) {
vg_lite_matrix_t path_matrix; vg_lite_matrix_t path_matrix;
vg_lite_identity(&path_matrix); vg_lite_identity(&path_matrix);
lv_vg_lite_matrix_multiply(&path_matrix, &u->global_matrix);
LV_PROFILER_BEGIN_TAG("vg_lite_draw_pattern"); LV_PROFILER_BEGIN_TAG("vg_lite_draw_pattern");
LV_VG_LITE_CHECK_ERROR(vg_lite_draw_pattern( LV_VG_LITE_CHECK_ERROR(vg_lite_draw_pattern(
&u->target_buffer, &u->target_buffer,

View File

@ -137,6 +137,7 @@ void lv_draw_vg_lite_img(lv_draw_unit_t * draw_unit, const lv_draw_image_dsc_t *
vg_lite_matrix_t path_matrix; vg_lite_matrix_t path_matrix;
vg_lite_identity(&path_matrix); vg_lite_identity(&path_matrix);
lv_vg_lite_matrix_multiply(&path_matrix, &u->global_matrix);
LV_PROFILER_BEGIN_TAG("vg_lite_draw_pattern"); LV_PROFILER_BEGIN_TAG("vg_lite_draw_pattern");
LV_VG_LITE_CHECK_ERROR(vg_lite_draw_pattern( LV_VG_LITE_CHECK_ERROR(vg_lite_draw_pattern(

View File

@ -197,6 +197,7 @@ static void draw_letter_bitmap(lv_draw_vg_lite_unit_t * u, const lv_draw_glyph_d
vg_lite_matrix_t path_matrix; vg_lite_matrix_t path_matrix;
vg_lite_identity(&path_matrix); vg_lite_identity(&path_matrix);
lv_vg_lite_matrix_multiply(&path_matrix, &u->global_matrix);
LV_PROFILER_BEGIN_TAG("vg_lite_draw_pattern"); LV_PROFILER_BEGIN_TAG("vg_lite_draw_pattern");
LV_VG_LITE_CHECK_ERROR(vg_lite_draw_pattern( LV_VG_LITE_CHECK_ERROR(vg_lite_draw_pattern(