|
|
On Tue, 20 Jul 2021, 09:47 Webb Hinton wrote:
Am I right that the only kind of non-rectangular clipping available in FLTK is FL:Window's set_shape() method?
Well, I guess that somewhat depends on what you're trying to achieve (and possibly on what you mean by rectangular too!)
For clipping within a window it may be possible to composite a series of overlapping rectangles to produce more complex outlines, for example (though not exactly smoothed curves!)
Also, many surfaces will allow you to define a stencil to draw through, which will clip to an arbitrary shape.
What is it that you are trying to achieve? -- Ian From my Fairphone FP3
--
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/CAGFM6dawWGUn%2BZ6vddMPyYHZ1uKugQcYpXrM%3DMOc-FU2xCsTLg%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |