summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html
blob: 5305068ddefc9f59f2de93dc8bb8b2a47df9e5d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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 &#8212; Rendering text.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;ghosd/ghosd-text.h&gt;


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>&#160;:</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>&#160;:</span></td>
<td> x coordinate in screen pixels.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y coordinate in screen pixels.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em>&#160;:</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>&lt;&lt;&#160;Main Loop</b></a></td>
<td align="right"></td>
</tr></table>
</body>
</html>