mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(draw_vector): remove redundant MOVE_TO operations (#5715)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
ff2f509318
commit
4a5f88bf52
@ -523,11 +523,6 @@ void lv_vector_path_append_arc(lv_vector_path_t * path, const lv_fpoint_t * c, f
|
||||
start.x + cx, start.y + cy
|
||||
});
|
||||
}
|
||||
else {
|
||||
lv_vector_path_move_to(path, &(lv_fpoint_t) {
|
||||
start.x + cx, start.y + cy
|
||||
});
|
||||
}
|
||||
|
||||
for(int i = 0; i < n_curves; ++i) {
|
||||
float end_angle = start_angle + ((i != n_curves - 1) ? MATH_HALF_PI * sweep_sign : fract);
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Loading…
x
Reference in New Issue
Block a user