<?xml version='1.0' encoding='UTF-8'?> 
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cairo-Quartz-Image-Surfaces">
<refmeta>
<refentrytitle role="top_of_page">Quartz Image Surfaces</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAIRO Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Quartz Image Surfaces</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>



<link linkend="cairo-surface-t">cairo_surface_t</link>*    <link linkend="cairo-quartz-image-surface-create">cairo_quartz_image_surface_create</link>   (<link linkend="cairo-surface-t">cairo_surface_t</link> *image_surface);
<link linkend="cairo-surface-t">cairo_surface_t</link>*    <link linkend="cairo-quartz-image-surface-get-image">cairo_quartz_image_surface_get_image</link>
                                                        (<link linkend="cairo-surface-t">cairo_surface_t</link> *surface);
</synopsis>
</refsynopsisdiv>









<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="cairo-quartz-image-surface-create" role="function" condition="since:1.6"/>cairo_quartz_image_surface_create ()</title>
<indexterm role="1.6"><primary>cairo_quartz_image_surface_create</primary></indexterm><programlisting><link linkend="cairo-surface-t">cairo_surface_t</link>*    cairo_quartz_image_surface_create   (<link linkend="cairo-surface-t">cairo_surface_t</link> *image_surface);</programlisting>
<para>
Creates a Quartz surface backed by a CGImageRef that references the
given image surface. The resulting surface can be rendered quickly
when used as a source when rendering to a <link linkend="cairo-quartz-surface"><type>cairo_quartz_surface</type></link>.  If
the data in the image surface is ever updated, <link linkend="cairo-surface-flush"><function>cairo_surface_flush()</function></link>
must be called on the <link linkend="cairo-quartz-image-surface"><type>cairo_quartz_image_surface</type></link> to ensure that the
CGImageRef refers to the updated data.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>image_surface</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the newly created surface.

</simpara></listitem></varlistentry>
</variablelist><para role="since">Since  1.6
</para></refsect2>
<refsect2>
<title><anchor id="cairo-quartz-image-surface-get-image" role="function"/>cairo_quartz_image_surface_get_image ()</title>
<indexterm><primary>cairo_quartz_image_surface_get_image</primary></indexterm><programlisting><link linkend="cairo-surface-t">cairo_surface_t</link>*    cairo_quartz_image_surface_get_image
                                                        (<link linkend="cairo-surface-t">cairo_surface_t</link> *surface);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>surface</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>





<refsect1><refsect2 /><refsect2 /></refsect1>
</refentry>
