|
|
Yes I'm a little confused about the "Region" API. Does anyone have an example of how to use this?
On Tuesday, July 20, 2021 at 6:05:30 AM UTC-4 Manolo wrote:
FLTK provides only ways to clip to a rectangle. It's also possible to clip to a region, but FLTK contains no means to create a region. The region is expected to have been created for FLTK by the OS.
Fl_Window::shape() method controls the shape of the window itself, thus it prevents any drawing outside the shape region.
--
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/8902357a-bf22-41ab-ac54-db2bd8ecfe76n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |