%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 Recommended (gtk requires cairo to be built after libX11 is installed) 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) Note that the GTK, Poppler and librsvg packages are circular in that using them for test suite coverage requires installing cairo first, then installing the desired package(s), then installing cairo again. As the test suite seems to be somewhat broken it doesn't seem worth the effort. User Notes: Installation of cairo Install Cairo by running the following commands: ./configure --prefix=/usr --enable-tee --enable-gl && 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 back end you won't be able to build Firefox with . : Enable the Cairo OpenGL back end. Remove this option if you've not installed . : Enable Cairo's back end. : Prevent static libraries being built and installed. : Enable the Cairo OpenVG back end (requires installed, configured with --enable-gallium-egl and --enable-openvg). Contents Installed Programs Installed Library Installed Directories 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}