This file is indexed.

/usr/share/gtk-doc/html/goffice-0.10/GOImage.html is in libgoffice-0.10-doc 0.10.9-1.

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
 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GOImage</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="ch11.html" title="Images">
<link rel="prev" href="ch11.html" title="Images">
<link rel="next" href="GOPixbuf.html" title="GOPixbuf">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch11.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch11.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">GOffice Reference Manual</th>
<td><a accesskey="n" href="GOPixbuf.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GOImage.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GOImage.description" class="shortcut">Description</a>
                   | 
                  <a href="#GOImage.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GOImage.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GOImage"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GOImage.top_of_page"></a>GOImage</span></h2>
<p>GOImage</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GOImage.synopsis"></a><h2>Synopsis</h2>
<a name="GOImageFormatInfo"></a><pre class="synopsis">                    <a class="link" href="GOImage.html#GOImage-struct" title="GOImage">GOImage</a>;
                    <a class="link" href="GOImage.html#GOImageClass" title="GOImageClass">GOImageClass</a>;
enum                <a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat">GOImageFormat</a>;
                    <a class="link" href="GOImage.html#GOImageFormatInfo-struct" title="GOImageFormatInfo">GOImageFormatInfo</a>;
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GOImage.html#go-image-differ" title="go_image_differ ()">go_image_differ</a>                     (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *first</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *second</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-draw" title="go_image_draw ()">go_image_draw</a>                       (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="GOImage.html#go-image-format-info-get-type" title="go_image_format_info_get_type ()">go_image_format_info_get_type</a>       (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="GOImage.html#go-image-format-to-mime" title="go_image_format_to_mime ()">go_image_format_to_mime</a>             (<em class="parameter"><code><span class="type">char</span> const *format</code></em>);
<span class="returnvalue">guint8</span> const	*      <a class="link" href="GOImage.html#go-image-get-data" title="go_image_get_data ()">go_image_get_data</a>                   (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">gsize</span> *length</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-get-default-dpi" title="go_image_get_default_dpi ()">go_image_get_default_dpi</a>            (<em class="parameter"><code><span class="type">double</span> *dpi_x</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> *dpi_y</code></em>);
<a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="returnvalue">GOImageFormat</span></a>       <a class="link" href="GOImage.html#go-image-get-format-from-name" title="go_image_get_format_from_name ()">go_image_get_format_from_name</a>       (<em class="parameter"><code><span class="type">char</span> const *name</code></em>);
<a class="link" href="GOImage.html#GOImageFormatInfo"><span class="returnvalue">GOImageFormatInfo</span></a> const * <a class="link" href="GOImage.html#go-image-get-format-info" title="go_image_get_format_info ()">go_image_get_format_info</a>      (<em class="parameter"><code><a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a> format</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            <a class="link" href="GOImage.html#go-image-get-formats-with-pixbuf-saver" title="go_image_get_formats_with_pixbuf_saver ()">go_image_get_formats_with_pixbuf_saver</a>
                                                        (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GOImage.html#go-image-get-height" title="go_image_get_height ()">go_image_get_height</a>                 (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> const *image</code></em>);
<span class="returnvalue">char</span> const	*        <a class="link" href="GOImage.html#go-image-get-name" title="go_image_get_name ()">go_image_get_name</a>                   (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> const *image</code></em>);
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="GOImage.html#go-image-get-pixbuf" title="go_image_get_pixbuf ()">go_image_get_pixbuf</a>                 (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>);
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="GOImage.html#go-image-get-scaled-pixbuf" title="go_image_get_scaled_pixbuf ()">go_image_get_scaled_pixbuf</a>          (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>);
<span class="returnvalue">GdkPixbuf</span> const *   <a class="link" href="GOImage.html#go-image-get-thumbnail" title="go_image_get_thumbnail ()">go_image_get_thumbnail</a>              (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GOImage.html#go-image-get-width" title="go_image_get_width ()">go_image_get_width</a>                  (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> const *image</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-load-attrs" title="go_image_load_attrs ()">go_image_load_attrs</a>                 (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">GsfXMLIn</span> *xin</code></em>,
                                                         <em class="parameter"><code><span class="type">xmlChar</span> const **attrs</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-load-data" title="go_image_load_data ()">go_image_load_data</a>                  (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">GsfXMLIn</span> *xin</code></em>);
<a class="link" href="GOImage.html" title="GOImage"><span class="returnvalue">GOImage</span></a> *           <a class="link" href="GOImage.html#go-image-new-for-format" title="go_image_new_for_format ()">go_image_new_for_format</a>             (<em class="parameter"><code><span class="type">char</span> const *format</code></em>);
<a class="link" href="GOImage.html" title="GOImage"><span class="returnvalue">GOImage</span></a> *           <a class="link" href="GOImage.html#go-image-new-from-data" title="go_image_new_from_data ()">go_image_new_from_data</a>              (<em class="parameter"><code><span class="type">char</span> const *type</code></em>,
                                                         <em class="parameter"><code><span class="type">guint8</span> const *data</code></em>,
                                                         <em class="parameter"><code><span class="type">gsize</span> length</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **format</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a class="link" href="GOImage.html" title="GOImage"><span class="returnvalue">GOImage</span></a> *           <a class="link" href="GOImage.html#go-image-new-from-file" title="go_image_new_from_file ()">go_image_new_from_file</a>              (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-save" title="go_image_save ()">go_image_save</a>                       (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">GsfXMLOut</span> *output</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-set-default-dpi" title="go_image_set_default_dpi ()">go_image_set_default_dpi</a>            (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GOImage.html#go-image-set-name" title="go_image_set_name ()">go_image_set_name</a>                   (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> const *name</code></em>);
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="GOImage.html#go-image-type-for-format" title="go_image_type_for_format ()">go_image_type_for_format</a>            (<em class="parameter"><code><span class="type">char</span> const *format</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="GOImage.html#go-mime-to-image-format" title="go_mime_to_image_format ()">go_mime_to_image_format</a>             (<em class="parameter"><code><span class="type">char</span> const *mime_type</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GOImage.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GOImage
         +----<a class="link" href="goffice-0.10-Windows-Metafiles-support.html#GOEmf">GOEmf</a>
         +----<a class="link" href="GOPixbuf.html" title="GOPixbuf">GOPixbuf</a>
         +----<a class="link" href="goffice-0.10-Encapsulated-Postscript-support.html#GOSpectre">GOSpectre</a>
         +----<a class="link" href="goffice-0.10-Scalable-Vector-Graphics-support.html#GOSvg">GOSvg</a>
</pre>
<pre class="synopsis">
  GBoxed
   +----GOImageFormatInfo
</pre>
</div>
<div class="refsect1">
<a name="GOImage.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GOImage.html#GOImage--height" title='The "height" property'>height</a>"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
  "<a class="link" href="GOImage.html#GOImage--width" title='The "width" property'>width</a>"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GOImage.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GOImage.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GOImage-struct"></a><h3>GOImage</h3>
<pre class="programlisting">typedef struct _GOImage GOImage;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GOImageClass"></a><h3>GOImageClass</h3>
<pre class="programlisting">typedef struct {
	GObjectClass parent_klass;

	GdkPixbuf *(*get_pixbuf) (GOImage *image);
	GdkPixbuf *(*get_scaled_pixbuf) (GOImage *image, int width, int height);
	void (*save) (GOImage *image, GsfXMLOut *output);
	void (*load_attr) (GOImage *image, xmlChar const *attr_name, xmlChar const *attr_value);
	void (*load_data) (GOImage *image, GsfXMLIn *xin);
	void (*draw) (GOImage *image, cairo_t *cr);
	gboolean (*differ) (GOImage *first, GOImage *second);
} GOImageClass;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GOImageClass.parent-klass"></a>parent_klass</code></em>;</span></p></td>
<td>parent class.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.get-pixbuf"></a>get_pixbuf</code></em> ()</span></p></td>
<td>gets a pixbuf with the same size as the image.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.get-scaled-pixbuf"></a>get_scaled_pixbuf</code></em> ()</span></p></td>
<td>gets a scaled pixbuf respecting the original aspect ratio.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.save"></a>save</code></em> ()</span></p></td>
<td>saves the image.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.load-attr"></a>load_attr</code></em> ()</span></p></td>
<td>loads the images properties.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.load-data"></a>load_data</code></em> ()</span></p></td>
<td>loads the image data.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.draw"></a>draw</code></em> ()</span></p></td>
<td>draws the image.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GOImageClass.differ"></a>differ</code></em> ()</span></p></td>
<td>returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two images are different.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GOImageFormat"></a><h3>enum GOImageFormat</h3>
<pre class="programlisting">typedef enum {
	GO_IMAGE_FORMAT_SVG,
	GO_IMAGE_FORMAT_PNG,
	GO_IMAGE_FORMAT_JPG,
	GO_IMAGE_FORMAT_PDF,
	GO_IMAGE_FORMAT_PS,
	GO_IMAGE_FORMAT_EMF,
	GO_IMAGE_FORMAT_WMF,
	GO_IMAGE_FORMAT_EPS,
	GO_IMAGE_FORMAT_UNKNOWN
} GOImageFormat;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-SVG:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_SVG</code></span></p></td>
<td>SVG.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-PNG:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_PNG</code></span></p></td>
<td>PNG.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-JPG:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_JPG</code></span></p></td>
<td>JPEG.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-PDF:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_PDF</code></span></p></td>
<td>PDF.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-PS:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_PS</code></span></p></td>
<td>PostScript.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-EMF:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_EMF</code></span></p></td>
<td>Enhanced Metafile.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-WMF:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_WMF</code></span></p></td>
<td>Windows Metafile.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-EPS:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_EPS</code></span></p></td>
<td>Encapsulated Postscript.
</td>
</tr>
<tr>
<td><p><a name="GO-IMAGE-FORMAT-UNKNOWN:CAPS"></a><span class="term"><code class="literal">GO_IMAGE_FORMAT_UNKNOWN</code></span></p></td>
<td>unknown.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GOImageFormatInfo-struct"></a><h3>GOImageFormatInfo</h3>
<pre class="programlisting">typedef struct {
	GOImageFormat format;
	char *name;
	char *desc;
	char *ext;
	gboolean has_pixbuf_saver;
	gboolean is_dpi_useful;
	gboolean alpha_support;
} GOImageFormatInfo;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a> <em class="structfield"><code><a name="GOImageFormatInfo-struct.format"></a>format</code></em>;</span></p></td>
<td>
<a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GOImageFormatInfo-struct.name"></a>name</code></em>;</span></p></td>
<td>image type name.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GOImageFormatInfo-struct.desc"></a>desc</code></em>;</span></p></td>
<td>image type description.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GOImageFormatInfo-struct.ext"></a>ext</code></em>;</span></p></td>
<td>file extension.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOImageFormatInfo-struct.has-pixbuf-saver"></a>has_pixbuf_saver</code></em>;</span></p></td>
<td>can be saved as pixbuf.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOImageFormatInfo-struct.is-dpi-useful"></a>is_dpi_useful</code></em>;</span></p></td>
<td>depends upon device resolution.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOImageFormatInfo-struct.alpha-support"></a>alpha_support</code></em>;</span></p></td>
<td>supports transparency.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-differ"></a><h3>go_image_differ ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            go_image_differ                     (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *first</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *second</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-draw"></a><h3>go_image_draw ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_draw                       (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-format-info-get-type"></a><h3>go_image_format_info_get_type ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               go_image_format_info_get_type       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-format-to-mime"></a><h3>go_image_format_to_mime ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              go_image_format_to_mime             (<em class="parameter"><code><span class="type">char</span> const *format</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>a file extension string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>corresponding mime type.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-data"></a><h3>go_image_get_data ()</h3>
<pre class="programlisting"><span class="returnvalue">guint8</span> const	*      go_image_get_data                   (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-default-dpi"></a><h3>go_image_get_default_dpi ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_get_default_dpi            (<em class="parameter"><code><span class="type">double</span> *dpi_x</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> *dpi_y</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-format-from-name"></a><h3>go_image_get_format_from_name ()</h3>
<pre class="programlisting"><a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="returnvalue">GOImageFormat</span></a>       go_image_get_format_from_name       (<em class="parameter"><code><span class="type">char</span> const *name</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>corresponding <a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-format-info"></a><h3>go_image_get_format_info ()</h3>
<pre class="programlisting"><a class="link" href="GOImage.html#GOImageFormatInfo"><span class="returnvalue">GOImageFormatInfo</span></a> const * go_image_get_format_info      (<em class="parameter"><code><a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a> format</code></em>);</pre>
<p>
Retrieves information associated to <em class="parameter"><code>format</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>a <a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a class="link" href="GOImage.html#GOImageFormatInfo"><span class="type">GOImageFormatInfo</span></a> struct.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-formats-with-pixbuf-saver"></a><h3>go_image_get_formats_with_pixbuf_saver ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            go_image_get_formats_with_pixbuf_saver
                                                        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of <a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a> that can be created
from a pixbuf. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOImageFormat][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-height"></a><h3>go_image_get_height ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_image_get_height                 (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> const *image</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-name"></a><h3>go_image_get_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const	*        go_image_get_name                   (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> const *image</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-pixbuf"></a><h3>go_image_get_pixbuf ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         go_image_get_pixbuf                 (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>);</pre>
<p>
Builds a pixbuf from the image if not already done and returns it, adding
a reference.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
<td><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the pixbuf for <em class="parameter"><code>image</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-scaled-pixbuf"></a><h3>go_image_get_scaled_pixbuf ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         go_image_get_scaled_pixbuf          (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
<p>
Builds a scaled pixbuf from the image and returns it. The caller needs to
unref it. The pixbuf is scaled so that its width and height are not larger
than, respectively, <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>, and preserving the aspect ratio.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
<td><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>the new pixbuf width</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>the new pixbuf height</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the scaled pixbuf for <em class="parameter"><code>image</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-thumbnail"></a><h3>go_image_get_thumbnail ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> const *   go_image_get_thumbnail              (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>);</pre>
<p>
Generates a thumbnail for <em class="parameter"><code>image</code></em> if not already done and returns it, adding
 a reference. The pixbuf is scaled so that its width and height are not larger
than 64 pixels, and preserving the aspect ratio.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
<td><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the thumbnail for <em class="parameter"><code>image</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-image-get-width"></a><h3>go_image_get_width ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_image_get_width                  (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> const *image</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-load-attrs"></a><h3>go_image_load_attrs ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_load_attrs                 (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">GsfXMLIn</span> *xin</code></em>,
                                                         <em class="parameter"><code><span class="type">xmlChar</span> const **attrs</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-load-data"></a><h3>go_image_load_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_load_data                  (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">GsfXMLIn</span> *xin</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-new-for-format"></a><h3>go_image_new_for_format ()</h3>
<pre class="programlisting"><a class="link" href="GOImage.html" title="GOImage"><span class="returnvalue">GOImage</span></a> *           go_image_new_for_format             (<em class="parameter"><code><span class="type">char</span> const *format</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-new-from-data"></a><h3>go_image_new_from_data ()</h3>
<pre class="programlisting"><a class="link" href="GOImage.html" title="GOImage"><span class="returnvalue">GOImage</span></a> *           go_image_new_from_data              (<em class="parameter"><code><span class="type">char</span> const *type</code></em>,
                                                         <em class="parameter"><code><span class="type">guint8</span> const *data</code></em>,
                                                         <em class="parameter"><code><span class="type">gsize</span> length</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **format</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-new-from-file"></a><h3>go_image_new_from_file ()</h3>
<pre class="programlisting"><a class="link" href="GOImage.html" title="GOImage"><span class="returnvalue">GOImage</span></a> *           go_image_new_from_file              (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-save"></a><h3>go_image_save ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_save                       (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">GsfXMLOut</span> *output</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-set-default-dpi"></a><h3>go_image_set_default_dpi ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_set_default_dpi            (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
                                                         <em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-set-name"></a><h3>go_image_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_image_set_name                   (<em class="parameter"><code><a class="link" href="GOImage.html" title="GOImage"><span class="type">GOImage</span></a> *image</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> const *name</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-image-type-for-format"></a><h3>go_image_type_for_format ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               go_image_type_for_format            (<em class="parameter"><code><span class="type">char</span> const *format</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-mime-to-image-format"></a><h3>go_mime_to_image_format ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              go_mime_to_image_format             (<em class="parameter"><code><span class="type">char</span> const *mime_type</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a mime type string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>file extension for the given mime type.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GOImage.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GOImage--height"></a><h3>The <code class="literal">"height"</code> property</h3>
<pre class="programlisting">  "height"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
<p>Image height in pixels.</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GOImage--width"></a><h3>The <code class="literal">"width"</code> property</h3>
<pre class="programlisting">  "width"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
<p>Image width in pixels.</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>