cairo/README

64 lines
2.2 KiB
Text
Raw Normal View History

2003-07-18 11:34:19 +00:00
Cairo - Multi-platform 2D graphics library
Compiling
---------
See the INSTALL document for build instructions.
2002-10-26 08:00:39 +00:00
Description
-----------
2003-07-18 11:34:19 +00:00
Cairo provides anti-aliased vector-based rendering for X. Paths consist
2002-10-26 08:00:39 +00:00
of line segments and cubic splines and can be rendered at any width
with various join and cap styles. All colors may be specified with
optional translucence (opacity/alpha) and combined using the extended
2002-10-26 08:00:39 +00:00
Porter/Duff compositing algebra as found in the X Render Extension.
2003-07-18 11:34:19 +00:00
Cairo exports a stateful rendering API similar in spirit to the path
construction, text, and painting operators of PostScript, (with the
significant addition of translucence in the imaging model). When
complete, the API is intended to support the complete imaging model of
PDF 1.4.
2003-07-18 11:34:19 +00:00
Cairo relies on the Xc library for backend rendering. Xc provides an
abstract interface for rendering to multiple target types. As of this
2003-07-18 11:34:19 +00:00
writing, Xc allows Cairo to target X drawables as well as generic image
buffers. Future backends such as PostScript, PDF, and perhaps OpenGL
are currently being planned.
2002-10-26 08:00:39 +00:00
Dependencies
------------
2003-07-18 11:34:19 +00:00
Cairo currently requires the following supporting libraries:
Xc
Xft
fontconfig
libic
libpixregion
2002-10-26 08:00:39 +00:00
Documentation
-------------
2003-07-18 11:34:19 +00:00
There's not much documentation yet apart from the cairo.h header
file. We'll be correcting that shortly.
2002-10-26 08:00:39 +00:00
In the meantime, the xrtest module in CVS provides a few example
2003-07-18 11:34:19 +00:00
programs using Cairo. These may be helpful to a programmer just beginning
with Cairo. Also, familiarity with the PostScript imaging model will
help in understanding Cairo.
2002-10-26 08:00:39 +00:00
History
-------
2003-07-18 11:34:19 +00:00
Cairo was developed by Carl Worth <cworth@isi.edu> and Keith Packard
2002-10-26 08:00:39 +00:00
<keithp@keithp.com>. Many thanks are due to Lyle Ramshaw without whose
patient help our ignorance would be much more apparent.
Mailing List
------------
2003-07-18 11:34:19 +00:00
If you have trouble with Cairo or you have some ideas for how it could be
improved, please feel free to send a message to cairo@cairographics.org
2003-07-18 11:34:19 +00:00
Cairo is still under active development and all discussion happens on
that list. So if you want to lurk or, (even better), take part in the
development, take a look. Subscription information and archives are
available:
2003-07-18 11:34:19 +00:00
http://cairographics.org/cgi-bin/mailman/listinfo/cairo