|
|
Am I right that the only kind of non-rectangular clipping available in FLTK is FL:Window's set_shape() method?
On Friday, July 16, 2021 at 11:08:08 PM UTC-4 Webb Hinton wrote:
Why not expose fl_rounded_box's rbox(int fill, int x, int y, int h) function in the draw module? Seems like a handy function to have, though I think it would be improved by adding parameter for setting the radius of the corners.
Additionally, what are options does FLTK provide for clipping contents to a rounded frame? I know we can clip to a rectangular area, but could we use fl_clip_region() for this as well? The later seems like overkill.
--
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/ca11e68a-eed3-4769-9a76-07289d1b30f2n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |