cairo/doc/reference/xml/cairo_matrix_t.xml

23 lines
894 B
XML

<refentry id="cairo_matrix_t">
<refmeta>
<refentrytitle>cairo_matrix</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
<refname>cairo_matrix</refname>
<refpurpose>a matrix</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para><indexterm><primary>types</primary><secondary>cairo_matrix</secondary></indexterm><indexterm><primary/></indexterm>
A <varname>cairo_matrix</varname> contains the current state of the rendering device,
including coordinates of yet to be drawn shapes.
<varname>cairo_matrix</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>