Skip to main content
Senior
June 5, 2025
Solved

Widget Avatars

  • June 5, 2025
  • 1 reply
  • 251 views

I am looking into making an Avatar widget (image inside a non rectangular container).

I looked at some of the the lcd.blitcopy, canvas, circles and painters and getting a bit confused where you could apply a mask to an image to only render a section of it.

I am sure this would be a great addition to the shared widget.

Right now, I am looking into circles and their painters to figure out the paint() and drawn() operations.

Best answer by Marc_LM

I posted[1] what I was able to get in over in the custom widgets topic.

[1] https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/share-your-custom-widgets/m-p/812188/highlight/true#M43754 

1 reply

Marc_LMAuthorBest answer
Senior
June 12, 2025