~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to doc/reference/clutter/html/clutter-Utilities.html

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-03-21 13:27:56 UTC
  • mto: (2.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100321132756-nf8yd30yxo3zzwcm
Tags: upstream-1.2.2
Import upstream version 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
<title>Utilities</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="Clutter Reference Manual">
8
 
<link rel="up" href="ch07.html" title="General purpose API">
 
8
<link rel="up" href="ch08.html" title="General purpose API">
9
9
<link rel="prev" href="clutter-Unit-conversion.html" title="Unit conversion">
10
 
<link rel="next" href="clutter-Versioning-Macros.html" title="Versioning Macros">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
10
<link rel="next" href="clutter-Features.html" title="Features">
 
11
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="clutter-overview.html" title="Part I. Overview">
14
14
<link rel="part" href="building-clutter.html" title="Part II. Building Clutter">
17
17
<link rel="chapter" href="ch01.html" title="Abstract classes and interfaces">
18
18
<link rel="chapter" href="ch02.html" title="Base actors">
19
19
<link rel="chapter" href="ch03.html" title="Container actors">
 
20
<link rel="chapter" href="ch04.html" title="Layout managers">
20
21
<link rel="part" href="clutteranimation.html" title="Part V. Clutter Animation Framework">
21
 
<link rel="chapter" href="ch04.html" title="Base classes">
22
 
<link rel="chapter" href="ch05.html" title="Behaviours">
23
 
<link rel="chapter" href="ch06.html" title="High Level API">
 
22
<link rel="chapter" href="ch05.html" title="Base classes">
 
23
<link rel="chapter" href="ch06.html" title="Behaviours">
 
24
<link rel="chapter" href="ch07.html" title="High Level API">
24
25
<link rel="part" href="cluttertools.html" title="Part VI. Clutter Tools">
25
 
<link rel="chapter" href="ch07.html" title="General purpose API">
26
 
<link rel="chapter" href="ch08.html" title="User interface definition">
27
 
<link rel="chapter" href="ch09.html" title="Generic list model">
 
26
<link rel="chapter" href="ch08.html" title="General purpose API">
 
27
<link rel="chapter" href="ch09.html" title="User interface definition">
 
28
<link rel="chapter" href="ch10.html" title="Generic list model">
28
29
<link rel="part" href="clutterbackends.html" title="Part VII. Clutter Backends">
29
30
<link rel="part" href="additionaldocs.html" title="Part VIII. Additional Documentation">
30
31
<link rel="chapter" href="clutter-subclassing-ClutterActor.html" title="Implementing a new actor">
47
48
<link rel="index" href="ix05.html" title="Index of new symbols in 0.6">
48
49
<link rel="index" href="ix06.html" title="Index of new symbols in 0.8">
49
50
<link rel="index" href="ix07.html" title="Index of new symbols in 1.0">
 
51
<link rel="index" href="ix08.html" title="Index of new symbols in 1.2">
50
52
<link rel="appendix" href="license.html" title="Appendix A. License">
51
53
</head>
52
54
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
53
55
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
54
56
<tr valign="middle">
55
57
<td><a accesskey="p" href="clutter-Unit-conversion.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
56
 
<td><a accesskey="u" href="ch07.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
58
<td><a accesskey="u" href="ch08.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
57
59
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
58
60
<th width="100%" align="center">Clutter Reference Manual</th>
59
 
<td><a accesskey="n" href="clutter-Versioning-Macros.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
61
<td><a accesskey="n" href="clutter-Features.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
60
62
</tr>
61
63
<tr><td colspan="5" class="shortcuts">
62
64
<a href="#clutter-Utilities.synopsis" class="shortcut">Top</a>
63
 
                 | 
64
 
                <a href="#clutter-Utilities.description" class="shortcut">Description</a>
 
65
                   | 
 
66
                  <a href="#clutter-Utilities.description" class="shortcut">Description</a>
65
67
</td></tr>
66
68
</table>
67
69
<div class="refentry" title="Utilities">
69
71
<div class="refnamediv"><table width="100%"><tr>
70
72
<td valign="top">
71
73
<h2><span class="refentrytitle"><a name="clutter-Utilities.top_of_page"></a>Utilities</span></h2>
72
 
<p>Utilities — Misc utility functions.</p>
 
74
<p>Utilities — Utility functions</p>
73
75
</td>
74
76
<td valign="top" align="right"></td>
75
77
</tr></table></div>
76
78
<div class="refsynopsisdiv" title="Synopsis">
77
79
<a name="clutter-Utilities.synopsis"></a><h2>Synopsis</h2>
78
 
<pre class="synopsis">
79
 
int                 <a class="link" href="clutter-Utilities.html#clutter-util-next-p2" title="clutter_util_next_p2 ()">clutter_util_next_p2</a>                (int a);
80
 
 
81
 
ClutterTimeoutPool * <a class="link" href="clutter-Utilities.html#clutter-timeout-pool-new" title="clutter_timeout_pool_new ()">clutter_timeout_pool_new</a>           (<a
82
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
83
 
>gint</a> priority);
84
 
<a
85
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
86
 
>guint</a>               <a class="link" href="clutter-Utilities.html#clutter-timeout-pool-add" title="clutter_timeout_pool_add ()">clutter_timeout_pool_add</a>            (ClutterTimeoutPool *pool,
87
 
                                                         <a
88
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
89
 
>guint</a> fps,
90
 
                                                         <a
91
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"
92
 
>GSourceFunc</a> func,
93
 
                                                         <a
94
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
95
 
>gpointer</a> data,
96
 
                                                         <a
97
 
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
98
 
>GDestroyNotify</a> notify);
99
 
void                <a class="link" href="clutter-Utilities.html#clutter-timeout-pool-remove" title="clutter_timeout_pool_remove ()">clutter_timeout_pool_remove</a>         (ClutterTimeoutPool *pool,
100
 
                                                         <a
101
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
102
 
>guint</a> id);
103
 
 
104
 
<a
105
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
106
 
>guint</a>               <a class="link" href="clutter-Utilities.html#clutter-frame-source-add" title="clutter_frame_source_add ()">clutter_frame_source_add</a>            (<a
107
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
108
 
>guint</a> fps,
109
 
                                                         <a
110
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"
111
 
>GSourceFunc</a> func,
112
 
                                                         <a
113
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
114
 
>gpointer</a> data);
115
 
<a
116
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
117
 
>guint</a>               <a class="link" href="clutter-Utilities.html#clutter-frame-source-add-full" title="clutter_frame_source_add_full ()">clutter_frame_source_add_full</a>       (<a
118
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
119
 
>gint</a> priority,
120
 
                                                         <a
121
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
122
 
>guint</a> fps,
123
 
                                                         <a
124
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"
125
 
>GSourceFunc</a> func,
126
 
                                                         <a
127
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
128
 
>gpointer</a> data,
129
 
                                                         <a
130
 
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
131
 
>GDestroyNotify</a> notify);
 
80
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="clutter-Utilities.html#clutter-util-next-p2" title="clutter_util_next_p2 ()">clutter_util_next_p2</a>                (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> a);
 
81
 
 
82
<span class="returnvalue">ClutterTimeoutPool</span> * <a class="link" href="clutter-Utilities.html#clutter-timeout-pool-new" title="clutter_timeout_pool_new ()">clutter_timeout_pool_new</a>           (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> priority);
 
83
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="clutter-Utilities.html#clutter-timeout-pool-add" title="clutter_timeout_pool_add ()">clutter_timeout_pool_add</a>            (<span class="returnvalue">ClutterTimeoutPool</span> *pool,
 
84
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> fps,
 
85
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="returnvalue">GSourceFunc</span></a> func,
 
86
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data,
 
87
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> notify);
 
88
<span class="returnvalue">void</span>                <a class="link" href="clutter-Utilities.html#clutter-timeout-pool-remove" title="clutter_timeout_pool_remove ()">clutter_timeout_pool_remove</a>         (<span class="returnvalue">ClutterTimeoutPool</span> *pool,
 
89
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> id);
 
90
 
 
91
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="clutter-Utilities.html#clutter-frame-source-add" title="clutter_frame_source_add ()">clutter_frame_source_add</a>            (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> fps,
 
92
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="returnvalue">GSourceFunc</span></a> func,
 
93
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data);
 
94
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="clutter-Utilities.html#clutter-frame-source-add-full" title="clutter_frame_source_add_full ()">clutter_frame_source_add_full</a>       (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> priority,
 
95
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> fps,
 
96
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="returnvalue">GSourceFunc</span></a> func,
 
97
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data,
 
98
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> notify);
132
99
 
133
100
                    <a class="link" href="clutter-Utilities.html#ClutterParamSpecFixed" title="ClutterParamSpecFixed">ClutterParamSpecFixed</a>;
134
 
<a
135
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
136
 
>GParamSpec</a> *        <a class="link" href="clutter-Utilities.html#clutter-param-spec-fixed" title="clutter_param_spec_fixed ()">clutter_param_spec_fixed</a>            (const <a
137
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
138
 
>gchar</a> *name,
139
 
                                                         const <a
140
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
141
 
>gchar</a> *nick,
142
 
                                                         const <a
143
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
144
 
>gchar</a> *blurb,
145
 
                                                         <a
146
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
147
 
>CoglFixed</a> minimum,
148
 
                                                         <a
149
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
150
 
>CoglFixed</a> maximum,
151
 
                                                         <a
152
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
153
 
>CoglFixed</a> default_value,
154
 
                                                         <a
155
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"
156
 
>GParamFlags</a> flags);
157
 
#define             <a class="link" href="clutter-Utilities.html#CLUTTER-VALUE-HOLDS-FIXED--CAPS" title="CLUTTER_VALUE_HOLDS_FIXED()">CLUTTER_VALUE_HOLDS_FIXED</a>           (x)
158
 
void                <a class="link" href="clutter-Utilities.html#clutter-value-set-fixed" title="clutter_value_set_fixed ()">clutter_value_set_fixed</a>             (<a
159
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
160
 
>GValue</a> *value,
161
 
                                                         <a
162
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
163
 
>CoglFixed</a> fixed_);
164
 
<a
165
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
166
 
>CoglFixed</a>           <a class="link" href="clutter-Utilities.html#clutter-value-get-fixed" title="clutter_value_get_fixed ()">clutter_value_get_fixed</a>             (const <a
167
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
168
 
>GValue</a> *value);
 
101
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *        <a class="link" href="clutter-Utilities.html#clutter-param-spec-fixed" title="clutter_param_spec_fixed ()">clutter_param_spec_fixed</a>            (const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *name,
 
102
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *nick,
 
103
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *blurb,
 
104
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> minimum,
 
105
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> maximum,
 
106
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> default_value,
 
107
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="returnvalue">GParamFlags</span></a> flags);
 
108
#define             <a class="link" href="clutter-Utilities.html#CLUTTER-VALUE-HOLDS-FIXED:CAPS" title="CLUTTER_VALUE_HOLDS_FIXED()">CLUTTER_VALUE_HOLDS_FIXED</a>           (x)
 
109
<span class="returnvalue">void</span>                <a class="link" href="clutter-Utilities.html#clutter-value-set-fixed" title="clutter_value_set_fixed ()">clutter_value_set_fixed</a>             (<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *value,
 
110
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> fixed_);
 
111
<a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a>           <a class="link" href="clutter-Utilities.html#clutter-value-get-fixed" title="clutter_value_get_fixed ()">clutter_value_get_fixed</a>             (const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *value);
169
112
</pre>
170
113
</div>
171
114
<div class="refsect1" title="Description">
172
115
<a name="clutter-Utilities.description"></a><h2>Description</h2>
173
116
<p>
174
 
Various misc utilility functions.</p>
175
 
<p>
176
 
</p>
 
117
Various miscellaneous utilility functions.</p>
177
118
</div>
178
119
<div class="refsect1" title="Details">
179
120
<a name="clutter-Utilities.details"></a><h2>Details</h2>
180
121
<div class="refsect2" title="clutter_util_next_p2 ()">
181
122
<a name="clutter-util-next-p2"></a><h3>clutter_util_next_p2 ()</h3>
182
 
<pre class="programlisting">int                 clutter_util_next_p2                (int a);</pre>
 
123
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                clutter_util_next_p2                (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> a);</pre>
 
124
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
125
<h3 class="title">Warning</h3>
 
126
<p><code class="literal">clutter_util_next_p2</code> is deprecated and should not be used in newly-written code. 1.2</p>
 
127
</div>
183
128
<p>
184
129
Calculates the nearest power of two, greater than or equal to <em class="parameter"><code>a</code></em>.</p>
185
 
<p>
186
 
</p>
187
130
<div class="variablelist"><table border="0">
188
131
<col align="left" valign="top">
189
132
<tbody>
195
138
<tr>
196
139
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
197
140
<td> The nearest power of two, greater or equal to <em class="parameter"><code>a</code></em>.
 
141
 
198
142
</td>
199
143
</tr>
200
144
</tbody>
203
147
<hr>
204
148
<div class="refsect2" title="clutter_timeout_pool_new ()">
205
149
<a name="clutter-timeout-pool-new"></a><h3>clutter_timeout_pool_new ()</h3>
206
 
<pre class="programlisting">ClutterTimeoutPool * clutter_timeout_pool_new           (<a
207
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
208
 
>gint</a> priority);</pre>
 
150
<pre class="programlisting"><span class="returnvalue">ClutterTimeoutPool</span> * clutter_timeout_pool_new           (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> priority);</pre>
209
151
<p>
210
152
Creates a new timeout pool source. A timeout pool should be used when
211
153
multiple timeout functions, running at the same priority, are needed and
212
 
the <a
213
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"
214
 
><code class="function">g_timeout_add()</code></a> API might lead to starvation of the time slice of
 
154
the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a> API might lead to starvation of the time slice of
215
155
the main loop. A timeout pool allocates a single time slice of the main
216
156
loop and runs every timeout function inside it. The timeout pool is
217
157
always sorted, so that the extraction of the next timeout function is
218
 
a constant time operation.
219
 
</p>
220
 
<p>
221
 
Inside Clutter, every <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> share the same timeout pool, unless
222
 
the CLUTTER_TIMELINE=no-pool environment variable is set.
223
 
</p>
224
 
<p>
225
 
<span class="type">ClutterTimeoutPool</span> is part of the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> implementation
226
 
and should not be used by application developers.</p>
227
 
<p>
228
 
</p>
 
158
a constant time operation.</p>
229
159
<div class="variablelist"><table border="0">
230
160
<col align="left" valign="top">
231
161
<tbody>
232
162
<tr>
233
163
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
234
164
<td> the priority of the timeout pool. Typically this will
235
 
  be <a
236
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT--CAPS"
237
 
><span class="type">G_PRIORITY_DEFAULT</span></a>
 
165
  be <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><span class="type">G_PRIORITY_DEFAULT</span></a>
238
166
</td>
239
167
</tr>
240
168
<tr>
242
170
<td> the newly created <span class="type">ClutterTimeoutPool</span>. The created pool
243
171
  is owned by the GLib default context and will be automatically
244
172
  destroyed when the context is destroyed. It is possible to force
245
 
  the destruction of the timeout pool using <a
246
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-destroy"
247
 
><code class="function">g_source_destroy()</code></a>
 
173
  the destruction of the timeout pool using <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-destroy"><code class="function">g_source_destroy()</code></a>
248
174
 
249
175
</td>
250
176
</tr>
255
181
<hr>
256
182
<div class="refsect2" title="clutter_timeout_pool_add ()">
257
183
<a name="clutter-timeout-pool-add"></a><h3>clutter_timeout_pool_add ()</h3>
258
 
<pre class="programlisting"><a
259
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
260
 
>guint</a>               clutter_timeout_pool_add            (ClutterTimeoutPool *pool,
261
 
                                                         <a
262
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
263
 
>guint</a> fps,
264
 
                                                         <a
265
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"
266
 
>GSourceFunc</a> func,
267
 
                                                         <a
268
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
269
 
>gpointer</a> data,
270
 
                                                         <a
271
 
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
272
 
>GDestroyNotify</a> notify);</pre>
 
184
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_timeout_pool_add            (<span class="returnvalue">ClutterTimeoutPool</span> *pool,
 
185
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> fps,
 
186
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="returnvalue">GSourceFunc</span></a> func,
 
187
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data,
 
188
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> notify);</pre>
273
189
<p>
274
190
Sets a function to be called at regular intervals, and puts it inside
275
 
the <em class="parameter"><code>pool</code></em>. The function is repeatedly called until it returns <a
276
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
277
 
><code class="literal">FALSE</code></a>,
 
191
the <em class="parameter"><code>pool</code></em>. The function is repeatedly called until it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
278
192
at which point the timeout is automatically destroyed and the function
279
 
won't be called again. If <em class="parameter"><code>notify</code></em> is not <a
280
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
281
 
><code class="literal">NULL</code></a>, the <em class="parameter"><code>notify</code></em> function
 
193
won't be called again. If <em class="parameter"><code>notify</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the <em class="parameter"><code>notify</code></em> function
282
194
will be called. The first call to <em class="parameter"><code>func</code></em> will be at the end of <em class="parameter"><code>interval</code></em>.
283
195
</p>
284
196
<p>
285
 
Since version 0.8 this will try to compensate for delays. For
 
197
Since Clutter 0.8 this will try to compensate for delays. For
286
198
example, if <em class="parameter"><code>func</code></em> takes half the interval time to execute then the
287
199
function will be called again half the interval time after it
288
200
finished. Before version 0.8 it would not fire until a full
290
202
would be <em class="parameter"><code>interval</code></em> * 1.5. This function does not however try to
291
203
invoke the function multiple times to catch up missing frames if
292
204
<em class="parameter"><code>func</code></em> takes more than <em class="parameter"><code>interval</code></em> ms to execute.</p>
293
 
<p>
294
 
</p>
295
205
<div class="variablelist"><table border="0">
296
206
<col align="left" valign="top">
297
207
<tbody>
312
222
</tr>
313
223
<tr>
314
224
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
315
 
<td> data to pass to the function, or <a
316
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
317
 
><code class="literal">NULL</code></a>
 
225
<td> data to pass to the function, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
318
226
</td>
319
227
</tr>
320
228
<tr>
321
229
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
322
 
<td> function to call when the timeout is removed, or <a
323
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
324
 
><code class="literal">NULL</code></a>
 
230
<td> function to call when the timeout is removed, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
325
231
</td>
326
232
</tr>
327
233
<tr>
338
244
<hr>
339
245
<div class="refsect2" title="clutter_timeout_pool_remove ()">
340
246
<a name="clutter-timeout-pool-remove"></a><h3>clutter_timeout_pool_remove ()</h3>
341
 
<pre class="programlisting">void                clutter_timeout_pool_remove         (ClutterTimeoutPool *pool,
342
 
                                                         <a
343
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
344
 
>guint</a> id);</pre>
 
247
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_timeout_pool_remove         (<span class="returnvalue">ClutterTimeoutPool</span> *pool,
 
248
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> id);</pre>
345
249
<p>
346
250
Removes a timeout function with <em class="parameter"><code>id</code></em> from the timeout pool. The id
347
251
is the same returned when adding a function to the timeout pool with
348
252
<a class="link" href="clutter-Utilities.html#clutter-timeout-pool-add" title="clutter_timeout_pool_add ()"><code class="function">clutter_timeout_pool_add()</code></a>.</p>
349
 
<p>
350
 
</p>
351
253
<div class="variablelist"><table border="0">
352
254
<col align="left" valign="top">
353
255
<tbody>
368
270
<hr>
369
271
<div class="refsect2" title="clutter_frame_source_add ()">
370
272
<a name="clutter-frame-source-add"></a><h3>clutter_frame_source_add ()</h3>
371
 
<pre class="programlisting"><a
372
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
373
 
>guint</a>               clutter_frame_source_add            (<a
374
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
375
 
>guint</a> fps,
376
 
                                                         <a
377
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"
378
 
>GSourceFunc</a> func,
379
 
                                                         <a
380
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
381
 
>gpointer</a> data);</pre>
 
273
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_frame_source_add            (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> fps,
 
274
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="returnvalue">GSourceFunc</span></a> func,
 
275
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data);</pre>
382
276
<p>
383
277
Simple wrapper around <a class="link" href="clutter-Utilities.html#clutter-frame-source-add-full" title="clutter_frame_source_add_full ()"><code class="function">clutter_frame_source_add_full()</code></a>.</p>
384
 
<p>
385
 
</p>
386
278
<div class="variablelist"><table border="0">
387
279
<col align="left" valign="top">
388
280
<tbody>
414
306
<hr>
415
307
<div class="refsect2" title="clutter_frame_source_add_full ()">
416
308
<a name="clutter-frame-source-add-full"></a><h3>clutter_frame_source_add_full ()</h3>
417
 
<pre class="programlisting"><a
418
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
419
 
>guint</a>               clutter_frame_source_add_full       (<a
420
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
421
 
>gint</a> priority,
422
 
                                                         <a
423
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
424
 
>guint</a> fps,
425
 
                                                         <a
426
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"
427
 
>GSourceFunc</a> func,
428
 
                                                         <a
429
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
430
 
>gpointer</a> data,
431
 
                                                         <a
432
 
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
433
 
>GDestroyNotify</a> notify);</pre>
 
309
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_frame_source_add_full       (<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> priority,
 
310
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> fps,
 
311
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="returnvalue">GSourceFunc</span></a> func,
 
312
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> data,
 
313
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> notify);</pre>
434
314
<p>
435
315
Sets a function to be called at regular intervals with the given
436
316
priority.  The function is called repeatedly until it returns
437
 
<a
438
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
439
 
><code class="literal">FALSE</code></a>, at which point the timeout is automatically destroyed and
 
317
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, at which point the timeout is automatically destroyed and
440
318
the function will not be called again.  The <em class="parameter"><code>notify</code></em> function is
441
319
called when the timeout is destroyed.  The first call to the
442
320
function will be at the end of the first <em class="parameter"><code>interval</code></em>.
443
321
</p>
444
322
<p>
445
 
This function is similar to <a
446
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"
447
 
><code class="function">g_timeout_add_full()</code></a> except that it
 
323
This function is similar to <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"><code class="function">g_timeout_add_full()</code></a> except that it
448
324
will try to compensate for delays. For example, if <em class="parameter"><code>func</code></em> takes half
449
325
the interval time to execute then the function will be called again
450
326
half the interval time after it finished. In contrast
451
 
<a
452
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"
453
 
><code class="function">g_timeout_add_full()</code></a> would not fire until a full interval after the
 
327
<a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"><code class="function">g_timeout_add_full()</code></a> would not fire until a full interval after the
454
328
function completes so the delay between calls would be 1.0 / <em class="parameter"><code>fps</code></em> *
455
329
1.5. This function does not however try to invoke the function
456
330
multiple times to catch up missing frames if <em class="parameter"><code>func</code></em> takes more than
457
331
<em class="parameter"><code>interval</code></em> ms to execute.</p>
458
 
<p>
459
 
</p>
460
332
<div class="variablelist"><table border="0">
461
333
<col align="left" valign="top">
462
334
<tbody>
463
335
<tr>
464
336
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
465
337
<td> the priority of the frame source. Typically this will be in the
466
 
           range between <a
467
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT--CAPS"
468
 
><span class="type">G_PRIORITY_DEFAULT</span></a> and <a
469
 
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH--CAPS"
470
 
><span class="type">G_PRIORITY_HIGH</span></a>.
 
338
  range between <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a> and <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a>.
471
339
</td>
472
340
</tr>
473
341
<tr>
510
378
} ClutterParamSpecFixed;
511
379
</pre>
512
380
<p>
513
 
<a
514
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
515
 
><span class="type">GParamSpec</span></a> subclass for fixed point based properties</p>
516
 
<p>
517
 
</p>
 
381
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> subclass for fixed point based properties</p>
518
382
<div class="variablelist"><table border="0">
519
383
<col align="left" valign="top">
520
384
<tbody>
521
385
<tr>
522
 
<td><p><span class="term"><a
523
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
524
 
>CoglFixed</a> <em class="structfield"><code>minimum</code></em>;</span></p></td>
 
386
<td><p><span class="term"><a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="type">CoglFixed</span></a> <em class="structfield"><code><a name="ClutterParamSpecFixed.minimum"></a>minimum</code></em>;</span></p></td>
525
387
<td> lower boundary
526
388
</td>
527
389
</tr>
528
390
<tr>
529
 
<td><p><span class="term"><a
530
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
531
 
>CoglFixed</a> <em class="structfield"><code>maximum</code></em>;</span></p></td>
 
391
<td><p><span class="term"><a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="type">CoglFixed</span></a> <em class="structfield"><code><a name="ClutterParamSpecFixed.maximum"></a>maximum</code></em>;</span></p></td>
532
392
<td> higher boundary
533
393
</td>
534
394
</tr>
535
395
<tr>
536
 
<td><p><span class="term"><a
537
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
538
 
