|
|
On 30 Dec 2021, at 08:56, holm.haavard wrote:
>
>
> Hello,
>
> I want to implement my own version of fl_complex_polygon.
> I want to draw a concave polygon to a pixmap.
>
> To me it seems like fltk have efficient argorithms to do that. I have been looking around to find the code where this is implemented without any luck.
>
> Can any please give me a hint on how this is implemented in fltk / code ?
Håvard,
What is it you are trying to do?
You can pretty easily use the fltk drawing functions to draw concave polygons into an Fl_Image_Surface (or some other offscreen surface) and then use that for your pixmap.
I think others have understood your question as asking how the low-level drawing actually works at the OS level, but I’m not sure if that was what you were asking or not.
So... what are you trying to achieve, and we can see where we are...
Cheers.
ps: and a Happy New Year to all our readers (etc., at least for those following some variation on the Gregorian calendar scheme...)
--
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/53FF9DAA-D344-4DE5-ADBF-B4BA7AB18413%40gmail.com.
[ Direct Link to Message ] | |
|
| |