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

Elementary OS: Freya 0.3.1 is Here!

After just a few months, we’re excited to announce a major upgrade for elementary OS Freya! This new version 0.3.1 closes about 200 reports and brings new features, tons of fixes, better hardware support, visual polish, and enhanced translations. We’re very proud to share some elementary OS download stats as well! So far, elementary OS has been downloaded an estimated 5 million times. Of those downloads, we’re seeing that almost 70% are coming from Windows and OS X. So, “Welcome and congratulations!” to the over 3 million new users of an open source operating system! Read more

Announcing dex, an Open Source OpenID Connect Identity Provider from CoreOS

Today we are pleased to announce a new CoreOS open source project called dex: a standards-based identity provider and authentication solution. Just about every project requires some sort of authentication and user-management. Applications need a way for users to log-in securely from a variety of platforms such as web, mobile, CLI tools and automated systems. Developers typically use a platform-dependent solution or, just as often, find existing solutions don't quite address their needs and so they resort to writing their own solution from scratch. Read more

Samsung rolls out a round, Tizen-based Gear S2 watch

Samsung debuted its gen 2 smartwatch: a round, 11.5mm thick “Gear S2″ device with a 1.2-inch 360×360 pixel AMOLED display. As expected, it runs Tizen. Samsung’s Tizen Linux-based Gear S2 smartwatch, which was recently teased at the Galaxy Note 5 and Edge S6+ launch, features a round watch-faced, up to three days battery life, and a rotating bezel to augment the touchscreen UI. A slightly thicker 3G model with up to two hours of life supports voice calls, according to a report from The Verge. Read more

GNOME 3.17.91 released!

Hi, the second beta release of the GNOME 3.17 development cycle is finally here! With this release we are officially now in "The String Freeze" [1] (that stacks with all the current freezes): - String Freeze: no string changes may be made without confirmation from the l10n team (gnome-i18n ) and notification to both the release team and the GDP (gnome-doc-list ). Read more