>CoglFixed</a> <em class="structfield"><code>default_value</code></em>;</span></p></td>
 
396
<td><p><span class="term"><a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="type">CoglFixed</span></a> <em class="structfield"><code><a name="ClutterParamSpecFixed.default-value"></a>default_value</code></em>;</span></p></td>
539
397
<td> default value
540
398
</td>
541
399
</tr>
546
404
<hr>
547
405
<div class="refsect2" title="clutter_param_spec_fixed ()">
548
406
<a name="clutter-param-spec-fixed"></a><h3>clutter_param_spec_fixed ()</h3>
549
 
<pre class="programlisting"><a
550
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
551
 
>GParamSpec</a> *        clutter_param_spec_fixed            (const <a
552
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
553
 
>gchar</a> *name,
554
 
                                                         const <a
555
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
556
 
>gchar</a> *nick,
557
 
                                                         const <a
558
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
559
 
>gchar</a> *blurb,
560
 
                                                         <a
561
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
562
 
>CoglFixed</a> minimum,
563
 
                                                         <a
564
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
565
 
>CoglFixed</a> maximum,
566
 
                                                         <a
567
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
568
 
>CoglFixed</a> default_value,
569
 
                                                         <a
570
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"
571
 
>GParamFlags</a> flags);</pre>
572
 
