Component Paint an image within a circle lazarus / 39-Graphics ---------------------------------------------------------------------- adilsonpazzini · 2018-07-02 19:55 Good lazarus group I'm trying to create a component that shows an image inside a circle, as in several examples on the Internet Today. But I'm not able to fix the image at the right point, because it streches the image, but depending on where I position the component it paints the image in the wrong position, someone would help me to see where I'm going wrong? Thank you very much in advance If anyone has something to add I thank you. Adilson Pazzini . ---------------------------------------------------------------------- adilsonpazzini · 2018-07-02 19:56 follows images of the component running . ---------------------------------------------------------------------- adilsonpazzini · 2018-07-02 20:03 To test, just throw the component in the form and include an image by the Picture property, but when moving the component locally, it is lost when painting the image, as images of the previous message. ---------------------------------------------------------------------- lainz · 2018-07-08 16:54 I think you can use BGRABitmap resample and masks to make it: http://wiki.freepascal.org/BGRABitmap_tutorial_5 Or textures http://wiki.freepascal.org/BGRABitmap_tutorial_8