Arc :The arc is convex at both ends

Description

The arc is convex at both ends

What MCU/Processor/Board and compiler are you using?

What LVGL version are you using?

lvgl 9.2

What do you want to achieve?

What have you tried so far?

NXP smartwatch seem ok.(lvgl 8.3)
My demo is base in lvgl9.2.
The arc is convex at both ends

Code to reproduce

lv_obj_t* h_arc = lv_arc_create(parent);  // 创建湿度圆弧
    lv_arc_set_mode(h_arc, LV_ARC_MODE_NORMAL);
    lv_arc_set_range(h_arc, 0, 100); // 设置圆弧 数值范围
    lv_arc_set_value(h_arc, 50); 	 // 设置圆弧 当前值

    lv_obj_clear_flag(h_arc, LV_OBJ_FLAG_CLICKABLE);  // 禁止点击事件
    lv_obj_remove_style(h_arc, NULL, LV_PART_KNOB); // 移除圆弧手柄
    
    lv_arc_set_rotation(h_arc, 0);
    lv_obj_set_size(h_arc,   SLIDE_VALUE_D, SLIDE_VALUE_D);  // 设置圆大小
    lv_obj_set_pos(h_arc, (LCD_W-SLIDE_VALUE_D)/2, (LCD_W-SLIDE_VALUE_D)/2);// 设置圆位置

    //lv_arc_set_angles(h_arc, 360-15, 15); 	// 设置前景弧角度范围
    lv_arc_set_bg_angles(h_arc, 360-15, 15); // 设置背景弧角度范围

    //Write style for home_digital_arc_flash, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(h_arc, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(h_arc, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_arc_width(h_arc, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_arc_opa(h_arc, 255*3/10, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_arc_color(h_arc, lv_color_hex(0xC8A46C), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(h_arc, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(h_arc, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(h_arc, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(h_arc, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(h_arc, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(h_arc, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write style for home_digital_arc_flash, Part: LV_PART_INDICATOR, State: LV_STATE_DEFAULT.
    lv_obj_set_style_arc_width(h_arc, 6, LV_PART_INDICATOR|LV_STATE_DEFAULT);
    lv_obj_set_style_arc_opa(h_arc, 255, LV_PART_INDICATOR|LV_STATE_DEFAULT);
    lv_obj_set_style_arc_color(h_arc, lv_color_hex(0xC8A46C), LV_PART_INDICATOR|LV_STATE_DEFAULT);

    //Write style for home_digital_arc_flash, Part: LV_PART_KNOB, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(h_arc, 0, LV_PART_KNOB|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_all(h_arc, 0, LV_PART_KNOB|LV_STATE_DEFAULT);

Screenshot and/or video