Been tinkering for a bit now to get a image, with rounded corners, a thin border, and a shadow drop.
Ideally in such a way that I can reuse the code, and that it can handle resizing or changing border width.
Have tried numerous options (including one from a German Lazarus forum, based on
this post) now and just cannot seem to get it right.
Yes I can get it right under very specific, one-time use only, situations.
Things just go wrong when images are resized (eg. rounded corners not fitting etc).
I tried several combinations of RoundRectAntialias and FillRoundRectAntialias, just couldn't get it consistently to be "right" when resizing (again: one time use for one specific situation works, just not in a flexible way).
I also tried TBCRoundedImage, which does the job to create a rounded corner image, just have not been able to get a shadow drop and border to work properly.
Can I ask this as a feature request?
Or am I overlooking something in the BGRAControls/BGRABitmap documentation?