<p>
573
 
Creates a <a
574
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
575
 
><span class="type">GParamSpec</span></a> for properties using <a
576
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
577
 
><span class="type">CoglFixed</span></a> values</p>
578
 
<p>
579
 
</p>
 
407
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *        clutter_param_spec_fixed            (const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *name,
 
408
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *nick,
 
409
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *blurb,
 
410
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> minimum,
 
411
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> maximum,
 
412
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> default_value,
 
413
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="returnvalue">GParamFlags</span></a> flags);</pre>
 
414
<p>
 
415
Creates a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> for properties using <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="type">CoglFixed</span></a> values</p>
580
416
<div class="variablelist"><table border="0">
581
417
<col align="left" valign="top">
582
418
<tbody>
617
453
</tr>
618
454
<tr>
619
455
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
620
 
<td> the newly created <a
621
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"
622
 
><span class="type">GParamSpec</span></a>
 
456
<td> the newly created <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>
623
457
 
624
458
</td>
625
459
</tr>
629
463
</div>
630
464
<hr>
631
465
<div class="refsect2" title="CLUTTER_VALUE_HOLDS_FIXED()">
632
 
<a name="CLUTTER-VALUE-HOLDS-FIXED--CAPS"></a><h3>CLUTTER_VALUE_HOLDS_FIXED()</h3>
 
