/usr/share/gtk-doc/html/pygtk/pangocairo-functions.html is in python-gtk2-doc 2.24.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>pangocairo Functions</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="pangocairo-class-reference.html" title="The pangocairo Class Reference"><link rel="prev" href="class-pangocairocairofontmap.html" title="pangocairo.CairoFontMap"><link rel="next" href="pangocairo-constants.html" title="pangocairo Constants"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">pangocairo Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangocairocairofontmap.html">Prev</a> </td><th width="60%" align="center">The pangocairo Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="pangocairo-constants.html">Next</a></td></tr></table><hr></div><div class="refentry" title="pangocairo Functions"><a name="pangocairo-functions"></a><div class="titlepage"></div><div class="refnamediv"><h2>pangocairo Functions</h2><p>pangocairo Functions — a list of all the pangocairo functions</p></div><div class="refsect1" title="Synopsis"><a name="id3337070"></a><h2>Synopsis</h2><div class="refsect2" title="pangocairo.CairoFontMap Functions"><a name="id3174771"></a><h3><a class="link" href="class-pangocairocairofontmap.html" title="pangocairo.CairoFontMap"><code class="classname">pangocairo.CairoFontMap</code></a> Functions</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-pangocairocairofontmap.html#function-pangocairo--cairo-font-map-get-default" title="pangocairo.cairo_font_map_get_default">pangocairo.cairo_font_map_get_default</a></span>()</code></pre></div><div class="refsect2" title="Miscellaneous Functions"><a name="id3180441"></a><h3>Miscellaneous Functions</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="pangocairo-functions.html#function-pangocairo--context-get-font-options" title="pangocairo.context_get_font_options">context_get_font_options</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>context</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="pangocairo-functions.html#function-pangocairo--context-set-font-options" title="pangocairo.context_set_font_options">context_set_font_options</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>context</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>font_options</code></strong></span></span>)</code></pre></div></div><div class="refsect1" title="Functions"><a name="id2988246"></a><h2>Functions</h2><div class="refsect2" title="pangocairo.context_get_font_options"><a name="function-pangocairo--context-get-font-options"></a><h3>pangocairo.context_get_font_options</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">pangocairo.context_get_font_options</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>context</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>context</code></strong> :</span></p></td><td>a
<a class="link" href="class-pangocontext.html" title="pango.Context"><code class="classname">pango.Context</code></a>
created by the
<a class="link" href="class-pangocairocairofontmap.html#method-pangocairocairofontmap--create-context" title="pangocairo.CairoFontMap.create_context"><code class="methodname">pango.FontMap.create_context</code>()</a>
method.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a cairo.FontOptions object or
<code class="literal">None</code> </td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.10 and above.</p></div><p>The <code class="function">pangocairo.context_get_font_options</code>()
method returns the cairo.FontOptions object associated with the <a class="link" href="class-pangocontext.html" title="pango.Context"><code class="classname">pango.Context</code></a>
specified by <em class="parameter"><code>context</code></em>.</p></div><div class="refsect2" title="pangocairo.context_set_font_options"><a name="function-pangocairo--context-set-font-options"></a><h3>pangocairo.context_set_font_options</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">pangocairo.context_set_font_options</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>context</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>font_options</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>context</code></strong> :</span></p></td><td>a
<a class="link" href="class-pangocontext.html" title="pango.Context"><code class="classname">pango.Context</code></a>
created by the
<a class="link" href="class-pangocairocairofontmap.html#method-pangocairocairofontmap--create-context" title="pangocairo.CairoFontMap.create_context"><code class="methodname">pango.FontMap.create_context</code>()</a>
method.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>font_options</code></strong> :</span></p></td><td>a cairo.FontOptions object or
<code class="literal">None</code></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.10 and above.</p></div><p>The <code class="function">pangocairo.context_set_font_options</code>()
function sets the font options specified by
<em class="parameter"><code>font_options</code></em> used when rendering text with the
<a class="link" href="class-pangocontext.html" title="pango.Context"><code class="classname">pango.Context</code></a>
specified by <em class="parameter"><code>context</code></em>. These options override
any options that <a class="link" href="class-pangocairocairocontext.html#method-pangocairocairocontext--update-context" title="pangocairo.CairoContext.update_context"><code class="methodname">pangocairo.CairoContext.update_context</code>()</a>
derives from the target surface. If
<em class="parameter"><code>font_options</code></em> is <code class="literal">None</code> any
previously set options are unset.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-pangocairocairofontmap.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pangocairo-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pangocairo-constants.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">pangocairo.CairoFontMap </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> pangocairo Constants</td></tr></table></div></body></html>
|