Intent is to take a base object with a circle radius
And render another object as a child of that widget
This all works fundamentally okay, but the child object, when placed over a corner of the parent circle, will render outside of the circular area.
How can I prevent obj2 from rendering in the original rectangular bounding box, and instead only render inside of the circular object?
Changing opacity of different parts of parent object, removing border
lv_obj_t obj = lv_obj_create(lv_scr_act()); lv_obj_set_style_radius(obj, LV_RADIUS_CIRCLE, LV_PART_MAIN); lv_obj_t obj2 = lv_obj_create(obj);
In this example, it is instead a parent object with a child image. The image overhangs off the circular parent, but can clearly see where the image meets the rectangular border – how can I force a child to only render within the circular space of the parent?