summaryrefslogtreecommitdiff
path: root/doc/reference/xml/cairo_t.xml
blob: 5adb628a584d5d628f7abd68685c8126c6a35681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

<refentry id="cairo_t">
  <refmeta>
    <refentrytitle>cairo_t</refentrytitle>
    <manvolnum>3</manvolnum>
  </refmeta>
  <refnamediv>
    <refname>cairo_t</refname>
    <refpurpose>holds the current state</refpurpose>
  </refnamediv>
  <refsect1>
    <title>Description</title>
    <para><indexterm><primary>types</primary><secondary>cairo_t</secondary></indexterm><indexterm><primary/></indexterm>
      A <varname>cairo_t</varname> contains the current state of the rendering device, 
      including coordinates of yet to be drawn shapes.  
      <varname>cairo_t</varname>'s can be pushed to a stack via 
      <link linkend="cairo_save">cairo_save</link>. 
      They may then savely be changed, without loosing the current state. 
      Use <link linkend="cairo_restore">cairo_restore</link> to 
      restore to the saved state.
    </para>
  </refsect1>
</refentry>