[V9] request `lv_draw_sw_arc` support conical gradient

Request lv_draw_sw_arc support conical gradient
for arc widget can be rendered as gradient.

Thank you.

1 Like

This has been added I believe. It hasn’t been released yet.

Thank you for the suggestion.

From what I can see, in version 9.2.0 and onwards,
the conical gradient has already been integrated
into lv_draw_sw_gradiant.h/.c .

However, in lv_draw_sw_arc.h/.c,
there is still no implementation of an API
that can call lv_draw_sw_gradian for conical gradients rendering
to allow widget lv_arc to display conical gradients.

void lv_obj_set_style_bg_grad(lv_obj_t * obj, const lv_grad_dsc_t * value, lv_style_selector_t selector);

I have tried adding lv_obj_set_style_bg_grad(...) to an arc widget
for LV_PART_INDICATOR or LV_PART_MAIN,
but it seems that no conical gradient is being displayed for the arc.

I have not been able to get the gradients to work either. even doing a simple render to a canvas doesn’t work either. I have opened an issue about it but it has not been answered. Maybe @kisvegabor would be willing to look into why it is not working. It could be user error due to there not being any documentation on how to go about using it or there could be an actual problem and it doesn’t work.