Jonathon Jongsma has just updated the DrawingArea chapter of the gtkmm book to describe use of Cairo via cairomm, as used by gtkmm 2.9 (only in CVS for now), with several examples. This is good stuff.
Jonathon Jongsma has just updated the DrawingArea chapter of the gtkmm book to describe use of Cairo via cairomm, as used by gtkmm 2.9 (only in CVS for now), with several examples. This is good stuff.
By continuing to use the site, you agree to the use of cookies. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.
Interesting: this is the second C++ wrapper for Cairo that I’ve heard of. (The first was being done by the Mozilla folk.)
I have one too :D, but my clock was made with pygtk, and pycairo, but i made ir with the old API of cairo, because with de new API it dosn’t work ok.
Bye.
http://eric.blackxog.com/files/python-cairo/
http://eric.blackxog.com/files/python-cairo/ClockGladeApp-new_API/
Thanks Murray. Glad to help out. I didn’t realize that mozilla had a C++ wrapper for Cairo. Apparently it’s called Thebes (http://lxr.mozilla.org/seamonkey/source/gfx/thebes/) and isn’t (yet?) offered as a standalone library. Just from a quick look at the Mozilla wrapper, I think I prefer the cairomm approach, though.