Difference between revisions of "Cairo"
(I added additional configuration options.) |
Chipster19 (talk | contribs) |
||
Line 88: | Line 88: | ||
make install | make install | ||
+ | |||
+ | = Contents = | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! Installed Programs: | ||
+ | | None | ||
+ | |-valign="top" | ||
+ | ! Installed Libraries: | ||
+ | | libcairo.{a,la,so} | ||
+ | |-valign="top" | ||
+ | ! Installed Directory: | ||
+ | | /usr/include/cairo | ||
+ | |} |
Revision as of 02:06, 15 March 2007
Download Source: | http://cairographics.org/releases/cairo-1.10.0.tar.gz |
---|
Contents
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, and PostScript, PDF, and SVG file output. Experimental backends include OpenGL (through Glitz), Quartz, and XCB.
Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (eg. through the X Render Extension).
The Cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in Cairo including 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.)
Cairo is implemented as a library written in the C programming language, but bindings are available for several different programming languages.
Project Home Page: http://cairographics.org/
Dependencies
Required
Optional
Additional Configuration Options
--enable-xcb: Enable Cairo's XCB backend.
--enable-glitz: Enable Cairo's Glitz backend.
--enable-directfb: Enable cairo's DirectFB backend.
--enable-gtk-doc: Use Gtk-Doc to build documentation.
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \ USE_ARCH=32 ./configure --prefix=/usr && make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \ USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \ USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install
Contents
Installed Programs: | None |
---|---|
Installed Libraries: | libcairo.{a,la,so} |
Installed Directory: | /usr/include/cairo |