Find a file
2006-04-14 16:50:16 -07:00
doc Obnoxious churn of gtk-doc templates. 2006-04-14 14:44:16 -07:00
pixman Change cairo_image_surface_create to zero out surface contents. 2006-04-14 16:21:16 -07:00
src Add tests for PAGINATED_MODE_ANALYZE to PDF (no real analysis yet) 2006-04-14 16:50:16 -07:00
test SVG: Add documentation for public API. Fix test filenames and add testing of CAIRO_CONTENT_COLOR 2006-04-14 22:53:58 +02:00
util Remove #ifdef munging since we once again support either #if or #ifdef. 2005-05-17 09:13:02 +00:00
.gitignore Add make bits to autogenerate ChangeLog 2006-03-15 15:24:18 -05:00
acinclude.m4 configure.in Makefile.am docs/Makefile.am docs/public/*: Add framework for doing docs via gtk-doc. 2005-01-27 11:35:25 +00:00
AUTHORS Add attribution for Bdale Garbee to the AUTHORS file. 2006-04-04 15:04:18 -07:00
autogen.sh autogen.sh: Pass --foreign option to automake so that it doesn't 2006-02-24 09:18:17 -08:00
BUGS Add mention of suspected bug in PS backend. 2005-10-25 15:55:57 +00:00
cairo.pc.in Try to use pkg-config to detect freetype2, then fall back to the existing freetype-config based check. 2005-08-17 15:57:45 +00:00
CODING_STYLE Globally rename "operator" to "op", to allow writing backends in C++ 2005-12-16 03:02:35 +00:00
configure.in Use more portable shell syntax 2006-04-02 15:55:27 +02:00
COPYING Fix typo: LPGL->LGPL. 2004-11-29 18:25:23 +00:00
COPYING-LGPL-2.1 Add the MPL as a new license option, in addition to the LGPL. 2004-09-04 06:38:34 +00:00
COPYING-MPL-1.1 Add the MPL as a new license option, in addition to the LGPL. 2004-09-04 06:38:34 +00:00
gtk-doc.make When invoked as, say, ../autogen.sh, switch to the sourcedir to run the auto*. Based on corresponding code in GTK+'s autogen.sh. (#3402, Thomas Fitzsimmons) 2005-08-21 09:57:19 +00:00
INSTALL Update release infra to reflect git transition. 2006-03-15 15:24:35 -05:00
Makefile.am Add a release-publish-message target to only get the message. 2006-03-15 15:25:03 -05:00
NEWS Add notes for the 1.0.2 release. 2005-10-03 17:49:25 +00:00
PORTING_GUIDE Update name from "0.5 porting guide" to "1.0 porting guide." 2005-08-24 08:46:02 +00:00
README Mention new --enable-svg option 2005-12-18 17:20:06 +00:00
RELEASING Clarify that git tag -s does GPG signing. 2006-03-15 15:25:10 -05:00
ROADMAP Add Mozilla patches to ROADMAP 2006-02-15 16:50:57 -08:00
TODO Add a new API for disabling antialiasing of shapes drawn by cairo. This is a hint and is not supported by all backends. 2005-08-08 18:35:22 +00:00

Cairo - Multi-platform 2D graphics library
http://cairographics.org

What is cairo
=============
Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window
System, win32, and image buffers. Experimental backends include OpenGL
(through glitz), Quartz, XCB, PostScript and PDF file output.

Cairo is designed to produce consistent output on all output media
while taking advantage of display hardware acceleration when available
(for example, 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 has been designed to let you draw anything you want in a modern
2D graphical user interface.  At the same time, the cairo API has been
designed to be as fun and easy to learn as possible. If you're not
having fun while programming with cairo, then we have failed
somewhere---let us know and we'll try to fix it next time around.

Cairo is free software and is available to be redistributed and/or
modified under the terms of either the GNU Lesser General Public
License (LGPL) version 2.1 or the Mozilla Public License (MPL) version
1.1.

Where to get more information about cairo
=========================================
The primary source of information about cairo is:

	http://cairographics.org/

The latest releases of cairo can be found at:

	http://cairographics.org/releases

Snapshots of in-development versions of cairo:

	http://cairographics.org/snapshots

The programming manual for using cairo:

	http://cairographics.org/manual

Mailing lists for contacting cairo users and developers:

	http://cairographics.org/lists

Answers to some frequently asked questions about cairo:

	http://cairographics.org/FAQ

Dependencies
============
The set of libraries needed to compile cairo depends on which backends
are enabled when cairo is configured. Here are the dependencies for
each backend:

Surface backends:

	image backend
	-------------
	no dependencies

	glitz backend
	-------------
	glitz >= 0.4.4 		http://freedesktop.org/Software/glitz

	pdf backend
	-----------
	freetype >= 2.1.4	http://freetype.org
	zlib			http://www.gzip.org/zlib

	postscript backend
	------------------
	freetype >= 2.1.4	http://freetype.org
	zlib			http://www.gzip.org/zlib

	quartz backend
	--------------
	[*]

	win32 backend
	-------------
	[*]

	xcb backend
	-----------
	XCB			http://xcb.freedesktop.org

	xlib backend
	------------
	Xrender >= 0.6		http://freedesktop.org/Software/xlibs

	beos backend
	------------
	No dependencies in itself other than an installed BeOS system, but cairo
	requires a font backend. See the freetype dependency list.

Font backends:

	freetype font backend
	---------------------
	freetype >= 2.1.4	http://freetype.org
	fontconfig		http://fontconfig.org

	win32 font backend
	------------------
	[*]

	atsui font backend
	------------------
	[*]

	[*] I don't know specifically what packages might need to be
	    installed on a Mac OS X system to use the Quartz and ATSUI
	    backends. As far as win32, the situation is rather complex:

	    The Win32 backend should work on Windows 2000 and newer
	    (excluding Windows Me.) Most testing has been done on
	    Windows XP. While some portions of the code have been
	    adapted to work on older versions of Windows, considerable
	    work still needs to done to get cairo running in these
	    environments.

	    Cairo can be compiled on Windows either with the GCC
	    toolchain (see http://www.mingw.org) or with Microsoft
	    Visual C++. Makefiles or project files for compiling with
	    MSVC are however not provided as of this release. We have
	    received reports that MSVC 6.0 compiles parts of cairo
	    incorrectly, (leading to incorrect color). MSVC 7.0 is
	    known to work.

Compiling
=========
See the INSTALL document for build instructions.

History
=======
Cairo was originally developed by Carl Worth <cworth@cworth.org> and
Keith Packard <keithp@keithp.com>. Many thanks are due to Lyle Ramshaw
without whose patient help our ignorance would be much more apparent.

Since the original development, many more people have contributed to
cairo. See the AUTHORS files for as complete a list as we've been able
to compile so far.