%general-entities; ]> $LastChangedBy$ $Date$ cairo-&cairo-version; cairo Introduction to cairo Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, image buffers, PostScript, PDF and SVG. Experimental backends include OpenGL Quartz and XCB file output. cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (e.g., through the X Render Extension). The Cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in Cairo include stroking and filling cubic Bézier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.). &lfs71_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &cairo-md5sum; Download size: &cairo-size; Estimated disk space required: &cairo-buildsize; Estimated build time: &cairo-time; cairo Dependencies Required , , , and Optional , DirectFB, , , , , Skia and Valgrind Optional (to provide extended test suite coverage) (to test the postscript backend), (for testing the PDF backend), (for testing the PDF backend), libspectre (to test the PDF backend) and (for testing the SVG backend) There is a reciprocal dependency with cairo and libdrm. Best practice is to install cairo without the OpenGL backend, and return to re-install cairo after the full Xorg installation has been completed. Also note that the GTK, Poppler and librsvg packages are also reciprocal. As the test suite is currently unreliable, it is best to simply skip it at this time. User Notes: Installation of cairo Install Cairo by running the following commands: ./configure --prefix=/usr \ --enable-tee --enable-xcb && make To test the results, issue: make -k check. Note that the tests take a long time to run and many of them fail for unknown reasons. Now, as the root user: make install Command Explanations : This is used by Firefox. If you don't enable the Cairo's tee surface backend you won't be able to build Firefox with . : Enable Cairo's libdrm backend. : Enable Cairo's OpenGL backend. : Enable Cairo's libxcb backend. : Enable the Cairo OpenVG backend (requires installed, configured with --enable-gallium-egl and --enable-openvg). : Prevent static libraries being built and installed. Contents Installed Programs Installed Library Installed Directories cairo-sphinx and cairo-trace libcairo.{so,a}, libcairo-gobject.{so,a} and libcairo-script-interpreter.{so,a} /usr/include/cairo, /usr/lib/cairo and /usr/share/gtk-doc/html/cairo Short Descriptions cairo-trace generates a log of all calls made by an application to Cairo. cairo-trace libcairo.{so,a} contains the 2D graphics functions required for rendering to the various output targets. libcairo.{so,a} libcairo-gobject.{so,a} contains functions that integrate Cairo with 's GObject type system. libcairo-gobject.{so,a} libcairo-script-interpreter.{so,a} contains the script interpreter functions for executing and manipulating Cairo execution traces. libcairo-script-interpreter.{so,a}