diff options
Diffstat (limited to 'docs/reference/pygtk-pangocairo-functions.xml')
-rw-r--r-- | docs/reference/pygtk-pangocairo-functions.xml | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/docs/reference/pygtk-pangocairo-functions.xml b/docs/reference/pygtk-pangocairo-functions.xml deleted file mode 100644 index 3e387c99..00000000 --- a/docs/reference/pygtk-pangocairo-functions.xml +++ /dev/null @@ -1,129 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> - -<refentry id="pangocairo-functions"> - <refnamediv> - <refname>pangocairo Functions</refname> - <refpurpose>a list of all the pangocairo functions</refpurpose> - </refnamediv> - - <refsect1> - <title>Synopsis</title> - - <refsect2> - <title><link linkend="class-pangocairocairofontmap"><classname>pangocairo.CairoFontMap</classname></link> Functions</title> - - <programlisting><methodsynopsis language="python"> - <methodname><link -linkend="function-pangocairo--cairo-font-map-get-default">pangocairo.cairo_font_map_get_default</link></methodname> - </methodsynopsis></programlisting> - - </refsect2> - - - - <refsect2> - <title>Miscellaneous Functions</title> - - <programlisting><methodsynopsis language="python"> - <methodname><link linkend="function-pangocairo--context-get-font-options">context_get_font_options</link></methodname> - <methodparam><parameter - role="keyword">context</parameter></methodparam> - </methodsynopsis><methodsynopsis language="python"> - <methodname><link linkend="function-pangocairo--context-set-font-options">context_set_font_options</link></methodname> - <methodparam><parameter - role="keyword">context</parameter></methodparam> - <methodparam><parameter - role="keyword">font_options</parameter></methodparam> - </methodsynopsis></programlisting> - - </refsect2> - - </refsect1> - - <refsect1> - <title>Functions</title> - - <refsect2 id="function-pangocairo--context-get-font-options"> - <title>pangocairo.context_get_font_options</title> - - <programlisting><methodsynopsis language="python"> - <methodname>pangocairo.context_get_font_options</methodname> - <methodparam><parameter - role="keyword">context</parameter></methodparam> - </methodsynopsis></programlisting> - <variablelist> - <varlistentry> - <term><parameter role="keyword">context</parameter> :</term> - <listitem><simpara>a - <link linkend="class-pangocontext"><classname>pango.Context</classname></link> - created by the - <link linkend="method-pangocairocairofontmap--create-context"><methodname>pango.FontMap.create_context</methodname>()</link> - method.</simpara></listitem> - </varlistentry> - <varlistentry> - <term><emphasis>Returns</emphasis> :</term> - <listitem><simpara>a cairo.FontOptions object or - <literal>None</literal> </simpara></listitem> - </varlistentry> - </variablelist> - - <note> - <para>This function is available in PyGTK 2.10 and above.</para> - </note> - - <para>The <function>pangocairo.context_get_font_options</function>() - method returns the cairo.FontOptions object associated with the <link - linkend="class-pangocontext"><classname>pango.Context</classname></link> - specified by <parameter>context</parameter>.</para> - - </refsect2> - - <refsect2 id="function-pangocairo--context-set-font-options"> - <title>pangocairo.context_set_font_options</title> - - <programlisting><methodsynopsis language="python"> - <methodname>pangocairo.context_set_font_options</methodname> - <methodparam><parameter - role="keyword">context</parameter></methodparam> - <methodparam><parameter - role="keyword">font_options</parameter></methodparam> - </methodsynopsis></programlisting> - <variablelist> - <varlistentry> - <term><parameter role="keyword">context</parameter> :</term> - <listitem><simpara>a - <link linkend="class-pangocontext"><classname>pango.Context</classname></link> - created by the - <link linkend="method-pangocairocairofontmap--create-context"><methodname>pango.FontMap.create_context</methodname>()</link> - method.</simpara></listitem> - </varlistentry> - <varlistentry> - <term><parameter role="keyword">font_options</parameter> :</term> - <listitem><simpara>a cairo.FontOptions object or - <literal>None</literal></simpara></listitem> - </varlistentry> - </variablelist> - - <note> - <para>This function is available in PyGTK 2.10 and above.</para> - </note> - - <para>The <function>pangocairo.context_set_font_options</function>() - function sets the font options specified by - <parameter>font_options</parameter> used when rendering text with the - <link - linkend="class-pangocontext"><classname>pango.Context</classname></link> - specified by <parameter>context</parameter>. These options override - any options that <link - linkend="method-pangocairocairocontext--update-context"><methodname>pangocairo.CairoContext.update_context</methodname>()</link> - derives from the target surface. If - <parameter>font_options</parameter> is <literal>None</literal> any - previously set options are unset.</para> - - </refsect2> - - </refsect1> - -</refentry> |