diff options
Diffstat (limited to 'abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html')
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html new file mode 100644 index 0000000..5305068 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html @@ -0,0 +1,100 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Text</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="Ghosd Manual"> +<link rel="up" href="ch01.html" title="Reference"> +<link rel="prev" href="ghosd-Main-Loop.html" title="Main Loop"> +<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="chapter" href="ch01.html" title="Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="ghosd-Main-Loop.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">Ghosd Manual</th> +</tr></table> +<div class="refentry" lang="en"> +<a name="ghosd-Text"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle">Text</span></h2> +<p>Text — Rendering text.</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<h2>Synopsis</h2> +<pre class="synopsis"> + +#include <ghosd/ghosd-text.h> + + +void <a href="ghosd-Text.html#ghosd-text-set-position">ghosd_text_set_position</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int x, + int y, + PangoLayout *layout); +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2525288"></a><h2>Description</h2> +<p> +I expect to flesh out this API, so this is mostly a placeholder for now. +</p> +</div> +<div class="refsect1" lang="en"> +<a name="id2530080"></a><h2>Details</h2> +<div class="refsect2" lang="en"> +<a name="id2530087"></a><h3> +<a name="ghosd-text-set-position"></a>ghosd_text_set_position ()</h3> +<a class="indexterm" name="id2530096"></a><pre class="programlisting">void ghosd_text_set_position (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int x, + int y, + PangoLayout *layout);</pre> +<p> +Set ghosd dimensions based on a <span class="type">PangoLayout</span>. +See <a href="ghosd-Basics.html#ghosd-set-position"><code class="function">ghosd_set_position()</code></a> for interpretation of the x and y coordinates.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object; +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>x</code></em> :</span></td> +<td> x coordinate in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>y</code></em> :</span></td> +<td> y coordinate in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>layout</code></em> :</span></td> +<td> the <span class="type">PangoLayout</span> to draw. +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> +<td align="left"><a accesskey="p" href="ghosd-Main-Loop.html"><b><< Main Loop</b></a></td> +<td align="right"></td> +</tr></table> +</body> +</html> |