Language Selection

English French German Italian Portuguese Spanish

Cairo feels a lot like OpenGL

Filed under
Software

I got a simple spike test done for PyCairo usage. Mostly this is just me figuring out how PyCairo works and how it and PyGTK interact. No big deal right now, it takes turtle commands from the turtle object's queue (produced by Python source running in a background thread) and translates them into simple Cairo operations. Does scaling and centering so that the resulting image is always on-screen, but that's about it.

Cairo is lot closer to Turtle graphics than PyGTK. It basically feels like a cut-down version of OpenGL... which makes me want to reach for OpenGL when I'm working with it. Cairo also feels a lot like Turtle graphics Smile , simplistic state, not much feedback support. Should see whether GooCanvas or the like allows for higher-level operations (e.g. easy drag and drop, selections, that kind of thing) without making it hard to get back to the base level.

More Here




More in Tux Machines

How I landed a job in open source

I have been working in the computer business for over 40 years, but the best years have been the last 17 or so working with Linux and open source software. I got into the computer business unintentionally and kind of sideways, but that is a whole other story. I'll tell you about how I got into open source and Linux semi-intentionally and also kind of sideways. Read more

Camera App for Ubuntu Touch Gets Major Improvements – Gallery

Ubuntu Touch is almost ready, but some of the core apps are still updated. The camera app recently received an upgrade and numerous features have been added. Read more

Google Fixed GHOST Exploit in Chrome OS in 2014 and Didn't Tell Anyone

Details about a GLIBC vulnerability were published a couple of days ago by a company called Qualys, and the distributions using it have already received patches. Now, it seems that Google knew about this problem, patched it in ChromeOS a year ago, and forgot to say anything to anyone. Read more

ESA implements open source based private cloud infrastructure

The European Space Agency (ESA) has implemented a private cloud infrastructure to offer IT services to its user communities. The datacentre in Frascati, Italy, is already operational, while a second datacentre in Darmstadt, Germany, has just been completed. Read more