<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-cairo" lang="gl">

  <info>
    <link type="guide" xref="tech" group="cairo"/>
    <revision pkgversion="3.0" date="2011-04-05" status="candidate"/>

    <credit type="author copyright">
      <name>Shaun McCance</name>
      <email its:translate="no">shaunm@gnome.org</email>
      <years>2011–2012</years>
    </credit>

    <license xmlns="http://projectmallard.org/1.0/" href="http://creativecommons.org/licenses/by-sa/3.0/us/">
<p>This work is licensed under a
<link href="http://creativecommons.org/licenses/by-sa/3.0/us/">Creative Commons
Attribution-Share Alike 3.0 United States License</link>.</p>
<p>Como unha excepción especial, os propietarios do copyright danlle permiso para copiar, modificar e distribuír o código de exemplo contido neste documento baixo os termos da súa elección, sen restricións.</p>
</license>

    <desc>2D, vector-based drawing for high-quality graphics</desc>
  <credit type="translator copyright"><name>Fran Diéguez</name><email>frandieguez@gnome.org</email><years>2009-2020.</years></credit><credit type="translator copyright"><name>Leandro Regueiro</name><email>leandro.regueiro@gmail.com</email><years>2011.</years></credit></info>

<title>Cairo</title>

<p>Cairo is a 2D graphics library featuring a sophisticated API for
drawing vector graphics, compositing images, and rendering
anti-aliased text.  Cairo provides support for multiple output
devices, including the X Window System, Microsoft Windows, and image
buffers in memory, allowing you to write platform-independent code to
draw graphics on different media.</p>

<p>O modelo de debuxado de Cairo é similar ao que fornece PostScript e PDF. O API de Cairo fornece operacións de debuxado tales como pincelar e rechear splines cúbicos de Bézier, compo;er imaxes e realizar transformacións afíns. Estas operacións con vectores permiten gráficos ricos con antialias sen ter que usar o caro debuxo baseado en píxeles no código da súa aplicación.</p>

<p>Cairo's rich drawing model allows for high-quality rendering to
multiple media.  The same API can be used to create on-screen
graphics and text, to render images, or create crisp output suitable
for printing.</p>

<p>You should use Cairo whenever you need to draw graphics in your
application beyond the widgets provided by GTK.  Almost all of the drawing
inside GTK is done using Cairo.  Using Cairo for your custom drawing
will allow your application to have high-quality, anti-aliased, and
resolution-independent graphics.</p>

<list style="compact">
  <item><p><link href="http://www.cairographics.org/manual/">Manual de Cairo</link></p></item>
  <item><p><link href="http://www.cairographics.org">Sitio web de Cairo</link></p></item>
</list>
</page>
