|
|
On 7/27/21 6:02 PM, Albrecht Schlosser wrote:
On
7/27/21 10:46 PM Ian MacArthur wrote:
On 27 Jul 2021, at 21:27, Webb Hinton
wrote:
Or consider the following UI designs:
Rounded avatar pictures:
<roundedavatars.PNG>
Rounded images in a grid:
<masonary-images.jpg>
You could also draw the image first in a rectangular shape and the
rounded corners (in the background color) "over" the image.
Yep, that's actually what I just ended up implementing
as a widget called RoundedImageDisplay.
Added it to my cheat page just now:
http://seriss.com/people/erco/fltk/#RoundedCorners
The result is antialiased corners, and in the demo you can
interactively change the corner radius
with a slider, the result being:
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/e128408e-990b-090a-3e3f-7acea8a352df%40seriss.com.
[ Direct Link to Message ] | |
|
| |