cairo-1.2.4

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 (through glitz), 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.).

Package Information

  • Download (HTTP): http://cairographics.org/releases/cairo-1.2.4.tar.gz

  • Download (FTP):

  • Download MD5 sum: 1222b2bfdf113e2c92f66b3389659f2d

  • Download size: 2.8 MB

  • Estimated disk space required: 56.7 MB

  • Estimated build time: 0.5 SBU (additional 0.9 SBU to run the test suite)

cairo Dependencies

Required

X Window System and pkg-config-0.20

Optional

glitz, DirectFB, XCB, and GTK-Doc-1.6

Optional (to provide extended test suite coverage)

GTK+-2.8.20 (for testing the PDF backend), Poppler-0.4.5 (for testing the PDF backend), librsvg-2.14.4 (for testing the SVG backend), and LTP

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.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cairo

Installation of cairo

cairo will look for an X Render pkg-config file. If you use XFree86 as your X Window system, ensure this file exists (/usr/X11R6/lib/pkgconfig/xrender.pc) before beginning the installation.

Install cairo by running the following commands:

./configure --prefix=/usr &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.

Contents

Installed Programs: None
Installed Libraries: libcairo.{so,a}
Installed Directories: /usr/include/cairo and /usr/share/gtk-doc/html/cairo

Short Descriptions

libcairo.{so,a}

contains the 2D graphics functions required for rendering to the various output targets.

Last updated on 2007-01-18 13:38:19 -0600