gdk_pixbuf2 2.2.4-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. checksums.yaml +7 -0
  2. data/README +29 -0
  3. data/Rakefile +34 -0
  4. data/ext/gdk_pixbuf2/depend +11 -0
  5. data/ext/gdk_pixbuf2/extconf.rb +66 -0
  6. data/ext/gdk_pixbuf2/gdk_pixbuf2.def +2 -0
  7. data/ext/gdk_pixbuf2/rbgdk-pixbuf-format.c +179 -0
  8. data/ext/gdk_pixbuf2/rbgdk-pixbuf-loader.c +164 -0
  9. data/ext/gdk_pixbuf2/rbgdk-pixbuf.c +737 -0
  10. data/ext/gdk_pixbuf2/rbgdk-pixbuf.h +41 -0
  11. data/ext/gdk_pixbuf2/rbgdk-pixbuf2conversions.h +42 -0
  12. data/ext/gdk_pixbuf2/rbgdk-pixbuf2private.h +35 -0
  13. data/ext/gdk_pixbuf2/rbgdk-pixbufanimation.c +93 -0
  14. data/ext/gdk_pixbuf2/rbgdk-pixbufanimationiter.c +71 -0
  15. data/ext/gdk_pixbuf2/rbgdk-pixbufsimpleanim.c +53 -0
  16. data/ext/gdk_pixbuf2/rbgdk-pixdata.c +213 -0
  17. data/extconf.rb +49 -0
  18. data/lib/2.0/gdk_pixbuf2.so +0 -0
  19. data/lib/2.1/gdk_pixbuf2.so +0 -0
  20. data/lib/2.2/gdk_pixbuf2.so +0 -0
  21. data/lib/gdk_pixbuf2.rb +57 -0
  22. data/sample/anim.rb +38 -0
  23. data/sample/composite.rb +45 -0
  24. data/sample/flip.rb +47 -0
  25. data/sample/floppybuddy.gif +0 -0
  26. data/sample/format.rb +39 -0
  27. data/sample/gnome-foot.png +0 -0
  28. data/sample/inline.rb +37 -0
  29. data/sample/loader.rb +20 -0
  30. data/sample/pixdata.rb +39 -0
  31. data/sample/rotate.rb +45 -0
  32. data/sample/save.rb +25 -0
  33. data/sample/scale.rb +45 -0
  34. data/sample/simpleanim.rb +34 -0
  35. data/sample/utils.rb +44 -0
  36. data/sample/xpm.rb +40 -0
  37. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  38. data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
  39. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  40. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  41. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +204 -0
  42. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +464 -0
  43. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +33 -0
  44. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +120 -0
  45. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +343 -0
  46. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +108 -0
  47. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +36 -0
  48. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +64 -0
  49. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +158 -0
  50. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +43 -0
  51. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +168 -0
  52. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +139 -0
  53. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
  54. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  55. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  56. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +41 -0
  57. data/vendor/local/lib/gdk_pixbuf-2.0.def +128 -0
  58. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  59. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  60. data/vendor/local/lib/libgdk_pixbuf-2.0.la +41 -0
  61. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +19 -0
  62. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +3443 -0
  63. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +827 -0
  64. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +65 -0
  65. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +35 -0
  66. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +46 -0
  67. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +108 -0
  68. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +50 -0
  69. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +47 -0
  70. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +35 -0
  71. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +72 -0
  72. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +65 -0
  73. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +39 -0
  74. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +53 -0
  75. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +787 -0
  76. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/composite.png +0 -0
  77. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +1068 -0
  78. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +794 -0
  79. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +864 -0
  80. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +491 -0
  81. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +639 -0
  82. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +1298 -0
  83. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +208 -0
  84. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +914 -0
  85. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +898 -0
  86. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +381 -0
  87. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +184 -0
  88. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +197 -0
  89. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +438 -0
  90. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +1115 -0
  91. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +167 -0
  92. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +159 -0
  93. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +45 -0
  94. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +44 -0
  95. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +85 -0
  96. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +226 -0
  97. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/home.png +0 -0
  98. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +150 -0
  99. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +322 -0
  100. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left-insensitive.png +0 -0
  101. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +59 -0
  103. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right-insensitive.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +101 -0
  106. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +50 -0
  107. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +476 -0
  108. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up-insensitive.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up.png +0 -0
  110. data/vendor/local/share/license/gdk-pixbuf/AUTHORS +65 -0
  111. data/vendor/local/share/license/gdk-pixbuf/COPYING +482 -0
  112. data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  113. data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  114. data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  115. data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  116. data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  117. data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  118. data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  119. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  120. data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  121. data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  122. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  123. data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  124. data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  125. data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  126. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  127. data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  128. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  129. data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  130. data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  131. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  132. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  133. data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  134. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  135. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  136. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  137. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  138. data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  139. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  140. data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  141. data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  142. data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  143. data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  144. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  145. data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  146. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  147. data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  148. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  149. data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  150. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  151. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  152. data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  153. data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  154. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  155. data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  156. data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  157. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  158. data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  159. data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  160. data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  161. data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  162. data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  163. data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  164. data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  165. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  166. data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  167. data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  168. data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  169. data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  170. data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  171. data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  172. data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  173. data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  174. data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  175. data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  176. data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  177. data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  178. data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  179. data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  180. data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  181. data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  182. data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  183. data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  184. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  185. data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  186. data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  187. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  188. data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  189. data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  190. data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  191. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  192. data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  193. data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  194. data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  195. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  196. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  197. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  198. data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  199. data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  200. data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  201. data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  202. data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  203. data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  204. data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  205. data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  206. data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  207. data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  208. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  209. data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  210. data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  211. data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  212. data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  213. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  214. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  215. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  216. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +135 -0
  217. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +73 -0
  218. metadata +273 -0
