~ubuntu-branches/ubuntu/trusty/gdk-pixbuf/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gdk-pixbuf/html/gdk-pixbuf-Inline-data.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2014-03-31 17:15:34 UTC
  • mfrom: (1.5.12)
  • Revision ID: package-import@ubuntu.com-20140331171534-doyyxfo381hocc73
Tags: 2.30.7-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="rn01.html" title="API Reference">
9
9
<link rel="prev" href="gdk-pixbuf-Image-Data-in-Memory.html" title="Image Data in Memory">
10
10
<link rel="next" href="gdk-pixbuf-Scaling.html" title="Scaling">
11
 
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
16
<td width="100%" align="left" class="shortcuts">
17
 
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
 
                  <a href="#gdk-pixbuf-Inline-data.description" class="shortcut">Description</a></span>
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
 
18
                  <a href="#gdk-pixbuf-Inline-data.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#gdk-pixbuf-Inline-data.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
19
20
</td>
20
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
22
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
114
115
</table></div>
115
116
</div>
116
117
<div class="refsect1">
 
118
<a name="gdk-pixbuf-Inline-data.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
119
<pre class="screen">
 
120
</pre>
 
121
</div>
 
122
<div class="refsect1">
117
123
<a name="gdk-pixbuf-Inline-data.includes"></a><h2>Includes</h2>
118
124
<pre class="synopsis">#include &lt;gdk-pixbuf/gdk-pixdata.h&gt;
119
125
</pre>
147
153
pixel data is run-length encoded into newly-allocated memory and a 
148
154
pointer to that memory is returned.</p>
149
155
<div class="refsect3">
150
 
<a name="id-1.2.9.7.3.5"></a><h4>Parameters</h4>
 
156
<a name="id-1.2.9.8.3.5"></a><h4>Parameters</h4>
151
157
<div class="informaltable"><table width="100%" border="0">
152
158
<colgroup>
153
159
<col width="150px" class="parameters_name">
175
181
</table></div>
176
182
</div>
177
183
<div class="refsect3">
178
 
<a name="id-1.2.9.7.3.6"></a><h4>Returns</h4>
 
184
<a name="id-1.2.9.8.3.6"></a><h4>Returns</h4>
179
185
<p> If <em class="parameter"><code>ure_rle</code></em>
180
186
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a pointer to the newly-allocated memory
181
187
for the run-length encoded pixel data, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
194
200
if the pixel data is run-length-encoded, the pixel data is copied into
195
201
newly-allocated memory; otherwise it is reused.</p>
196
202
<div class="refsect3">
197
 
<a name="id-1.2.9.7.4.5"></a><h4>Parameters</h4>
 
203
<a name="id-1.2.9.8.4.5"></a><h4>Parameters</h4>
198
204
<div class="informaltable"><table width="100%" border="0">
199
205
<colgroup>
200
206
<col width="150px" class="parameters_name">
222
228
</table></div>
223
229
</div>
224
230
<div class="refsect3">
225
 
<a name="id-1.2.9.7.4.6"></a><h4>Returns</h4>
 
231
<a name="id-1.2.9.8.4.6"></a><h4>Returns</h4>
226
232
<p> a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. </p>
227
233
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
228
234
</div>
239
245
 
240
246
bytes the structure points to.</p>
241
247
<div class="refsect3">
242
 
<a name="id-1.2.9.7.5.5"></a><h4>Parameters</h4>
 
248
<a name="id-1.2.9.8.5.5"></a><h4>Parameters</h4>
243
249
<div class="informaltable"><table width="100%" border="0">
244
250
<colgroup>
245
251
<col width="150px" class="parameters_name">
261
267
</table></div>
262
268
</div>
263
269
<div class="refsect3">
264
 
<a name="id-1.2.9.7.5.6"></a><h4>Returns</h4>
 
270
<a name="id-1.2.9.8.5.6"></a><h4>Returns</h4>
265
271
<p> A
266
272
newly-allocated string containing the serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>
267
273
structure. </p>
286
292
for validity. This function may fail with <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR-CORRUPT-IMAGE:CAPS"><code class="literal">GDK_PIXBUF_ERROR_CORRUPT_IMAGE</code></a>
287
293
or <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR-UNKNOWN-TYPE:CAPS"><code class="literal">GDK_PIXBUF_ERROR_UNKNOWN_TYPE</code></a>.</p>
288
294
<div class="refsect3">
289
 
<a name="id-1.2.9.7.6.5"></a><h4>Parameters</h4>
 
295
<a name="id-1.2.9.8.6.5"></a><h4>Parameters</h4>
290
296
<div class="informaltable"><table width="100%" border="0">
291
297
<colgroup>
292
298
<col width="150px" class="parameters_name">
319
325
</table></div>
320
326
</div>
321
327
<div class="refsect3">
322
 
<a name="id-1.2.9.7.6.6"></a><h4>Returns</h4>
 
328
<a name="id-1.2.9.8.6.6"></a><h4>Returns</h4>
323
329
<p> Upon successful deserialization <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned,
324
330
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
325
331
<p></p>
338
344
<a class="link" href="gdk-pixbuf-csource.html" title="gdk-pixbuf-csource">gdk-pixbuf-csource</a>, which offers a command
339
345
line interface to this function.</p>
340
346
<div class="refsect3">
341
 
<a name="id-1.2.9.7.7.6"></a><h4>Parameters</h4>
 
347
<a name="id-1.2.9.8.7.6"></a><h4>Parameters</h4>
342
348
<div class="informaltable"><table width="100%" border="0">
343
349
<colgroup>
344
350
<col width="150px" class="parameters_name">
366
372
</table></div>
367
373
</div>
368
374
<div class="refsect3">
369
 
<a name="id-1.2.9.7.7.7"></a><h4>Returns</h4>
 
375
<a name="id-1.2.9.8.7.7"></a><h4>Returns</h4>
370
376
<p> a newly-allocated string containing the C source form
371
377
of <em class="parameter"><code>pixdata</code></em>
372
378
.</p>
393
399
<p>A <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> contains pixbuf information in a form suitable for 
394
400
serialization and streaming.</p>
395
401
<div class="refsect3">
396
 
<a name="id-1.2.9.8.2.5"></a><h4>Members</h4>
 
402
<a name="id-1.2.9.9.2.5"></a><h4>Members</h4>
397
403
<div class="informaltable"><table width="100%" border="0">
398
404
<colgroup>
399
405
<col width="300px" class="struct_members_name">
455
461
one for the used colorspace, one for the width of the samples and one 
456
462
for the encoding of the pixel data.</p>
457
463
<div class="refsect3">
458
 
<a name="id-1.2.9.8.3.4"></a><h4>Members</h4>
 
464
<a name="id-1.2.9.9.3.4"></a><h4>Members</h4>
459
465
<div class="informaltable"><table width="100%" border="0">
460
466
<colgroup>
461
467
<col width="300px" class="enum_members_name">
543
549
. The remaining
544
550
elements are optional flags that can be freely added.</p>
545
551
<div class="refsect3">
546
 
<a name="id-1.2.9.8.4.4"></a><h4>Members</h4>
 
552
<a name="id-1.2.9.9.4.4"></a><h4>Members</h4>
547
553
<div class="informaltable"><table width="100%" border="0">
548
554
<colgroup>
549
555
<col width="300px" class="enum_members_name">
633
639
</div>
634
640
<div class="footer">
635
641
<hr>
636
 
          Generated by GTK-Doc V1.20.1</div>
 
642
          Generated by GTK-Doc V1.20</div>
637
643
</body>
638
644
</html>
 
 
b'\\ No newline at end of file'