2004-01-23 14:13:20 +00:00
<refentry id= "cairo_set_font" >
<refmeta >
<refentrytitle > cairo_set_font</refentrytitle>
<manvolnum > 3</manvolnum>
</refmeta>
<refnamediv >
<refname > cairo_set_font</refname>
<refpurpose > replace the font in the current state</refpurpose>
</refnamediv>
<refsynopsisdiv >
<programlisting >
void cairo_set_font (<link linkend= "cairo_t" > cairo_t</link> *cr, cairo_font_t *font)</programlisting>
<variablelist role= "params" >
<varlistentry >
<term > <parameter > cr</parameter> :</term>
<listitem >
2004-02-20 14:23:17 +00:00
<simpara > a <link linkend= "cairo_t" > cairo_t</link> </simpara>
2004-01-23 14:13:20 +00:00
</listitem>
</varlistentry>
<varlistentry >
<term > <parameter > font</parameter> :</term>
<listitem >
2004-02-20 14:23:17 +00:00
<simpara > replaces the current cairo_font_t object in the <link linkend= "cairo_t" > cairo_t</link> with font. The replaced font in the <link linkend= "cairo_t" > cairo_t</link> will be destroyed if there are no other references to it.</simpara>
2004-01-23 14:13:20 +00:00
</listitem>
</varlistentry>
</variablelist>
</refsynopsisdiv>
<refsect1 >
<title > Description</title>
<para >
<indexterm >
<primary > functions</primary>
<secondary > cairo_set_font</secondary>
</indexterm>
<indexterm >
<primary />
</indexterm>
</para>
</refsect1>
</refentry>