466
<a name="CLUTTER-VALUE-HOLDS-FIXED:CAPS"></a><h3>CLUTTER_VALUE_HOLDS_FIXED()</h3>
633
467
<pre class="programlisting">#define CLUTTER_VALUE_HOLDS_FIXED(x)    (G_VALUE_HOLDS ((x), COGL_TYPE_FIXED))
634
468
</pre>
635
469
<p>
636
 
Evaluates to <a
637
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
638
 
><code class="literal">TRUE</code></a> if <em class="parameter"><code>x</code></em> holds a <a
639
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
640
 
><span class="type">CoglFixed</span></a>   .</p>
641
 
<p>
642
 
</p>
 
470
Evaluates to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>x</code></em> holds a <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="type">CoglFixed</span></a>   .</p>
643
471
<div class="variablelist"><table border="0">
644
472
<col align="left" valign="top">
645
473
<tbody><tr>
646
474
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
647
 
<td> a <a
648
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
649
 
><span class="type">GValue</span></a>
 
475
<td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>
650
476
</td>
651
477
</tr></tbody>
652
478
</table></div>
655
481
<hr>
656
482
<div class="refsect2" title="clutter_value_set_fixed ()">
657
483
<a name="clutter-value-set-fixed"></a><h3>clutter_value_set_fixed ()</h3>
658
 
