summaryrefslogtreecommitdiff
path: root/doc/reference/xml/cairo_save.xml
blob: fc2a4e04ee744f77ca76c9d978cf20a1c41bbd95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

<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>