[cairo] cl-cairo with X11 examples with mouse events handling
spitzak at gmail.com
Mon Oct 12 13:49:31 PDT 2009
This works. The code is extracted from the fltk2.0 source code so it has
been somewhat tested.
cc x11cairo.c -o x11cairo -lX11 -lcairo
It might be a good idea to add this to the Cairo examples, provided
everybody considers it ok.
Another nice idea would be to make a portable "toy" toolkit that lets
you create windows and draw with Cairo into them, and recompile on
Windows and Linux and maybe OS/X. Sort of like Glut, which I think is
part of the popularity of OpenGL.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6991 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091012/5d067876/attachment.c
More information about the cairo