Port components/UserDelegate.qml RHI
Open, Needs TriagePublic

//draw a circle with an antialiased border
   //innerRadius = size of the inner circle with contents
   //outerRadius = size of the border
   //blend = area to blend between two colours
   //all sizes are normalised so 0.5 == half the width of the texture

can we port to kirigami's class?

Looks doable. As I understand it it's basically drawing a texture in a circle with some smoothing for antialiasing. Kirigami's ShadowedTexture/ShadowedImage can do all this. It would also remove the need for the extra underlay rectangle since it already uses the fill colour underneath the image.