diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-09-06 20:51:42 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-09-06 20:51:42 +0200 |
commit | a789ba60c4fae1070af38da500fb14a5023da79b (patch) | |
tree | 02ddc8eb47cb3653ebb1ea188807f8e231bcfcb4 /doc/public/html/cairo-Quartz-Surfaces.html | |
parent | b8035521bbd511a601e9f9e23a97eb6bd9ac1ea3 (diff) |
Import upstream version 1.10.0
Diffstat (limited to 'doc/public/html/cairo-Quartz-Surfaces.html')
-rw-r--r-- | doc/public/html/cairo-Quartz-Surfaces.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/public/html/cairo-Quartz-Surfaces.html b/doc/public/html/cairo-Quartz-Surfaces.html index 7c91850..747e903 100644 --- a/doc/public/html/cairo-Quartz-Surfaces.html +++ b/doc/public/html/cairo-Quartz-Surfaces.html @@ -59,7 +59,8 @@ Apple OS X Quartz rendering system. <a name="cairo-Quartz-Surfaces.details"></a><h2>Details</h2> <div class="refsect2" title="CAIRO_HAS_QUARTZ_SURFACE"> <a name="CAIRO-HAS-QUARTZ-SURFACE:CAPS"></a><h3>CAIRO_HAS_QUARTZ_SURFACE</h3> -<pre class="programlisting">#define CAIRO_HAS_QUARTZ_SURFACE</pre> +<pre class="programlisting">#define CAIRO_HAS_QUARTZ_SURFACE 1 +</pre> <p> Defined if the Quartz surface backend is available. This macro can be used to conditionally compile backend-specific code. @@ -123,10 +124,19 @@ using a translate and a scale; for example: </p> <p> </p> -<div class="informalexample"><pre class="programlisting"> -CGContextTranslateCTM (cgContext, 0.0, height); -CGContextScaleCTM (cgContext, 1.0, -1.0); -</pre></div> +<div class="informalexample"> + <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> + <tbody> + <tr> + <td class="listing_lines" align="right"><pre>1 +2</pre></td> + <td class="listing_code"><pre class="programlisting"><span class="function">CGContextTranslateCTM</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cgContext</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span> +<span class="function">CGContextScaleCTM</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cgContext</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1.0</span><span class="symbol">);</span></pre></td> + </tr> + </tbody> + </table> +</div> + <p> </p> <p> |