<pre class="programlisting">void                clutter_value_set_fixed             (<a
659
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
660
 
>GValue</a> *value,
661
 
                                                         <a
662
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
663
 
>CoglFixed</a> fixed_);</pre>
 
484
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_value_set_fixed             (<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *value,
 
485
                                                         <a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a> fixed_);</pre>
664
486
<p>
665
487
Sets <em class="parameter"><code>value</code></em> to <em class="parameter"><code>fixed_</code></em>.</p>
666
 
<p>
667
 
</p>
668
488
<div class="variablelist"><table border="0">
669
489
<col align="left" valign="top">
670
490
<tbody>
671
491
<tr>
672
492
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
673
 
<td> a <a
674
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
675
 
><span class="type">GValue</span></a> initialized to <code class="literal">COGL_TYPE_FIXED</code>
 
493
<td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> initialized to <code class="literal">COGL_TYPE_FIXED</code>
676
494
</td>
677
495
</tr>
678
496
<tr>
687
505
<hr>
688
506
<div class="refsect2" title="clutter_value_get_fixed ()">
689
507
<a name="clutter-value-get-fixed"></a><h3>clutter_value_get_fixed ()</h3>
690
 
<pre class="programlisting"><a
691
 
href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"
692
 
>CoglFixed</a>           clutter_value_get_fixed             (const <a
693
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
694
 
>GValue</a> *value);</pre>
 
