mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 18:50:09 +01:00
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
|
|
<refentry id="cairo_save">
|
|
<refmeta>
|
|
<refentrytitle>cairo_save</refentrytitle>
|
|
<manvolnum>3</manvolnum>
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname>cairo_save</refname>
|
|
<refpurpose>save current state</refpurpose>
|
|
</refnamediv>
|
|
<refsynopsisdiv>
|
|
<programlisting>
|
|
void cairo_save (<link linkend="cairo_t">cairo_t</link> *cr)</programlisting>
|
|
<variablelist role="params">
|
|
<varlistentry>
|
|
<term><parameter>cr</parameter> :</term>
|
|
<listitem>
|
|
<simpara>a <link linkend="cairo_t">cairo_t</link></simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsynopsisdiv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<para>
|
|
<indexterm>
|
|
<primary>functions</primary>
|
|
<secondary>cairo_save</secondary>
|
|
</indexterm>
|
|
<indexterm>
|
|
<primary/>
|
|
</indexterm>
|
|
This function stores the complete state of a <link linkend="cairo_t">cairo_t</link>. It may then be changed in any way. The saved state can then be restored with <link linkend="cairo_restore">cairo_restore</link>. Calls to cairo_save may be nested to an arbitraty depth.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|