Cairo

From OLPC
Revision as of 21:19, 4 October 2007 by Walter (talk | contribs) (Reverted edits by 66.139.76.17 (Talk); changed back to last version by Xavi)
Jump to navigation Jump to search
Wikipedia
Cairo is a free software graphics library with multiple backends that provides a vector based device-independent API for software developers. Currently, it has backends that support output to the X Window System, Win32 GDI, Quartz, the BeOS API, OpenGL contexts (via glitz), local image buffers, PNG files, PDF, PostScript and SVG files. cairo is designed to use hardware acceleration when available. Although written in C, there are bindings for using the cairo graphics library from many other programming languages, including C++, C#, Common Lisp, Haskell, Java, Python, Perl, Ruby, Smalltalk, Factor and several others.

This article contains content from a Wikipedia article which is licensed under the GNU Free Documentation License.


Website: http://cairographics.org/

Cairo is a 2D graphics library that provides a unified imaging model for screen and printer. It takes advantage of hardware acceleration where available. Currently, the GTK+ GUI uses Cairo as its backend. In addition there is a lot of work being done to create a fully compliant SVG renderer on top of Cairo.

There is a low level Python module that allows applications programmers to use the Cairo canvas to full effect. This is in addition to the GTK+ API which is just a layer over top of Cairo.

The pycairo source can be helpful. Eg, http://webcvs.cairographics.org/pycairo/cairo/pycairo-context.c?view=markup

Merge-arrows.gif
It has been suggested that this article or section be merged with places that link here should by all rights use wikipedia links. (Discuss)