508
<pre class="programlisting"><a href="../cogl/cogl-Fixed-Point-API.html#CoglFixed"><span class="returnvalue">CoglFixed</span></a>           clutter_value_get_fixed             (const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *value);</pre>
695
509
<p>
696
510
Gets the fixed point value stored inside <em class="parameter"><code>value</code></em>.</p>
697
 
<p>
698
 
</p>
699
511
<div class="variablelist"><table border="0">
700
512
<col align="left" valign="top">
701
513
<tbody>
702
514
<tr>
703
515
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
704
 
<td> a <a
705
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
706
 
><span class="type">GValue</span></a> initialized to <code class="literal">COGL_TYPE_FIXED</code>
 
516
<td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> initialized to <code class="literal">COGL_TYPE_FIXED</code>
707
517
</td>
708
518
</tr>
709
519
<tr>
710
520
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
711
 
<td> the value inside the passed <a
712
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"
713
 
><span class="type">GValue</span></a>
 
521
<td> the value inside the passed <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>
714
522
 
715
523
</td>
716
524
</tr>
722
530
</div>
723
531
<div class="footer">
724
532
<hr>
725
 
          Generated by GTK-Doc V1.11</div>
 
533
          Generated by GTK-Doc V1.13</div>
726
534
</body>
727
 
</html>
 
535
</html>
 
 
b'\\ No newline at end of file'