|
|
I want to implement my own version of fl_complex_polygon.
I want to draw a concave polygon to a pixmap.
Why do you want to reinvent the wheel?
To me it seems like fltk have efficient argorithms
to do that.
Yes.
I have been looking around to find the code where
this is implemented without any luck.
Note that FLTK code is provided under its copyright, you are
generally not allowed to *copy* the code to your own source files.
Can any please give me a hint on how this is
implemented in fltk / code ?
This code is platform dependent and you can find large portions of
it in the platform specific graphics driver code, e.g.
src/Fl_Graphics_Driver.cxx (platform independent parts) and
src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx (Windows
driver(s)) but there are more files involved which I can't enumerate
here.
If you still can't find what you're looking for you can run example
code with a debugger and follow the calling sequence ...
--
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/a4868383-7b32-3df6-ef96-a5d27f9bab57%40online.de.
[ Direct Link to Message ] | |
|
| |