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.).
This package is known to build and work properly using an LFS-7.5
libpng-1.6.9, GLib-2.38.2 and
Fontconfig-2.11.0 and Xorg Libraries
Cogl-1.16.2, DirectFB, GTK-Doc-1.19,
libdrm-2.4.52, LZO-2.06, MesaLib-10.0.3, Qt-4.8.5, Skia and Valgrind
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cairo
Installation of Cairo
Install Cairo by running the
./configure --prefix=/usr --disable-static &&
This package does not have a working testsuite.
Now, as the
switch prevents installation of static versions of the libraries.
--enable-xlib-xcb: This switch enables
experimental Xlib/XCB functions used by some window managers.
--enable-gl: This switch enables
Cairo's experimental OpenGL surface which is required for
Wayland compositor and some other
packages that are not part of BLFS.
--enable-tee: This switch enables
experimental tee surface backend which is required if using
system-installed Cairo with
--enable-gtk-doc: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
cairo-sphinx and cairo-trace
libcairo.so, libcairo-gobject.so and
/usr/include/cairo, /usr/lib/cairo and
generates a log of all calls made by an application to
contains the 2D graphics functions required for rendering
to the various output targets.
contains functions that integrate Cairo with GLib-2.38.2's GObject type system.
contains the script interpreter functions for executing
and manipulating Cairo
Last updated on 2014-02-18 09:38:44 -0800