On 16.09.2008, at 16:17, Fabien Costantini wrote:

> If I understand you, it correspond more or less to a discussion we  
> had many years ago

Yes, just warming it up again a little ;-)

> What has been discussed first here was instead the possibility to  
> incorporate cairo code into fltk easily.

Yes, an Fl_Cairo_Window is good and would provide some beautiful  
drawing capabilities.

If it is equivalent to an Fl_GL_Window, you will not be able to render  
any widgets into it. You can solve that by either mixing Cairo and  
native drawing (which would make the native widgets even uglier next  
to Cairo drawings), or you provide alternative graphics calls for  
widgets that go into Cairo windows (which can be solved by providing a  
graphics class with virtual functions depending on the graphics  
interface used in the window, which is a smaller version of what I  
suggest).

My first mail was not meant as a criticism at all, more like a  
dream ;-) . I find it great that we can support Cairo and I know that  
getting rid of the "pixel" in GUI graphics is the future.


Matthias

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to