mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346896 c90b9560-bf6c-de11-be94-00142212c4b1
122 lines
4 KiB
XML
122 lines
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<book xml:id="book.cairo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Cairo</title>
|
|
<titleabbrev>Cairo</titleabbrev>
|
|
|
|
<preface xml:id="intro.cairo">
|
|
&reftitle.intro;
|
|
<para>
|
|
Cairo is a native PHP extension to create and modify graphics using the Cairo
|
|
Graphics Library.
|
|
</para>
|
|
<para>
|
|
The Cairo Graphics Library is a 2D library written in C with support for
|
|
multiple output devices. Currently supported output targets include the X
|
|
Window System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file
|
|
output. Experimental backends include OpenGL (through glitz), XCB, BeOS,
|
|
OS/2, and DirectFB. The library also has support for two types of text
|
|
manipulation and layout. The "toy" API provides demo quality support, and
|
|
the glyphs API, although full-featured, works best with a helper library
|
|
such as pango. Font backend support includes FreeType, Quartz, Win32, and
|
|
User fonts.
|
|
</para>
|
|
<para>
|
|
There are two types of computer graphics, vector and raster. Raster graphics
|
|
are the representation of images as an array of pixels. Vector graphics use
|
|
geometrical primitives such as points, lines, curves or polygons to represent
|
|
images. The primitives are created using mathematical equations. The Cairo
|
|
Graphics Library takes a vector approach to graphics, allowing smaller size,
|
|
infinite zooming, and moving, scaling and rotating without degrading image
|
|
quality.
|
|
</para>
|
|
<para>
|
|
Operations in the cairo graphics library 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, and others) This is very
|
|
similar to drawing operations for PostScript and PDF drawing.
|
|
</para>
|
|
<para>
|
|
The Cairo PHP Extension aims to provide support for all officially supported
|
|
font backends and surface backends, as well as expose all available
|
|
functionality in cairo to PHP users.
|
|
</para>
|
|
|
|
|
|
</preface>
|
|
|
|
&reference.cairo.setup;
|
|
&reference.cairo.constants;
|
|
&reference.cairo.examples;
|
|
&reference.cairo.reference;
|
|
|
|
&reference.cairo.cairo;
|
|
&reference.cairo.cairocontext;
|
|
&reference.cairo.cairoexception;
|
|
&reference.cairo.cairostatus;
|
|
|
|
&reference.cairo.cairosurface;
|
|
&reference.cairo.cairosvgsurface;
|
|
&reference.cairo.cairoimagesurface;
|
|
&reference.cairo.cairopdfsurface;
|
|
&reference.cairo.cairopssurface;
|
|
&reference.cairo.cairosurfacetype;
|
|
|
|
|
|
&reference.cairo.cairofontface;
|
|
&reference.cairo.cairofontoptions;
|
|
&reference.cairo.cairofontslant;
|
|
&reference.cairo.cairofonttype;
|
|
&reference.cairo.cairofontweight;
|
|
&reference.cairo.cairoscaledfont;
|
|
&reference.cairo.cairotoyfontface;
|
|
|
|
&reference.cairo.cairopatterntype;
|
|
&reference.cairo.cairopattern;
|
|
&reference.cairo.cairogradientpattern;
|
|
&reference.cairo.cairosolidpattern;
|
|
&reference.cairo.cairosurfacepattern;
|
|
&reference.cairo.cairolineargradient;
|
|
&reference.cairo.cairoradialgradient;
|
|
|
|
&reference.cairo.cairoantialias;
|
|
&reference.cairo.cairocontent;
|
|
&reference.cairo.cairoextend;
|
|
&reference.cairo.cairoformat;
|
|
&reference.cairo.cairofillrule;
|
|
&reference.cairo.cairofilter;
|
|
&reference.cairo.cairohintmetrics;
|
|
&reference.cairo.cairohintstyle;
|
|
&reference.cairo.cairolinecap;
|
|
&reference.cairo.cairolinejoin;
|
|
&reference.cairo.cairomatrix;
|
|
&reference.cairo.cairooperator;
|
|
&reference.cairo.cairopath;
|
|
&reference.cairo.cairopslevel;
|
|
&reference.cairo.cairosubpixelorder;
|
|
&reference.cairo.cairosvgversion;
|
|
</book>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|