Language Selection

English French German Italian Portuguese Spanish

Cairo feels a lot like OpenGL

Filed under

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

IO Visor: Bringing the Network to the Linux Kernel

The IO Visor project is a Linux Foundation Collaborative Project chartered to create an open source, technical community where industry participants easily contribute to and adopt the IO Visor project's technology for an open programmable data plane for modern IO and networking applications. Read more

2015: The very best Android smartphones

2015 has been an epic year for Android smartphones, and we're closing off the year with nine awesome devices from a range of manufacturers. Read more

today's leftovers

Leftovers: Kernel

  • Linus Torvalds Announces Linux Kernel 4.4 Release Candidate 3, Everything Is Normal
    Just a few moments ago, Linus Torvalds announced the release and immediate availability for download and testing of the third RC (Release Candidate) build of the upcoming Linux 4.4 kernel.
  • A look at the kernel bisection scripts
    I've been hacking on the bisection scripts for quite some time now. Things got stalled for a bit in October/November. I introduced several bugs which caused me to lose multiple days of testing verification so I took a break and worked on other things to relieve my frustrations. They are now at the point where they could use some testing besides my own. Here's a walk through of what I have
  • Unconscious biases
    Matthew Garrett’s recent very good response to Eric Raymond’s recent post opposing inclusiveness efforts in free software reminded me of something I’ve been noticing more and more often: a very substantial proportion of the female developers I encounter working on the kernel are from non-European cultures where I (and I expect most people from western cultures) lack familiarity with the gender associations of all but the most common and familiar names.
  • Mesa 11.1.0 3D Graphics Library Release Candidate 2 Has over 60 Bugfixes
    Today, November 30, 2015, Collabora's Emil Velikov has announced the release and immediate availability for download of the second RC (Release Candidate) build of the upcoming Mesa 11.1.0 open source 3D graphics library software.