@@ -0,0 +1,827 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GDK-PixBuf Reference Manual: GdkPixbufLoader</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
8
+ <link rel="up" href="rn01.html" title="API Reference">
9
+ <link rel="prev" href="gdk-pixbuf-Animations.html" title="Animations">
10
+ <link rel="next" href="gdk-pixbuf-Module-Interface.html" title="Module Interface">
11
+ <meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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">
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="#GdkPixbufLoader.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#GdkPixbufLoader.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals">  <span class="dim">|</span> 
20
+ <a href="#GdkPixbufLoader.signals" class="shortcut">Signals</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="gdk-pixbuf-Animations.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="gdk-pixbuf-Module-Interface.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="GdkPixbufLoader"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="GdkPixbufLoader.top_of_page"></a>GdkPixbufLoader</span></h2>
32
+ <p>GdkPixbufLoader — Application-driven progressive image loading.</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="GdkPixbufLoader.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="function_type">
46
+ <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new" title="gdk_pixbuf_loader_new ()">gdk_pixbuf_loader_new</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new-with-type" title="gdk_pixbuf_loader_new_with_type ()">gdk_pixbuf_loader_new_with_type</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new-with-mime-type" title="gdk_pixbuf_loader_new_with_mime_type ()">gdk_pixbuf_loader_new_with_mime_type</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-format" title="gdk_pixbuf_loader_get_format ()">gdk_pixbuf_loader_get_format</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()">gdk_pixbuf_loader_write</a> <span class="c_punctuation">()</span>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td class="function_type">
86
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write-bytes" title="gdk_pixbuf_loader_write_bytes ()">gdk_pixbuf_loader_write_bytes</a> <span class="c_punctuation">()</span>
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td class="function_type">
94
+ <span class="returnvalue">void</span>
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()">gdk_pixbuf_loader_set_size</a> <span class="c_punctuation">()</span>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td class="function_type">
102
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
103
+ </td>
104
+ <td class="function_name">
105
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()">gdk_pixbuf_loader_get_pixbuf</a> <span class="c_punctuation">()</span>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td class="function_type">
110
+ <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
111
+ </td>
112
+ <td class="function_name">
113
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-animation" title="gdk_pixbuf_loader_get_animation ()">gdk_pixbuf_loader_get_animation</a> <span class="c_punctuation">()</span>
114
+ </td>
115
+ </tr>
116
+ <tr>
117
+ <td class="function_type">
118
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
119
+ </td>
120
+ <td class="function_name">
121
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()">gdk_pixbuf_loader_close</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ </tbody>
125
+ </table></div>
126
+ </div>
127
+ <div class="refsect1">
128
+ <a name="GdkPixbufLoader.signals"></a><h2>Signals</h2>
129
+ <div class="informaltable"><table border="0">
130
+ <colgroup>
131
+ <col width="150px" class="signals_return">
132
+ <col width="300px" class="signals_name">
133
+ <col width="200px" class="signals_flags">
134
+ </colgroup>
135
+ <tbody>
136
+ <tr>
137
+ <td class="signal_type"><span class="returnvalue">void</span></td>
138
+ <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal">area-prepared</a></td>
139
+ <td class="signal_flags">Run Last</td>
140
+ </tr>
141
+ <tr>
142
+ <td class="signal_type"><span class="returnvalue">void</span></td>
143
+ <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title="The “area-updated” signal">area-updated</a></td>
144
+ <td class="signal_flags">Run Last</td>
145
+ </tr>
146
+ <tr>
147
+ <td class="signal_type"><span class="returnvalue">void</span></td>
148
+ <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-closed" title="The “closed” signal">closed</a></td>
149
+ <td class="signal_flags">Run Last</td>
150
+ </tr>
151
+ <tr>
152
+ <td class="signal_type"><span class="returnvalue">void</span></td>
153
+ <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title="The “size-prepared” signal">size-prepared</a></td>
154
+ <td class="signal_flags">Run Last</td>
155
+ </tr>
156
+ </tbody>
157
+ </table></div>
158
+ </div>
159
+ <div class="refsect1">
160
+ <a name="GdkPixbufLoader.other"></a><h2>Types and Values</h2>
161
+ <div class="informaltable"><table width="100%" border="0">
162
+ <colgroup>
163
+ <col width="150px" class="name">
164
+ <col class="description">
165
+ </colgroup>
166
+ <tbody><tr>
167
+ <td class="datatype_keyword">struct</td>
168
+ <td class="function_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-struct" title="struct GdkPixbufLoader">GdkPixbufLoader</a></td>
169
+ </tr></tbody>
170
+ </table></div>
171
+ </div>
172
+ <div class="refsect1">
173
+ <a name="GdkPixbufLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
174
+ <pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
175
+ <span class="lineart">╰──</span> GdkPixbufLoader
176
+ </pre>
177
+ </div>
178
+ <div class="refsect1">
179
+ <a name="GdkPixbufLoader.includes"></a><h2>Includes</h2>
180
+ <pre class="synopsis">#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
181
+ </pre>
182
+ </div>
183
+ <div class="refsect1">
184
+ <a name="GdkPixbufLoader.description"></a><h2>Description</h2>
185
+ <p><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> provides a way for applications to drive the
186
+ process of loading an image, by letting them send the image data
187
+ directly to the loader instead of having the loader read the data
188
+ from a file. Applications can use this functionality instead of
189
+ <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file" title="gdk_pixbuf_new_from_file ()"><code class="function">gdk_pixbuf_new_from_file()</code></a> or <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file ()"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a>
190
+ when they need to parse image data in
191
+ small chunks. For example, it should be used when reading an
192
+ image from a (potentially) slow network connection, or when
193
+ loading an extremely large file.</p>
194
+ <p>To use <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> to load an image, just create a new one, and
195
+ call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> to send the data to it. When done,
196
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> should be called to end the stream and
197
+ finalize everything. The loader will emit three important signals
198
+ throughout the process. The first, <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title="The “size-prepared” signal"><span class="type">“size-prepared”</span></a>,
199
+ will be emitted as soon as the image has enough information to
200
+ determine the size of the image to be used. If you want to scale
201
+ the image while loading it, you can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a>
202
+ in response to this signal.</p>
203
+ <p>The second signal, <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal"><span class="type">“area-prepared”</span></a>, will be emitted as
204
+ soon as the pixbuf of the desired has been allocated. You can obtain it
205
+ by calling <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a>. If you want to use it, simply
206
+ ref it. In addition, no actual information will be passed in yet, so the
207
+ pixbuf can be safely filled with any temporary graphics (or an initial
208
+ color) as needed. You can also call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a> later
209
+ and get the same pixbuf.</p>
210
+ <p>The last signal, <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title="The “area-updated” signal"><span class="type">“area-updated”</span></a>, gets emitted every time
211
+ a region is updated. This way you can update a partially completed image.
212
+ Note that you do not know anything about the completeness of an image
213
+ from the updated area. For example, in an interlaced image, you need to
214
+ make several passes before the image is done loading.</p>
215
+ <div class="refsect2">
216
+ <a name="id-1.2.15.8.6"></a><h3>Loading an animation</h3>
217
+ <p>Loading an animation is almost as easy as loading an image. Once the first
218
+ <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal"><span class="type">“area-prepared”</span></a> signal has been emitted, you can call
219
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-animation" title="gdk_pixbuf_loader_get_animation ()"><code class="function">gdk_pixbuf_loader_get_animation()</code></a> to get the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> struct
220
+ and <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a> to get a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> for
221
+ displaying it.</p>
222
+ </div>
223
+ </div>
224
+ <div class="refsect1">
225
+ <a name="GdkPixbufLoader.functions_details"></a><h2>Functions</h2>
226
+ <div class="refsect2">
227
+ <a name="gdk-pixbuf-loader-new"></a><h3>gdk_pixbuf_loader_new ()</h3>
228
+ <pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
229
+ gdk_pixbuf_loader_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
230
+ <p>Creates a new pixbuf loader object.</p>
231
+ <div class="refsect3">
232
+ <a name="id-1.2.15.9.2.5"></a><h4>Returns</h4>
233
+ <p> A newly-created pixbuf loader.</p>
234
+ <p></p>
235
+ </div>
236
+ </div>
237
+ <hr>
238
+ <div class="refsect2">
239
+ <a name="gdk-pixbuf-loader-new-with-type"></a><h3>gdk_pixbuf_loader_new_with_type ()</h3>
240
+ <pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
241
+ gdk_pixbuf_loader_new_with_type (<em class="parameter"><code>const <span class="type">char</span> *image_type</code></em>,
242
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
243
+ <p>Creates a new pixbuf loader object that always attempts to parse
244
+ image data as if it were an image of type <em class="parameter"><code>image_type</code></em>
245
+ , instead of
246
+ identifying the type automatically. Useful if you want an error if
247
+ the image isn't the expected type, for loading image formats
248
+ that can't be reliably identified by looking at the data, or if
249
+ the user manually forces a specific type.</p>
250
+ <p>The list of supported image formats depends on what image loaders
251
+ are installed, but typically "png", "jpeg", "gif", "tiff" and
252
+ "xpm" are among the supported formats. To obtain the full list of
253
+ supported image formats, call <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name ()"><code class="function">gdk_pixbuf_format_get_name()</code></a> on each
254
+ of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.</p>
255
+ <div class="refsect3">
256
+ <a name="id-1.2.15.9.3.6"></a><h4>Parameters</h4>
257
+ <div class="informaltable"><table width="100%" border="0">
258
+ <colgroup>
259
+ <col width="150px" class="parameters_name">
260
+ <col class="parameters_description">
261
+ <col width="200px" class="parameters_annotations">
262
+ </colgroup>
263
+ <tbody>
264
+ <tr>
265
+ <td class="parameter_name"><p>image_type</p></td>
266
+ <td class="parameter_description"><p>name of the image format to be loaded with the image</p></td>
267
+ <td class="parameter_annotations"> </td>
268
+ </tr>
269
+ <tr>
270
+ <td class="parameter_name"><p>error</p></td>
271
+ <td class="parameter_description"><p> return location for an allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
272
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
273
+ </tr>
274
+ </tbody>
275
+ </table></div>
276
+ </div>
277
+ <div class="refsect3">
278
+ <a name="id-1.2.15.9.3.7"></a><h4>Returns</h4>
279
+ <p> A newly-created pixbuf loader.</p>
280
+ <p></p>
281
+ </div>
282
+ </div>
283
+ <hr>
284
+ <div class="refsect2">
285
+ <a name="gdk-pixbuf-loader-new-with-mime-type"></a><h3>gdk_pixbuf_loader_new_with_mime_type ()</h3>
286
+ <pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
287
+ gdk_pixbuf_loader_new_with_mime_type (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
288
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
289
+ <p>Creates a new pixbuf loader object that always attempts to parse
290
+ image data as if it were an image of mime type <em class="parameter"><code>mime_type</code></em>
291
+ , instead of
292
+ identifying the type automatically. Useful if you want an error if
293
+ the image isn't the expected mime type, for loading image formats
294
+ that can't be reliably identified by looking at the data, or if
295
+ the user manually forces a specific mime type.</p>
296
+ <p>The list of supported mime types depends on what image loaders
297
+ are installed, but typically "image/png", "image/jpeg", "image/gif",
298
+ "image/tiff" and "image/x-xpixmap" are among the supported mime types.
299
+ To obtain the full list of supported mime types, call
300
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()"><code class="function">gdk_pixbuf_format_get_mime_types()</code></a> on each of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
301
+ structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.</p>
302
+ <div class="refsect3">
303
+ <a name="id-1.2.15.9.4.6"></a><h4>Parameters</h4>
304
+ <div class="informaltable"><table width="100%" border="0">
305
+ <colgroup>
306
+ <col width="150px" class="parameters_name">
307
+ <col class="parameters_description">
308
+ <col width="200px" class="parameters_annotations">
309
+ </colgroup>
310
+ <tbody>
311
+ <tr>
312
+ <td class="parameter_name"><p>mime_type</p></td>
313
+ <td class="parameter_description"><p>the mime type to be loaded </p></td>
314
+ <td class="parameter_annotations"> </td>
315
+ </tr>
316
+ <tr>
317
+ <td class="parameter_name"><p>error</p></td>
318
+ <td class="parameter_description"><p> return location for an allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
319
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
320
+ </tr>
321
+ </tbody>
322
+ </table></div>
323
+ </div>
324
+ <div class="refsect3">
325
+ <a name="id-1.2.15.9.4.7"></a><h4>Returns</h4>
326
+ <p> A newly-created pixbuf loader.</p>
327
+ <p></p>
328
+ </div>
329
+ <p class="since">Since 2.4</p>
330
+ </div>
331
+ <hr>
332
+ <div class="refsect2">
333
+ <a name="gdk-pixbuf-loader-get-format"></a><h3>gdk_pixbuf_loader_get_format ()</h3>
334
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
335
+ gdk_pixbuf_loader_get_format (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
336
+ <p>Obtains the available information about the format of the
337
+ currently loading image file.</p>
338
+ <div class="refsect3">
339
+ <a name="id-1.2.15.9.5.5"></a><h4>Parameters</h4>
340
+ <div class="informaltable"><table width="100%" border="0">
341
+ <colgroup>
342
+ <col width="150px" class="parameters_name">
343
+ <col class="parameters_description">
344
+ <col width="200px" class="parameters_annotations">
345
+ </colgroup>
346
+ <tbody><tr>
347
+ <td class="parameter_name"><p>loader</p></td>
348
+ <td class="parameter_description"><p>A pixbuf loader.</p></td>
349
+ <td class="parameter_annotations"> </td>
350
+ </tr></tbody>
351
+ </table></div>
352
+ </div>
353
+ <div class="refsect3">
354
+ <a name="id-1.2.15.9.5.6"></a><h4>Returns</h4>
355
+ <p> A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> or
356
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The return value is owned by GdkPixbuf and should not be
357
+ freed. </p>
358
+ <p><span class="annotation">[nullable][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
359
+ </div>
360
+ <p class="since">Since 2.2</p>
361
+ </div>
362
+ <hr>
363
+ <div class="refsect2">
364
+ <a name="gdk-pixbuf-loader-write"></a><h3>gdk_pixbuf_loader_write ()</h3>
365
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
366
+ gdk_pixbuf_loader_write (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
367
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
368
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
369
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
370
+ <p>This will cause a pixbuf loader to parse the next <em class="parameter"><code>count</code></em>
371
+ bytes of
372
+ an image. It will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data was loaded successfully,
373
+ and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case, the loader
374
+ will be closed, and will not accept further writes. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
375
+ returned, <em class="parameter"><code>error</code></em>
376
+ will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
377
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
378
+ <div class="refsect3">
379
+ <a name="id-1.2.15.9.6.5"></a><h4>Parameters</h4>
380
+ <div class="informaltable"><table width="100%" border="0">
381
+ <colgroup>
382
+ <col width="150px" class="parameters_name">
383
+ <col class="parameters_description">
384
+ <col width="200px" class="parameters_annotations">
385
+ </colgroup>
386
+ <tbody>
387
+ <tr>
388
+ <td class="parameter_name"><p>loader</p></td>
389
+ <td class="parameter_description"><p>A pixbuf loader.</p></td>
390
+ <td class="parameter_annotations"> </td>
391
+ </tr>
392
+ <tr>
393
+ <td class="parameter_name"><p>buf</p></td>
394
+ <td class="parameter_description"><p> Pointer to image data. </p></td>
395
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
396
+ </tr>
397
+ <tr>
398
+ <td class="parameter_name"><p>count</p></td>
399
+ <td class="parameter_description"><p>Length of the <em class="parameter"><code>buf</code></em>
400
+ buffer in bytes.</p></td>
401
+ <td class="parameter_annotations"> </td>
402
+ </tr>
403
+ <tr>
404
+ <td class="parameter_name"><p>error</p></td>
405
+ <td class="parameter_description"><p>return location for errors</p></td>
406
+ <td class="parameter_annotations"> </td>
407
+ </tr>
408
+ </tbody>
409
+ </table></div>
410
+ </div>
411
+ <div class="refsect3">
412
+ <a name="id-1.2.15.9.6.6"></a><h4>Returns</h4>
413
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
414
+ cannot parse the buffer.</p>
415
+ <p></p>
416
+ </div>
417
+ </div>
418
+ <hr>
419
+ <div class="refsect2">
420
+ <a name="gdk-pixbuf-loader-write-bytes"></a><h3>gdk_pixbuf_loader_write_bytes ()</h3>
421
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
422
+ gdk_pixbuf_loader_write_bytes (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
423
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *buffer</code></em>,
424
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
425
+ <p>This will cause a pixbuf loader to parse a buffer inside a <a href="http://library.gnome.org/devel/glib/unstable/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>
426
+ for an image. It will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data was loaded successfully,
427
+ and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case, the loader
428
+ will be closed, and will not accept further writes. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
429
+ returned, <em class="parameter"><code>error</code></em>
430
+ will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
431
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
432
+ <p>See also: <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a></p>
433
+ <div class="refsect3">
434
+ <a name="id-1.2.15.9.7.6"></a><h4>Parameters</h4>
435
+ <div class="informaltable"><table width="100%" border="0">
436
+ <colgroup>
437
+ <col width="150px" class="parameters_name">
438
+ <col class="parameters_description">
439
+ <col width="200px" class="parameters_annotations">
440
+ </colgroup>
441
+ <tbody>
442
+ <tr>
443
+ <td class="parameter_name"><p>loader</p></td>
444
+ <td class="parameter_description"><p>A pixbuf loader.</p></td>
445
+ <td class="parameter_annotations"> </td>
446
+ </tr>
447
+ <tr>
448
+ <td class="parameter_name"><p>buffer</p></td>
449
+ <td class="parameter_description"><p>The image data as a <a href="http://library.gnome.org/devel/glib/unstable/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a></p></td>
450
+ <td class="parameter_annotations"> </td>
451
+ </tr>
452
+ <tr>
453
+ <td class="parameter_name"><p>error</p></td>
454
+ <td class="parameter_description"><p>return location for errors</p></td>
455
+ <td class="parameter_annotations"> </td>
456
+ </tr>
457
+ </tbody>
458
+ </table></div>
459
+ </div>
460
+ <div class="refsect3">
461
+ <a name="id-1.2.15.9.7.7"></a><h4>Returns</h4>
462
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
463
+ cannot parse the buffer.</p>
464
+ <p></p>
465
+ </div>
466
+ <p class="since">Since 2.30</p>
467
+ </div>
468
+ <hr>
469
+ <div class="refsect2">
470
+ <a name="gdk-pixbuf-loader-set-size"></a><h3>gdk_pixbuf_loader_set_size ()</h3>
471
+ <pre class="programlisting"><span class="returnvalue">void</span>
472
+ gdk_pixbuf_loader_set_size (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
473
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
474
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
475
+ <p>Causes the image to be scaled while it is loaded. The desired
476
+ image size can be determined relative to the original size of
477
+ the image by calling <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a> from a
478
+ signal handler for the ::size-prepared signal.</p>
479
+ <p>Attempts to set the desired image size are ignored after the
480
+ emission of the ::size-prepared signal.</p>
481
+ <div class="refsect3">
482
+ <a name="id-1.2.15.9.8.6"></a><h4>Parameters</h4>
483
+ <div class="informaltable"><table width="100%" border="0">
484
+ <colgroup>
485
+ <col width="150px" class="parameters_name">
486
+ <col class="parameters_description">
487
+ <col width="200px" class="parameters_annotations">
488
+ </colgroup>
489
+ <tbody>
490
+ <tr>
491
+ <td class="parameter_name"><p>loader</p></td>
492
+ <td class="parameter_description"><p>A pixbuf loader.</p></td>
493
+ <td class="parameter_annotations"> </td>
494
+ </tr>
495
+ <tr>
496
+ <td class="parameter_name"><p>width</p></td>
497
+ <td class="parameter_description"><p>The desired width of the image being loaded.</p></td>
498
+ <td class="parameter_annotations"> </td>
499
+ </tr>
500
+ <tr>
501
+ <td class="parameter_name"><p>height</p></td>
502
+ <td class="parameter_description"><p>The desired height of the image being loaded.</p></td>
503
+ <td class="parameter_annotations"> </td>
504
+ </tr>
505
+ </tbody>
506
+ </table></div>
507
+ </div>
508
+ <p class="since">Since 2.2</p>
509
+ </div>
510
+ <hr>
511
+ <div class="refsect2">
512
+ <a name="gdk-pixbuf-loader-get-pixbuf"></a><h3>gdk_pixbuf_loader_get_pixbuf ()</h3>
513
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
514
+ gdk_pixbuf_loader_get_pixbuf (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
515
+ <p>Queries the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that a pixbuf loader is currently creating.
516
+ In general it only makes sense to call this function after the
517
+ "area-prepared" signal has been emitted by the loader; this means
518
+ that enough data has been read to know the size of the image that
519
+ will be allocated. If the loader has not received enough data via
520
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a>, then this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The
521
+ returned pixbuf will be the same in all future calls to the loader,
522
+ so simply calling <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> should be sufficient to continue
523
+ using it. Additionally, if the loader is an animation, it will
524
+ return the "static image" of the animation
525
+ (see <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()"><code class="function">gdk_pixbuf_animation_get_static_image()</code></a>).</p>
526
+ <div class="refsect3">
527
+ <a name="id-1.2.15.9.9.5"></a><h4>Parameters</h4>
528
+ <div class="informaltable"><table width="100%" border="0">
529
+ <colgroup>
530
+ <col width="150px" class="parameters_name">
531
+ <col class="parameters_description">
532
+ <col width="200px" class="parameters_annotations">
533
+ </colgroup>
534
+ <tbody><tr>
535
+ <td class="parameter_name"><p>loader</p></td>
536
+ <td class="parameter_description"><p>A pixbuf loader.</p></td>
537
+ <td class="parameter_annotations"> </td>
538
+ </tr></tbody>
539
+ </table></div>
540
+ </div>
541
+ <div class="refsect3">
542
+ <a name="id-1.2.15.9.9.6"></a><h4>Returns</h4>
543
+ <p> The <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that the loader is creating, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not
544
+ enough data has been read to determine how to create the image buffer. </p>
545
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
546
+ </div>
547
+ </div>
548
+ <hr>
549
+ <div class="refsect2">
550
+ <a name="gdk-pixbuf-loader-get-animation"></a><h3>gdk_pixbuf_loader_get_animation ()</h3>
551
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
552
+ gdk_pixbuf_loader_get_animation (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
553
+ <p>Queries the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that a pixbuf loader is currently creating.
554
+ In general it only makes sense to call this function after the "area-prepared"
555
+ signal has been emitted by the loader. If the loader doesn't have enough
556
+ bytes yet (hasn't emitted the "area-prepared" signal) this function will
557
+ return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
558
+ <div class="refsect3">
559
+ <a name="id-1.2.15.9.10.5"></a><h4>Parameters</h4>
560
+ <div class="informaltable"><table width="100%" border="0">
561
+ <colgroup>
562
+ <col width="150px" class="parameters_name">
563
+ <col class="parameters_description">
564
+ <col width="200px" class="parameters_annotations">
565
+ </colgroup>
566
+ <tbody><tr>
567
+ <td class="parameter_name"><p>loader</p></td>
568
+ <td class="parameter_description"><p>A pixbuf loader</p></td>
569
+ <td class="parameter_annotations"> </td>
570
+ </tr></tbody>
571
+ </table></div>
572
+ </div>
573
+ <div class="refsect3">
574
+ <a name="id-1.2.15.9.10.6"></a><h4>Returns</h4>
575
+ <p> The <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that the loader is loading, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
576
+ not enough data has been read to determine the information. </p>
577
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
578
+ </div>
579
+ </div>
580
+ <hr>
581
+ <div class="refsect2">
582
+ <a name="gdk-pixbuf-loader-close"></a><h3>gdk_pixbuf_loader_close ()</h3>
583
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
584
+ gdk_pixbuf_loader_close (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
585
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
586
+ <p>Informs a pixbuf loader that no further writes with
587
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> will occur, so that it can free its
588
+ internal loading structures. Also, tries to parse any data that
589
+ hasn't yet been parsed; if the remaining data is partial or
590
+ corrupt, an error will be returned. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned, <em class="parameter"><code>error</code></em>
591
+
592
+ will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
593
+ domains. If you're just cancelling a load rather than expecting it
594
+ to be finished, passing <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>error</code></em>
595
+ to ignore it is
596
+ reasonable.</p>
597
+ <p>Remember that this does not unref the loader, so if you plan not to
598
+ use it anymore, please <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> it.</p>
599
+ <div class="refsect3">
600
+ <a name="id-1.2.15.9.11.6"></a><h4>Parameters</h4>
601
+ <div class="informaltable"><table width="100%" border="0">
602
+ <colgroup>
603
+ <col width="150px" class="parameters_name">
604
+ <col class="parameters_description">
605
+ <col width="200px" class="parameters_annotations">
606
+ </colgroup>
607
+ <tbody>
608
+ <tr>
609
+ <td class="parameter_name"><p>loader</p></td>
610
+ <td class="parameter_description"><p>A pixbuf loader.</p></td>
611
+ <td class="parameter_annotations"> </td>
612
+ </tr>
613
+ <tr>
614
+ <td class="parameter_name"><p>error</p></td>
615
+ <td class="parameter_description"><p> return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
616
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
617
+ </tr>
618
+ </tbody>
619
+ </table></div>
620
+ </div>
621
+ <div class="refsect3">
622
+ <a name="id-1.2.15.9.11.7"></a><h4>Returns</h4>
623
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if all image data written so far was successfully
624
+ passed out via the update_area signal</p>
625
+ <p></p>
626
+ </div>
627
+ </div>
628
+ </div>
629
+ <div class="refsect1">
630
+ <a name="GdkPixbufLoader.other_details"></a><h2>Types and Values</h2>
631
+ <div class="refsect2">
632
+ <a name="GdkPixbufLoader-struct"></a><h3>struct GdkPixbufLoader</h3>
633
+ <pre class="programlisting">struct GdkPixbufLoader;</pre>
634
+ <p>The GdkPixbufLoader struct contains only private
635
+ fields.</p>
636
+ </div>
637
+ </div>
638
+ <div class="refsect1">
639
+ <a name="GdkPixbufLoader.signal-details"></a><h2>Signal Details</h2>
640
+ <div class="refsect2">
641
+ <a name="GdkPixbufLoader-area-prepared"></a><h3>The <code class="literal">“area-prepared”</code> signal</h3>
642
+ <pre class="programlisting"><span class="returnvalue">void</span>
643
+ user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
644
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
645
+ <p>This signal is emitted when the pixbuf loader has allocated the
646
+
647
+ pixbuf in the desired size. After this signal is emitted,
648
+
649
+ applications can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a> to fetch
650
+
651
+ the partially-loaded pixbuf.</p>
652
+ <div class="refsect3">
653
+ <a name="id-1.2.15.11.2.5"></a><h4>Parameters</h4>
654
+ <div class="informaltable"><table width="100%" border="0">
655
+ <colgroup>
656
+ <col width="150px" class="parameters_name">
657
+ <col class="parameters_description">
658
+ <col width="200px" class="parameters_annotations">
659
+ </colgroup>
660
+ <tbody>
661
+ <tr>
662
+ <td class="parameter_name"><p>loader</p></td>
663
+ <td class="parameter_description"><p>the object which received the signal.</p></td>
664
+ <td class="parameter_annotations"> </td>
665
+ </tr>
666
+ <tr>
667
+ <td class="parameter_name"><p>user_data</p></td>
668
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
669
+ <td class="parameter_annotations"> </td>
670
+ </tr>
671
+ </tbody>
672
+ </table></div>
673
+ </div>
674
+ <p>Flags: Run Last</p>
675
+ </div>
676
+ <hr>
677
+ <div class="refsect2">
678
+ <a name="GdkPixbufLoader-area-updated"></a><h3>The <code class="literal">“area-updated”</code> signal</h3>
679
+ <pre class="programlisting"><span class="returnvalue">void</span>
680
+ user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
681
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x,
682
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y,
683
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width,
684
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height,
685
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
686
+ <p>This signal is emitted when a significant area of the image being
687
+ loaded has been updated. Normally it means that a complete
688
+ scanline has been read in, but it could be a different area as
689
+ well. Applications can use this signal to know when to repaint
690
+ areas of an image that is being loaded.</p>
691
+ <div class="refsect3">
692
+ <a name="id-1.2.15.11.3.5"></a><h4>Parameters</h4>
693
+ <div class="informaltable"><table width="100%" border="0">
694
+ <colgroup>
695
+ <col width="150px" class="parameters_name">
696
+ <col class="parameters_description">
697
+ <col width="200px" class="parameters_annotations">
698
+ </colgroup>
699
+ <tbody>
700
+ <tr>
701
+ <td class="parameter_name"><p>loader</p></td>
702
+ <td class="parameter_description"><p>the object which received the signal.</p></td>
703
+ <td class="parameter_annotations"> </td>
704
+ </tr>
705
+ <tr>
706
+ <td class="parameter_name"><p>x</p></td>
707
+ <td class="parameter_description"><p>X offset of upper-left corner of the updated area.</p></td>
708
+ <td class="parameter_annotations"> </td>
709
+ </tr>
710
+ <tr>
711
+ <td class="parameter_name"><p>y</p></td>
712
+ <td class="parameter_description"><p>Y offset of upper-left corner of the updated area.</p></td>
713
+ <td class="parameter_annotations"> </td>
714
+ </tr>
715
+ <tr>
716
+ <td class="parameter_name"><p>width</p></td>
717
+ <td class="parameter_description"><p>Width of updated area.</p></td>
718
+ <td class="parameter_annotations"> </td>
719
+ </tr>
720
+ <tr>
721
+ <td class="parameter_name"><p>height</p></td>
722
+ <td class="parameter_description"><p>Height of updated area.</p></td>
723
+ <td class="parameter_annotations"> </td>
724
+ </tr>
725
+ <tr>
726
+ <td class="parameter_name"><p>user_data</p></td>
727
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
728
+ <td class="parameter_annotations"> </td>
729
+ </tr>
730
+ </tbody>
731
+ </table></div>
732
+ </div>
733
+ <p>Flags: Run Last</p>
734
+ </div>
735
+ <hr>
736
+ <div class="refsect2">
737
+ <a name="GdkPixbufLoader-closed"></a><h3>The <code class="literal">“closed”</code> signal</h3>
738
+ <pre class="programlisting"><span class="returnvalue">void</span>
739
+ user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
740
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
741
+ <p>This signal is emitted when <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> is called.
742
+ It can be used by different parts of an application to receive
743
+ notification when an image loader is closed by the code that
744
+ drives it.</p>
745
+ <div class="refsect3">
746
+ <a name="id-1.2.15.11.4.5"></a><h4>Parameters</h4>
747
+ <div class="informaltable"><table width="100%" border="0">
748
+ <colgroup>
749
+ <col width="150px" class="parameters_name">
750
+ <col class="parameters_description">
751
+ <col width="200px" class="parameters_annotations">
752
+ </colgroup>
753
+ <tbody>
754
+ <tr>
755
+ <td class="parameter_name"><p>loader</p></td>
756
+ <td class="parameter_description"><p>the object which received the signal.</p></td>
757
+ <td class="parameter_annotations"> </td>
758
+ </tr>
759
+ <tr>
760
+ <td class="parameter_name"><p>user_data</p></td>
761
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
762
+ <td class="parameter_annotations"> </td>
763
+ </tr>
764
+ </tbody>
765
+ </table></div>
766
+ </div>
767
+ <p>Flags: Run Last</p>
768
+ </div>
769
+ <hr>
770
+ <div class="refsect2">
771
+ <a name="GdkPixbufLoader-size-prepared"></a><h3>The <code class="literal">“size-prepared”</code> signal</h3>
772
+ <pre class="programlisting"><span class="returnvalue">void</span>
773
+ user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
774
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width,
775
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height,
776
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
777
+ <p>This signal is emitted when the pixbuf loader has been fed the
778
+ initial amount of data that is required to figure out the size
779
+ of the image that it will create. Applications can call
780
+
781
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a> in response to this signal to set
782
+ the desired size to which the image should be scaled.</p>
783
+ <div class="refsect3">
784
+ <a name="id-1.2.15.11.5.5"></a><h4>Parameters</h4>
785
+ <div class="informaltable"><table width="100%" border="0">
786
+ <colgroup>
787
+ <col width="150px" class="parameters_name">
788
+ <col class="parameters_description">
789
+ <col width="200px" class="parameters_annotations">
790
+ </colgroup>
791
+ <tbody>
792
+ <tr>
793
+ <td class="parameter_name"><p>loader</p></td>
794
+ <td class="parameter_description"><p>the object which received the signal.</p></td>
795
+ <td class="parameter_annotations"> </td>
796
+ </tr>
797
+ <tr>
798
+ <td class="parameter_name"><p>width</p></td>
799
+ <td class="parameter_description"><p>the original width of the image</p></td>
800
+ <td class="parameter_annotations"> </td>
801
+ </tr>
802
+ <tr>
803
+ <td class="parameter_name"><p>height</p></td>
804
+ <td class="parameter_description"><p>the original height of the image</p></td>
805
+ <td class="parameter_annotations"> </td>
806
+ </tr>
807
+ <tr>
808
+ <td class="parameter_name"><p>user_data</p></td>
809
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
810
+ <td class="parameter_annotations"> </td>
811
+ </tr>
812
+ </tbody>
813
+ </table></div>
814
+ </div>
815
+ <p>Flags: Run Last</p>
816
+ </div>
817
+ </div>
818
+ <div class="refsect1">
819
+ <a name="GdkPixbufLoader.see-also"></a><h2>See Also</h2>
820
+ <p>gdk_pixbuf_new_from_file(), <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file ()"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a></p>
821
+ </div>
822
+ </div>
823
+ <div class="footer">
824
+ <hr>
825
+ Generated by GTK-Doc V1.20.1</div>
826
+ </body>
827
+ </html>