gdk_pixbuf2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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,1298 @@
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: Module Interface</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="GdkPixbufLoader.html" title="GdkPixbufLoader">
10
+ <link rel="next" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html" title="gdk-pixbuf Xlib initialization">
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="#gdk-pixbuf-Module-Interface.description" class="shortcut">Description</a></span>
19
+ </td>
20
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
+ <td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
+ <td><a accesskey="p" href="GdkPixbufLoader.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
+ </tr></table>
25
+ <div class="refentry">
26
+ <a name="gdk-pixbuf-Module-Interface"></a><div class="titlepage"></div>
27
+ <div class="refnamediv"><table width="100%"><tr>
28
+ <td valign="top">
29
+ <h2><span class="refentrytitle"><a name="gdk-pixbuf-Module-Interface.top_of_page"></a>Module Interface</span></h2>
30
+ <p>Module Interface — Extending GdkPixBuf</p>
31
+ </td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
33
+ </tr></table></div>
34
+ <div class="refsect1">
35
+ <a name="gdk-pixbuf-Module-Interface.functions"></a><h2>Functions</h2>
36
+ <div class="informaltable"><table width="100%" border="0">
37
+ <colgroup>
38
+ <col width="150px" class="functions_return">
39
+ <col class="functions_name">
40
+ </colgroup>
41
+ <tbody>
42
+ <tr>
43
+ <td class="function_type">
44
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()">gdk_pixbuf_set_option</a> <span class="c_punctuation">()</span>
48
+ </td>
49
+ </tr>
50
+ <tr>
51
+ <td class="function_type">
52
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
53
+ </td>
54
+ <td class="function_name">
55
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()">gdk_pixbuf_get_formats</a> <span class="c_punctuation">()</span>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td class="function_type">
60
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
61
+ </td>
62
+ <td class="function_name">
63
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-copy" title="gdk_pixbuf_format_copy ()">gdk_pixbuf_format_copy</a> <span class="c_punctuation">()</span>
64
+ </td>
65
+ </tr>
66
+ <tr>
67
+ <td class="function_type">
68
+ <span class="returnvalue">void</span>
69
+ </td>
70
+ <td class="function_name">
71
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-free" title="gdk_pixbuf_format_free ()">gdk_pixbuf_format_free</a> <span class="c_punctuation">()</span>
72
+ </td>
73
+ </tr>
74
+ <tr>
75
+ <td class="function_type">
76
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
77
+ </td>
78
+ <td class="function_name">
79
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name ()">gdk_pixbuf_format_get_name</a> <span class="c_punctuation">()</span>
80
+ </td>
81
+ </tr>
82
+ <tr>
83
+ <td class="function_type">
84
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
85
+ </td>
86
+ <td class="function_name">
87
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-description" title="gdk_pixbuf_format_get_description ()">gdk_pixbuf_format_get_description</a> <span class="c_punctuation">()</span>
88
+ </td>
89
+ </tr>
90
+ <tr>
91
+ <td class="function_type">
92
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
93
+ </td>
94
+ <td class="function_name">
95
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()">gdk_pixbuf_format_get_mime_types</a> <span class="c_punctuation">()</span>
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td class="function_type">
100
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
101
+ </td>
102
+ <td class="function_name">
103
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-extensions" title="gdk_pixbuf_format_get_extensions ()">gdk_pixbuf_format_get_extensions</a> <span class="c_punctuation">()</span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="function_type">
108
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
109
+ </td>
110
+ <td class="function_name">
111
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-writable" title="gdk_pixbuf_format_is_writable ()">gdk_pixbuf_format_is_writable</a> <span class="c_punctuation">()</span>
112
+ </td>
113
+ </tr>
114
+ <tr>
115
+ <td class="function_type">
116
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
117
+ </td>
118
+ <td class="function_name">
119
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-scalable" title="gdk_pixbuf_format_is_scalable ()">gdk_pixbuf_format_is_scalable</a> <span class="c_punctuation">()</span>
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td class="function_type">
124
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
125
+ </td>
126
+ <td class="function_name">
127
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-disabled" title="gdk_pixbuf_format_is_disabled ()">gdk_pixbuf_format_is_disabled</a> <span class="c_punctuation">()</span>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td class="function_type">
132
+ <span class="returnvalue">void</span>
133
+ </td>
134
+ <td class="function_name">
135
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-set-disabled" title="gdk_pixbuf_format_set_disabled ()">gdk_pixbuf_format_set_disabled</a> <span class="c_punctuation">()</span>
136
+ </td>
137
+ </tr>
138
+ <tr>
139
+ <td class="function_type">
140
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
141
+ </td>
142
+ <td class="function_name">
143
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-license" title="gdk_pixbuf_format_get_license ()">gdk_pixbuf_format_get_license</a> <span class="c_punctuation">()</span>
144
+ </td>
145
+ </tr>
146
+ <tr>
147
+ <td class="function_type">
148
+ <span class="returnvalue">void</span>
149
+ </td>
150
+ <td class="function_name">
151
+ <span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()">*GdkPixbufModuleFillVtableFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td class="function_type">
156
+ <span class="returnvalue">void</span>
157
+ </td>
158
+ <td class="function_name">
159
+ <span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillInfoFunc" title="GdkPixbufModuleFillInfoFunc ()">*GdkPixbufModuleFillInfoFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
160
+ </td>
161
+ </tr>
162
+ <tr>
163
+ <td class="function_type">
164
+ <span class="returnvalue">void</span>
165
+ </td>
166
+ <td class="function_name">
167
+ <span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleSizeFunc" title="GdkPixbufModuleSizeFunc ()">*GdkPixbufModuleSizeFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
168
+ </td>
169
+ </tr>
170
+ <tr>
171
+ <td class="function_type">
172
+ <span class="returnvalue">void</span>
173
+ </td>
174
+ <td class="function_name">
175
+ <span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePreparedFunc" title="GdkPixbufModulePreparedFunc ()">*GdkPixbufModulePreparedFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
176
+ </td>
177
+ </tr>
178
+ <tr>
179
+ <td class="function_type">
180
+ <span class="returnvalue">void</span>
181
+ </td>
182
+ <td class="function_name">
183
+ <span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleUpdatedFunc" title="GdkPixbufModuleUpdatedFunc ()">*GdkPixbufModuleUpdatedFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
184
+ </td>
185
+ </tr>
186
+ </tbody>
187
+ </table></div>
188
+ </div>
189
+ <div class="refsect1">
190
+ <a name="gdk-pixbuf-Module-Interface.other"></a><h2>Types and Values</h2>
191
+ <div class="informaltable"><table width="100%" border="0">
192
+ <colgroup>
193
+ <col width="150px" class="name">
194
+ <col class="description">
195
+ </colgroup>
196
+ <tbody>
197
+ <tr>
198
+ <td class="datatype_keyword">struct</td>
199
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat">GdkPixbufFormat</a></td>
200
+ </tr>
201
+ <tr>
202
+ <td class="datatype_keyword">enum</td>
203
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormatFlags" title="enum GdkPixbufFormatFlags">GdkPixbufFormatFlags</a></td>
204
+ </tr>
205
+ <tr>
206
+ <td class="datatype_keyword">struct</td>
207
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern" title="struct GdkPixbufModulePattern">GdkPixbufModulePattern</a></td>
208
+ </tr>
209
+ <tr>
210
+ <td class="datatype_keyword">struct</td>
211
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule">GdkPixbufModule</a></td>
212
+ </tr>
213
+ <tr>
214
+ <td class="datatype_keyword">struct</td>
215
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufAnimationClass" title="struct GdkPixbufAnimationClass">GdkPixbufAnimationClass</a></td>
216
+ </tr>
217
+ <tr>
218
+ <td class="datatype_keyword">struct</td>
219
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufAnimationIterClass" title="struct GdkPixbufAnimationIterClass">GdkPixbufAnimationIterClass</a></td>
220
+ </tr>
221
+ </tbody>
222
+ </table></div>
223
+ </div>
224
+ <div class="refsect1">
225
+ <a name="gdk-pixbuf-Module-Interface.includes"></a><h2>Includes</h2>
226
+ <pre class="synopsis">#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
227
+ </pre>
228
+ </div>
229
+ <div class="refsect1">
230
+ <a name="gdk-pixbuf-Module-Interface.description"></a><h2>Description</h2>
231
+ <p>If GdkPixBuf has been compiled with GModule support, it can be extended by
232
+ modules which can load (and perhaps also save) new image and animation
233
+ formats. Each loadable module must export a
234
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillInfoFunc" title="GdkPixbufModuleFillInfoFunc ()"><span class="type">GdkPixbufModuleFillInfoFunc</span></a> function named <code class="literal">fill_info</code> and
235
+ a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()"><span class="type">GdkPixbufModuleFillVtableFunc</span></a> function named
236
+ <code class="literal">fill_vtable</code>.</p>
237
+ <p>In order to make format-checking work before actually loading the modules
238
+ (which may require dlopening image libraries), modules export their
239
+ signatures (and other information) via the <code class="literal">fill_info</code> function. An
240
+ external utility, gdk-pixbuf-query-loaders, uses this to create a text
241
+ file containing a list of all available loaders and their signatures.
242
+ This file is then read at runtime by GdkPixBuf to obtain the list of
243
+ available loaders and their signatures. </p>
244
+ <p>Modules may only implement a subset of the functionality available via
245
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>. If a particular functionality is not implemented, the
246
+ <code class="literal">fill_vtable</code> function will simply not set the corresponding
247
+ function pointers of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> structure. If a module supports
248
+ incremental loading (i.e. provides <span class="type">begin_load</span>, <span class="type">stop_load</span> and
249
+ <span class="type">load_increment</span>), it doesn't have to implement <span class="type">load</span>, since GdkPixBuf can
250
+ supply a generic <span class="type">load</span> implementation wrapping the incremental loading. </p>
251
+ <p>Installing a module is a two-step process:</p>
252
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
253
+ <li class="listitem"><p>copy the module file(s) to the loader directory (normally
254
+ <code class="literal">$libdir/gdk-pixbuf-2.0/$version/loaders</code>, unless overridden by the
255
+ environment variable <code class="literal">GDK_PIXBUF_MODULEDIR</code>) </p></li>
256
+ <li class="listitem"><p>call gdk-pixbuf-query-loaders to update the module file (normally
257
+ <code class="literal">$libdir/gdk-pixbuf-2.0/$version/loaders.cache</code>, unless overridden by the
258
+ environment variable <code class="literal">GDK_PIXBUF_MODULE_FILE</code>)</p></li>
259
+ </ul></div>
260
+ <p>The GdkPixBuf interfaces needed for implementing modules are contained in
261
+ <code class="literal">gdk-pixbuf-io.h</code> (and <code class="literal">gdk-pixbuf-animation.h</code> if the module supports
262
+ animations). They are not covered by the same stability guarantees as the
263
+ regular GdkPixBuf API. To underline this fact, they are protected by
264
+ <code class="literal">#ifdef GDK_PIXBUF_ENABLE_BACKEND</code>.</p>
265
+ </div>
266
+ <div class="refsect1">
267
+ <a name="gdk-pixbuf-Module-Interface.functions_details"></a><h2>Functions</h2>
268
+ <div class="refsect2">
269
+ <a name="gdk-pixbuf-set-option"></a><h3>gdk_pixbuf_set_option ()</h3>
270
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
271
+ gdk_pixbuf_set_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
272
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
273
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
274
+ <p>Attaches a key/value pair as an option to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>key</code></em>
275
+ already
276
+ exists in the list of options attached to <em class="parameter"><code>pixbuf</code></em>
277
+ , the new value is
278
+ ignored and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p>
279
+ <div class="refsect3">
280
+ <a name="id-1.2.16.7.2.5"></a><h4>Parameters</h4>
281
+ <div class="informaltable"><table width="100%" border="0">
282
+ <colgroup>
283
+ <col width="150px" class="parameters_name">
284
+ <col class="parameters_description">
285
+ <col width="200px" class="parameters_annotations">
286
+ </colgroup>
287
+ <tbody>
288
+ <tr>
289
+ <td class="parameter_name"><p>pixbuf</p></td>
290
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a></p></td>
291
+ <td class="parameter_annotations"> </td>
292
+ </tr>
293
+ <tr>
294
+ <td class="parameter_name"><p>key</p></td>
295
+ <td class="parameter_description"><p>a nul-terminated string.</p></td>
296
+ <td class="parameter_annotations"> </td>
297
+ </tr>
298
+ <tr>
299
+ <td class="parameter_name"><p>value</p></td>
300
+ <td class="parameter_description"><p>a nul-terminated string.</p></td>
301
+ <td class="parameter_annotations"> </td>
302
+ </tr>
303
+ </tbody>
304
+ </table></div>
305
+ </div>
306
+ <div class="refsect3">
307
+ <a name="id-1.2.16.7.2.6"></a><h4>Returns</h4>
308
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
309
+ <p></p>
310
+ </div>
311
+ <p class="since">Since 2.2</p>
312
+ </div>
313
+ <hr>
314
+ <div class="refsect2">
315
+ <a name="gdk-pixbuf-get-formats"></a><h3>gdk_pixbuf_get_formats ()</h3>
316
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
317
+ gdk_pixbuf_get_formats (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
318
+ <p>Obtains the available information about the image formats supported
319
+ by GdkPixbuf.</p>
320
+ <div class="refsect3">
321
+ <a name="id-1.2.16.7.3.5"></a><h4>Returns</h4>
322
+ <p> A list of
323
+ <a href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat"><span class="type">GdkPixbufFormats</span></a> describing the supported image formats. The list should
324
+ be freed when it is no longer needed, but the structures themselves are
325
+ owned by <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> and should not be freed. </p>
326
+ <p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkPixbufFormat]</span></p>
327
+ </div>
328
+ <p class="since">Since 2.2</p>
329
+ </div>
330
+ <hr>
331
+ <div class="refsect2">
332
+ <a name="gdk-pixbuf-format-copy"></a><h3>gdk_pixbuf_format_copy ()</h3>
333
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
334
+ gdk_pixbuf_format_copy (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
335
+ <p>Creates a copy of <em class="parameter"><code>format</code></em>
336
+ </p>
337
+ <div class="refsect3">
338
+ <a name="id-1.2.16.7.4.5"></a><h4>Parameters</h4>
339
+ <div class="informaltable"><table width="100%" border="0">
340
+ <colgroup>
341
+ <col width="150px" class="parameters_name">
342
+ <col class="parameters_description">
343
+ <col width="200px" class="parameters_annotations">
344
+ </colgroup>
345
+ <tbody><tr>
346
+ <td class="parameter_name"><p>format</p></td>
347
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
348
+ <td class="parameter_annotations"> </td>
349
+ </tr></tbody>
350
+ </table></div>
351
+ </div>
352
+ <div class="refsect3">
353
+ <a name="id-1.2.16.7.4.6"></a><h4>Returns</h4>
354
+ <p> the newly allocated copy of a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>. Use
355
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-free" title="gdk_pixbuf_format_free ()"><code class="function">gdk_pixbuf_format_free()</code></a> to free the resources when done</p>
356
+ <p></p>
357
+ </div>
358
+ <p class="since">Since 2.22</p>
359
+ </div>
360
+ <hr>
361
+ <div class="refsect2">
362
+ <a name="gdk-pixbuf-format-free"></a><h3>gdk_pixbuf_format_free ()</h3>
363
+ <pre class="programlisting"><span class="returnvalue">void</span>
364
+ gdk_pixbuf_format_free (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
365
+ <p>Frees the resources allocated when copying a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
366
+ using <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-copy" title="gdk_pixbuf_format_copy ()"><code class="function">gdk_pixbuf_format_copy()</code></a></p>
367
+ <div class="refsect3">
368
+ <a name="id-1.2.16.7.5.5"></a><h4>Parameters</h4>
369
+ <div class="informaltable"><table width="100%" border="0">
370
+ <colgroup>
371
+ <col width="150px" class="parameters_name">
372
+ <col class="parameters_description">
373
+ <col width="200px" class="parameters_annotations">
374
+ </colgroup>
375
+ <tbody><tr>
376
+ <td class="parameter_name"><p>format</p></td>
377
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
378
+ <td class="parameter_annotations"> </td>
379
+ </tr></tbody>
380
+ </table></div>
381
+ </div>
382
+ <p class="since">Since 2.22</p>
383
+ </div>
384
+ <hr>
385
+ <div class="refsect2">
386
+ <a name="gdk-pixbuf-format-get-name"></a><h3>gdk_pixbuf_format_get_name ()</h3>
387
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
388
+ gdk_pixbuf_format_get_name (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
389
+ <p>Returns the name of the format.</p>
390
+ <div class="refsect3">
391
+ <a name="id-1.2.16.7.6.5"></a><h4>Parameters</h4>
392
+ <div class="informaltable"><table width="100%" border="0">
393
+ <colgroup>
394
+ <col width="150px" class="parameters_name">
395
+ <col class="parameters_description">
396
+ <col width="200px" class="parameters_annotations">
397
+ </colgroup>
398
+ <tbody><tr>
399
+ <td class="parameter_name"><p>format</p></td>
400
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
401
+ <td class="parameter_annotations"> </td>
402
+ </tr></tbody>
403
+ </table></div>
404
+ </div>
405
+ <div class="refsect3">
406
+ <a name="id-1.2.16.7.6.6"></a><h4>Returns</h4>
407
+ <p> the name of the format. </p>
408
+ <p></p>
409
+ </div>
410
+ <p class="since">Since 2.2</p>
411
+ </div>
412
+ <hr>
413
+ <div class="refsect2">
414
+ <a name="gdk-pixbuf-format-get-description"></a><h3>gdk_pixbuf_format_get_description ()</h3>
415
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
416
+ gdk_pixbuf_format_get_description (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
417
+ <p>Returns a description of the format.</p>
418
+ <div class="refsect3">
419
+ <a name="id-1.2.16.7.7.5"></a><h4>Parameters</h4>
420
+ <div class="informaltable"><table width="100%" border="0">
421
+ <colgroup>
422
+ <col width="150px" class="parameters_name">
423
+ <col class="parameters_description">
424
+ <col width="200px" class="parameters_annotations">
425
+ </colgroup>
426
+ <tbody><tr>
427
+ <td class="parameter_name"><p>format</p></td>
428
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
429
+ <td class="parameter_annotations"> </td>
430
+ </tr></tbody>
431
+ </table></div>
432
+ </div>
433
+ <div class="refsect3">
434
+ <a name="id-1.2.16.7.7.6"></a><h4>Returns</h4>
435
+ <p> a description of the format.</p>
436
+ <p></p>
437
+ </div>
438
+ <p class="since">Since 2.2</p>
439
+ </div>
440
+ <hr>
441
+ <div class="refsect2">
442
+ <a name="gdk-pixbuf-format-get-mime-types"></a><h3>gdk_pixbuf_format_get_mime_types ()</h3>
443
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
444
+ gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
445
+ <p>Returns the mime types supported by the format.</p>
446
+ <div class="refsect3">
447
+ <a name="id-1.2.16.7.8.5"></a><h4>Parameters</h4>
448
+ <div class="informaltable"><table width="100%" border="0">
449
+ <colgroup>
450
+ <col width="150px" class="parameters_name">
451
+ <col class="parameters_description">
452
+ <col width="200px" class="parameters_annotations">
453
+ </colgroup>
454
+ <tbody><tr>
455
+ <td class="parameter_name"><p>format</p></td>
456
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
457
+ <td class="parameter_annotations"> </td>
458
+ </tr></tbody>
459
+ </table></div>
460
+ </div>
461
+ <div class="refsect3">
462
+ <a name="id-1.2.16.7.8.6"></a><h4>Returns</h4>
463
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of mime types which must be freed with
464
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. </p>
465
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
466
+ </div>
467
+ <p class="since">Since 2.2</p>
468
+ </div>
469
+ <hr>
470
+ <div class="refsect2">
471
+ <a name="gdk-pixbuf-format-get-extensions"></a><h3>gdk_pixbuf_format_get_extensions ()</h3>
472
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
473
+ gdk_pixbuf_format_get_extensions (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
474
+ <p>Returns the filename extensions typically used for files in the
475
+ given format.</p>
476
+ <div class="refsect3">
477
+ <a name="id-1.2.16.7.9.5"></a><h4>Parameters</h4>
478
+ <div class="informaltable"><table width="100%" border="0">
479
+ <colgroup>
480
+ <col width="150px" class="parameters_name">
481
+ <col class="parameters_description">
482
+ <col width="200px" class="parameters_annotations">
483
+ </colgroup>
484
+ <tbody><tr>
485
+ <td class="parameter_name"><p>format</p></td>
486
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
487
+ <td class="parameter_annotations"> </td>
488
+ </tr></tbody>
489
+ </table></div>
490
+ </div>
491
+ <div class="refsect3">
492
+ <a name="id-1.2.16.7.9.6"></a><h4>Returns</h4>
493
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of filename extensions which must be
494
+ freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. </p>
495
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
496
+ </div>
497
+ <p class="since">Since 2.2</p>
498
+ </div>
499
+ <hr>
500
+ <div class="refsect2">
501
+ <a name="gdk-pixbuf-format-is-writable"></a><h3>gdk_pixbuf_format_is_writable ()</h3>
502
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
503
+ gdk_pixbuf_format_is_writable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
504
+ <p>Returns whether pixbufs can be saved in the given format.</p>
505
+ <div class="refsect3">
506
+ <a name="id-1.2.16.7.10.5"></a><h4>Parameters</h4>
507
+ <div class="informaltable"><table width="100%" border="0">
508
+ <colgroup>
509
+ <col width="150px" class="parameters_name">
510
+ <col class="parameters_description">
511
+ <col width="200px" class="parameters_annotations">
512
+ </colgroup>
513
+ <tbody><tr>
514
+ <td class="parameter_name"><p>format</p></td>
515
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
516
+ <td class="parameter_annotations"> </td>
517
+ </tr></tbody>
518
+ </table></div>
519
+ </div>
520
+ <div class="refsect3">
521
+ <a name="id-1.2.16.7.10.6"></a><h4>Returns</h4>
522
+ <p> whether pixbufs can be saved in the given format.</p>
523
+ <p></p>
524
+ </div>
525
+ <p class="since">Since 2.2</p>
526
+ </div>
527
+ <hr>
528
+ <div class="refsect2">
529
+ <a name="gdk-pixbuf-format-is-scalable"></a><h3>gdk_pixbuf_format_is_scalable ()</h3>
530
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
531
+ gdk_pixbuf_format_is_scalable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
532
+ <p>Returns whether this image format is scalable. If a file is in a
533
+ scalable format, it is preferable to load it at the desired size,
534
+ rather than loading it at the default size and scaling the
535
+ resulting pixbuf to the desired size.</p>
536
+ <div class="refsect3">
537
+ <a name="id-1.2.16.7.11.5"></a><h4>Parameters</h4>
538
+ <div class="informaltable"><table width="100%" border="0">
539
+ <colgroup>
540
+ <col width="150px" class="parameters_name">
541
+ <col class="parameters_description">
542
+ <col width="200px" class="parameters_annotations">
543
+ </colgroup>
544
+ <tbody><tr>
545
+ <td class="parameter_name"><p>format</p></td>
546
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
547
+ <td class="parameter_annotations"> </td>
548
+ </tr></tbody>
549
+ </table></div>
550
+ </div>
551
+ <div class="refsect3">
552
+ <a name="id-1.2.16.7.11.6"></a><h4>Returns</h4>
553
+ <p> whether this image format is scalable.</p>
554
+ <p></p>
555
+ </div>
556
+ <p class="since">Since 2.6</p>
557
+ </div>
558
+ <hr>
559
+ <div class="refsect2">
560
+ <a name="gdk-pixbuf-format-is-disabled"></a><h3>gdk_pixbuf_format_is_disabled ()</h3>
561
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
562
+ gdk_pixbuf_format_is_disabled (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
563
+ <p>Returns whether this image format is disabled. See
564
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-set-disabled" title="gdk_pixbuf_format_set_disabled ()"><code class="function">gdk_pixbuf_format_set_disabled()</code></a>.</p>
565
+ <div class="refsect3">
566
+ <a name="id-1.2.16.7.12.5"></a><h4>Parameters</h4>
567
+ <div class="informaltable"><table width="100%" border="0">
568
+ <colgroup>
569
+ <col width="150px" class="parameters_name">
570
+ <col class="parameters_description">
571
+ <col width="200px" class="parameters_annotations">
572
+ </colgroup>
573
+ <tbody><tr>
574
+ <td class="parameter_name"><p>format</p></td>
575
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
576
+ <td class="parameter_annotations"> </td>
577
+ </tr></tbody>
578
+ </table></div>
579
+ </div>
580
+ <div class="refsect3">
581
+ <a name="id-1.2.16.7.12.6"></a><h4>Returns</h4>
582
+ <p> whether this image format is disabled.</p>
583
+ <p></p>
584
+ </div>
585
+ <p class="since">Since 2.6</p>
586
+ </div>
587
+ <hr>
588
+ <div class="refsect2">
589
+ <a name="gdk-pixbuf-format-set-disabled"></a><h3>gdk_pixbuf_format_set_disabled ()</h3>
590
+ <pre class="programlisting"><span class="returnvalue">void</span>
591
+ gdk_pixbuf_format_set_disabled (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>,
592
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> disabled</code></em>);</pre>
593
+ <p>Disables or enables an image format. If a format is disabled,
594
+ gdk-pixbuf won't use the image loader for this format to load
595
+ images. Applications can use this to avoid using image loaders
596
+ with an inappropriate license, see <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-license" title="gdk_pixbuf_format_get_license ()"><code class="function">gdk_pixbuf_format_get_license()</code></a>.</p>
597
+ <div class="refsect3">
598
+ <a name="id-1.2.16.7.13.5"></a><h4>Parameters</h4>
599
+ <div class="informaltable"><table width="100%" border="0">
600
+ <colgroup>
601
+ <col width="150px" class="parameters_name">
602
+ <col class="parameters_description">
603
+ <col width="200px" class="parameters_annotations">
604
+ </colgroup>
605
+ <tbody>
606
+ <tr>
607
+ <td class="parameter_name"><p>format</p></td>
608
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
609
+ <td class="parameter_annotations"> </td>
610
+ </tr>
611
+ <tr>
612
+ <td class="parameter_name"><p>disabled</p></td>
613
+ <td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to disable the format <em class="parameter"><code>format</code></em>
614
+ </p></td>
615
+ <td class="parameter_annotations"> </td>
616
+ </tr>
617
+ </tbody>
618
+ </table></div>
619
+ </div>
620
+ <p class="since">Since 2.6</p>
621
+ </div>
622
+ <hr>
623
+ <div class="refsect2">
624
+ <a name="gdk-pixbuf-format-get-license"></a><h3>gdk_pixbuf_format_get_license ()</h3>
625
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
626
+ gdk_pixbuf_format_get_license (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
627
+ <p>Returns information about the license of the image loader for the format. The
628
+ returned string should be a shorthand for a wellknown license, e.g. "LGPL",
629
+ "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This
630
+ string should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it's no longer needed.</p>
631
+ <div class="refsect3">
632
+ <a name="id-1.2.16.7.14.5"></a><h4>Parameters</h4>
633
+ <div class="informaltable"><table width="100%" border="0">
634
+ <colgroup>
635
+ <col width="150px" class="parameters_name">
636
+ <col class="parameters_description">
637
+ <col width="200px" class="parameters_annotations">
638
+ </colgroup>
639
+ <tbody><tr>
640
+ <td class="parameter_name"><p>format</p></td>
641
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
642
+ <td class="parameter_annotations"> </td>
643
+ </tr></tbody>
644
+ </table></div>
645
+ </div>
646
+ <div class="refsect3">
647
+ <a name="id-1.2.16.7.14.6"></a><h4>Returns</h4>
648
+ <p> a string describing the license of <em class="parameter"><code>format</code></em>
649
+ . </p>
650
+ <p></p>
651
+ </div>
652
+ <p class="since">Since 2.6</p>
653
+ </div>
654
+ <hr>
655
+ <div class="refsect2">
656
+ <a name="GdkPixbufModuleFillVtableFunc"></a><h3>GdkPixbufModuleFillVtableFunc ()</h3>
657
+ <pre class="programlisting"><span class="returnvalue">void</span>
658
+ <span class="c_punctuation">(</span>*GdkPixbufModuleFillVtableFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> *module</code></em>);</pre>
659
+ <p>Defines the type of the function used to set the vtable of a
660
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> when it is loaded.</p>
661
+ <div class="refsect3">
662
+ <a name="id-1.2.16.7.15.5"></a><h4>Parameters</h4>
663
+ <div class="informaltable"><table width="100%" border="0">
664
+ <colgroup>
665
+ <col width="150px" class="parameters_name">
666
+ <col class="parameters_description">
667
+ <col width="200px" class="parameters_annotations">
668
+ </colgroup>
669
+ <tbody><tr>
670
+ <td class="parameter_name"><p>module</p></td>
671
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>.</p></td>
672
+ <td class="parameter_annotations"> </td>
673
+ </tr></tbody>
674
+ </table></div>
675
+ </div>
676
+ <p class="since">Since 2.2</p>
677
+ </div>
678
+ <hr>
679
+ <div class="refsect2">
680
+ <a name="GdkPixbufModuleFillInfoFunc"></a><h3>GdkPixbufModuleFillInfoFunc ()</h3>
681
+ <pre class="programlisting"><span class="returnvalue">void</span>
682
+ <span class="c_punctuation">(</span>*GdkPixbufModuleFillInfoFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *info</code></em>);</pre>
683
+ <p>Defines the type of the function used to fill a
684
+ <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structure with information about a module.</p>
685
+ <div class="refsect3">
686
+ <a name="id-1.2.16.7.16.5"></a><h4>Parameters</h4>
687
+ <div class="informaltable"><table width="100%" border="0">
688
+ <colgroup>
689
+ <col width="150px" class="parameters_name">
690
+ <col class="parameters_description">
691
+ <col width="200px" class="parameters_annotations">
692
+ </colgroup>
693
+ <tbody><tr>
694
+ <td class="parameter_name"><p>info</p></td>
695
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>.</p></td>
696
+ <td class="parameter_annotations"> </td>
697
+ </tr></tbody>
698
+ </table></div>
699
+ </div>
700
+ <p class="since">Since 2.2</p>
701
+ </div>
702
+ <hr>
703
+ <div class="refsect2">
704
+ <a name="GdkPixbufModuleSizeFunc"></a><h3>GdkPixbufModuleSizeFunc ()</h3>
705
+ <pre class="programlisting"><span class="returnvalue">void</span>
706
+ <span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
707
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
708
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
709
+ <p>Defines the type of the function that gets called once the size
710
+ of the loaded image is known.</p>
711
+ <p>The function is expected to set <em class="parameter"><code>width</code></em>
712
+ and <em class="parameter"><code>height</code></em>
713
+ to the desired
714
+ size to which the image should be scaled. If a module has no efficient
715
+ way to achieve the desired scaling during the loading of the image, it may
716
+ either ignore the size request, or only approximate it - gdk-pixbuf will
717
+ then perform the required scaling on the completely loaded image. </p>
718
+ <p>If the function sets <em class="parameter"><code>width</code></em>
719
+ or <em class="parameter"><code>height</code></em>
720
+ to zero, the module should interpret
721
+ this as a hint that it will be closed soon and shouldn't allocate further
722
+ resources. This convention is used to implement <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info" title="gdk_pixbuf_get_file_info ()"><code class="function">gdk_pixbuf_get_file_info()</code></a>
723
+ efficiently.</p>
724
+ <div class="refsect3">
725
+ <a name="id-1.2.16.7.17.7"></a><h4>Parameters</h4>
726
+ <div class="informaltable"><table width="100%" border="0">
727
+ <colgroup>
728
+ <col width="150px" class="parameters_name">
729
+ <col class="parameters_description">
730
+ <col width="200px" class="parameters_annotations">
731
+ </colgroup>
732
+ <tbody>
733
+ <tr>
734
+ <td class="parameter_name"><p>width</p></td>
735
+ <td class="parameter_description"><p>pointer to a location containing the current image width</p></td>
736
+ <td class="parameter_annotations"> </td>
737
+ </tr>
738
+ <tr>
739
+ <td class="parameter_name"><p>height</p></td>
740
+ <td class="parameter_description"><p>pointer to a location containing the current image height</p></td>
741
+ <td class="parameter_annotations"> </td>
742
+ </tr>
743
+ <tr>
744
+ <td class="parameter_name"><p>user_data</p></td>
745
+ <td class="parameter_description"><p>the loader.</p></td>
746
+ <td class="parameter_annotations"> </td>
747
+ </tr>
748
+ </tbody>
749
+ </table></div>
750
+ </div>
751
+ <p class="since">Since 2.2</p>
752
+ </div>
753
+ <hr>
754
+ <div class="refsect2">
755
+ <a name="GdkPixbufModulePreparedFunc"></a><h3>GdkPixbufModulePreparedFunc ()</h3>
756
+ <pre class="programlisting"><span class="returnvalue">void</span>
757
+ <span class="c_punctuation">(</span>*GdkPixbufModulePreparedFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
758
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *anim</code></em>,
759
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
760
+ <p>Defines the type of the function that gets called once the initial
761
+ setup of <em class="parameter"><code>pixbuf</code></em>
762
+ is done.</p>
763
+ <p><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> uses a function of this type to emit the
764
+ "&lt;link linkend="GdkPixbufLoader-area-prepared"&gt;area_prepared&lt;/link&gt;"
765
+ signal.</p>
766
+ <div class="refsect3">
767
+ <a name="id-1.2.16.7.18.6"></a><h4>Parameters</h4>
768
+ <div class="informaltable"><table width="100%" border="0">
769
+ <colgroup>
770
+ <col width="150px" class="parameters_name">
771
+ <col class="parameters_description">
772
+ <col width="200px" class="parameters_annotations">
773
+ </colgroup>
774
+ <tbody>
775
+ <tr>
776
+ <td class="parameter_name"><p>pixbuf</p></td>
777
+ <td class="parameter_description"><p>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that is currently being loaded.</p></td>
778
+ <td class="parameter_annotations"> </td>
779
+ </tr>
780
+ <tr>
781
+ <td class="parameter_name"><p>anim</p></td>
782
+ <td class="parameter_description"><p>if an animation is being loaded, the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, else <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
783
+ <td class="parameter_annotations"> </td>
784
+ </tr>
785
+ <tr>
786
+ <td class="parameter_name"><p>user_data</p></td>
787
+ <td class="parameter_description"><p>the loader.</p></td>
788
+ <td class="parameter_annotations"> </td>
789
+ </tr>
790
+ </tbody>
791
+ </table></div>
792
+ </div>
793
+ <p class="since">Since 2.2</p>
794
+ </div>
795
+ <hr>
796
+ <div class="refsect2">
797
+ <a name="GdkPixbufModuleUpdatedFunc"></a><h3>GdkPixbufModuleUpdatedFunc ()</h3>
798
+ <pre class="programlisting"><span class="returnvalue">void</span>
799
+ <span class="c_punctuation">(</span>*GdkPixbufModuleUpdatedFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
800
+ <em class="parameter"><code><span class="type">int</span> x</code></em>,
801
+ <em class="parameter"><code><span class="type">int</span> y</code></em>,
802
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
803
+ <em class="parameter"><code><span class="type">int</span> height</code></em>,
804
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
805
+ <p>Defines the type of the function that gets called every time a region
806
+ of <em class="parameter"><code>pixbuf</code></em>
807
+ is updated.</p>
808
+ <p><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> uses a function of this type to emit the
809
+ "&lt;link linkend="GdkPixbufLoader-area-updated"&gt;area_updated&lt;/link&gt;"
810
+ signal.</p>
811
+ <div class="refsect3">
812
+ <a name="id-1.2.16.7.19.6"></a><h4>Parameters</h4>
813
+ <div class="informaltable"><table width="100%" border="0">
814
+ <colgroup>
815
+ <col width="150px" class="parameters_name">
816
+ <col class="parameters_description">
817
+ <col width="200px" class="parameters_annotations">
818
+ </colgroup>
819
+ <tbody>
820
+ <tr>
821
+ <td class="parameter_name"><p>pixbuf</p></td>
822
+ <td class="parameter_description"><p>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that is currently being loaded.</p></td>
823
+ <td class="parameter_annotations"> </td>
824
+ </tr>
825
+ <tr>
826
+ <td class="parameter_name"><p>x</p></td>
827
+ <td class="parameter_description"><p>the X origin of the updated area.</p></td>
828
+ <td class="parameter_annotations"> </td>
829
+ </tr>
830
+ <tr>
831
+ <td class="parameter_name"><p>y</p></td>
832
+ <td class="parameter_description"><p>the Y origin of the updated area.</p></td>
833
+ <td class="parameter_annotations"> </td>
834
+ </tr>
835
+ <tr>
836
+ <td class="parameter_name"><p>width</p></td>
837
+ <td class="parameter_description"><p>the width of the updated area.</p></td>
838
+ <td class="parameter_annotations"> </td>
839
+ </tr>
840
+ <tr>
841
+ <td class="parameter_name"><p>height</p></td>
842
+ <td class="parameter_description"><p>the height of the updated area.</p></td>
843
+ <td class="parameter_annotations"> </td>
844
+ </tr>
845
+ <tr>
846
+ <td class="parameter_name"><p>user_data</p></td>
847
+ <td class="parameter_description"><p>the loader.</p></td>
848
+ <td class="parameter_annotations"> </td>
849
+ </tr>
850
+ </tbody>
851
+ </table></div>
852
+ </div>
853
+ <p class="since">Since 2.2</p>
854
+ </div>
855
+ </div>
856
+ <div class="refsect1">
857
+ <a name="gdk-pixbuf-Module-Interface.other_details"></a><h2>Types and Values</h2>
858
+ <div class="refsect2">
859
+ <a name="GdkPixbufFormat"></a><h3>struct GdkPixbufFormat</h3>
860
+ <pre class="programlisting">struct GdkPixbufFormat {
861
+ gchar *name;
862
+ GdkPixbufModulePattern *signature;
863
+ gchar *domain;
864
+ gchar *description;
865
+ gchar **mime_types;
866
+ gchar **extensions;
867
+ guint32 flags;
868
+ gboolean disabled;
869
+ gchar *license;
870
+ };
871
+ </pre>
872
+ <p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> contains information about the image format accepted by a
873
+ module. Only modules should access the fields directly, applications should
874
+ use the &lt;function&gt;gdk_pixbuf_format_*&lt;/function&gt; functions.</p>
875
+ <div class="refsect3">
876
+ <a name="id-1.2.16.8.2.5"></a><h4>Members</h4>
877
+ <div class="informaltable"><table width="100%" border="0">
878
+ <colgroup>
879
+ <col width="300px" class="struct_members_name">
880
+ <col class="struct_members_description">
881
+ <col width="200px" class="struct_members_annotations">
882
+ </colgroup>
883
+ <tbody>
884
+ <tr>
885
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.name"></a>name</code></em>;</p></td>
886
+ <td class="struct_member_description"><p>the name of the image format.</p></td>
887
+ <td class="struct_member_annotations"> </td>
888
+ </tr>
889
+ <tr>
890
+ <td class="struct_member_name"><p><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern" title="struct GdkPixbufModulePattern"><span class="type">GdkPixbufModulePattern</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.signature"></a>signature</code></em>;</p></td>
891
+ <td class="struct_member_description"><p>the signature of the module.</p></td>
892
+ <td class="struct_member_annotations"> </td>
893
+ </tr>
894
+ <tr>
895
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.domain"></a>domain</code></em>;</p></td>
896
+ <td class="struct_member_description"><p>the message domain for the <em class="parameter"><code>description</code></em>
897
+ .</p></td>
898
+ <td class="struct_member_annotations"> </td>
899
+ </tr>
900
+ <tr>
901
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.description"></a>description</code></em>;</p></td>
902
+ <td class="struct_member_description"><p>a description of the image format.</p></td>
903
+ <td class="struct_member_annotations"> </td>
904
+ </tr>
905
+ <tr>
906
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **<em class="structfield"><code><a name="GdkPixbufFormat.mime-types"></a>mime_types</code></em>;</p></td>
907
+ <td class="struct_member_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of MIME types for the image format.</p></td>
908
+ <td class="struct_member_annotations"> </td>
909
+ </tr>
910
+ <tr>
911
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **<em class="structfield"><code><a name="GdkPixbufFormat.extensions"></a>extensions</code></em>;</p></td>
912
+ <td class="struct_member_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of typical filename extensions for the
913
+ image format.</p></td>
914
+ <td class="struct_member_annotations"> </td>
915
+ </tr>
916
+ <tr>
917
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixbufFormat.flags"></a>flags</code></em>;</p></td>
918
+ <td class="struct_member_description"><p>a combination of <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormatFlags" title="enum GdkPixbufFormatFlags"><span class="type">GdkPixbufFormatFlags</span></a>.</p></td>
919
+ <td class="struct_member_annotations"> </td>
920
+ </tr>
921
+ <tr>
922
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GdkPixbufFormat.disabled"></a>disabled</code></em>;</p></td>
923
+ <td class="struct_member_description"><p>a boolean determining whether the loader is disabled.</p></td>
924
+ <td class="struct_member_annotations"> </td>
925
+ </tr>
926
+ <tr>
927
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.license"></a>license</code></em>;</p></td>
928
+ <td class="struct_member_description"><p>a string containing license information, typically set to
929
+ shorthands like "GPL", "LGPL", etc.</p></td>
930
+ <td class="struct_member_annotations"> </td>
931
+ </tr>
932
+ </tbody>
933
+ </table></div>
934
+ </div>
935
+ <p class="since">Since 2.2</p>
936
+ </div>
937
+ <hr>
938
+ <div class="refsect2">
939
+ <a name="GdkPixbufFormatFlags"></a><h3>enum GdkPixbufFormatFlags</h3>
940
+ <p>Flags which allow a module to specify further details about the supported
941
+ operations.</p>
942
+ <div class="refsect3">
943
+ <a name="id-1.2.16.8.3.4"></a><h4>Members</h4>
944
+ <div class="informaltable"><table width="100%" border="0">
945
+ <colgroup>
946
+ <col width="300px" class="enum_members_name">
947
+ <col class="enum_members_description">
948
+ <col width="200px" class="enum_members_annotations">
949
+ </colgroup>
950
+ <tbody>
951
+ <tr>
952
+ <td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-WRITABLE:CAPS"></a>GDK_PIXBUF_FORMAT_WRITABLE</p></td>
953
+ <td class="enum_member_description">
954
+ <p>the module can write out images in the format.</p>
955
+ </td>
956
+ <td class="enum_member_annotations"> </td>
957
+ </tr>
958
+ <tr>
959
+ <td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-SCALABLE:CAPS"></a>GDK_PIXBUF_FORMAT_SCALABLE</p></td>
960
+ <td class="enum_member_description">
961
+ <p>the image format is scalable</p>
962
+ </td>
963
+ <td class="enum_member_annotations"> </td>
964
+ </tr>
965
+ <tr>
966
+ <td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-THREADSAFE:CAPS"></a>GDK_PIXBUF_FORMAT_THREADSAFE</p></td>
967
+ <td class="enum_member_description">
968
+ <p>the module is threadsafe. gdk-pixbuf
969
+ ignores modules that are not marked as threadsafe. (Since 2.28).</p>
970
+ </td>
971
+ <td class="enum_member_annotations"> </td>
972
+ </tr>
973
+ </tbody>
974
+ </table></div>
975
+ </div>
976
+ <p class="since">Since 2.2</p>
977
+ </div>
978
+ <hr>
979
+ <div class="refsect2">
980
+ <a name="GdkPixbufModulePattern"></a><h3>struct GdkPixbufModulePattern</h3>
981
+ <pre class="programlisting">struct GdkPixbufModulePattern {
982
+ char *prefix;
983
+ char *mask;
984
+ int relevance;
985
+ };
986
+ </pre>
987
+ <p>The signature of a module is a set of prefixes. Prefixes are encoded as
988
+ pairs of ordinary strings, where the second string, called the mask, if
989
+ not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, must be of the same length as the first one and may contain
990
+ ' ', '!', 'x', 'z', and 'n' to indicate bytes that must be matched,
991
+ not matched, "don't-care"-bytes, zeros and non-zeros.
992
+ Each prefix has an associated integer that describes the relevance of
993
+ the prefix, with 0 meaning a mismatch and 100 a "perfect match".</p>
994
+ <p>Starting with gdk-pixbuf 2.8, the first byte of the mask may be '*',
995
+ indicating an unanchored pattern that matches not only at the beginning,
996
+ but also in the middle. Versions prior to 2.8 will interpret the '*'
997
+ like an 'x'. </p>
998
+ <p>The signature of a module is stored as an array of
999
+ <a href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern"><span class="type">GdkPixbufModulePatterns</span></a>. The array is terminated by a pattern
1000
+ where the <em class="parameter"><code>prefix</code></em>
1001
+ is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
1002
+ <p>&lt;informalexample&gt;&lt;programlisting&gt;
1003
+ GdkPixbufModulePattern *signature[] = {
1004
+ { "abcdx", " !x z", 100 },
1005
+ { "bla", NULL, 90 },
1006
+ { NULL, NULL, 0 }
1007
+ };
1008
+ &lt;/programlisting&gt;
1009
+ The example matches e.g. "auud\0" with relevance 100, and "blau" with
1010
+ relevance 90.&lt;/informalexample&gt;</p>
1011
+ <div class="refsect3">
1012
+ <a name="id-1.2.16.8.4.8"></a><h4>Members</h4>
1013
+ <div class="informaltable"><table width="100%" border="0">
1014
+ <colgroup>
1015
+ <col width="300px" class="struct_members_name">
1016
+ <col class="struct_members_description">
1017
+ <col width="200px" class="struct_members_annotations">
1018
+ </colgroup>
1019
+ <tbody>
1020
+ <tr>
1021
+ <td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModulePattern.prefix"></a>prefix</code></em>;</p></td>
1022
+ <td class="struct_member_description"><p>the prefix for this pattern</p></td>
1023
+ <td class="struct_member_annotations"> </td>
1024
+ </tr>
1025
+ <tr>
1026
+ <td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModulePattern.mask"></a>mask</code></em>;</p></td>
1027
+ <td class="struct_member_description"><p>mask containing bytes which modify how the prefix is matched against
1028
+ test data</p></td>
1029
+ <td class="struct_member_annotations"> </td>
1030
+ </tr>
1031
+ <tr>
1032
+ <td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="GdkPixbufModulePattern.relevance"></a>relevance</code></em>;</p></td>
1033
+ <td class="struct_member_description"><p>relevance of this pattern</p></td>
1034
+ <td class="struct_member_annotations"> </td>
1035
+ </tr>
1036
+ </tbody>
1037
+ </table></div>
1038
+ </div>
1039
+ <p class="since">Since 2.2</p>
1040
+ </div>
1041
+ <hr>
1042
+ <div class="refsect2">
1043
+ <a name="GdkPixbufModule"></a><h3>struct GdkPixbufModule</h3>
1044
+ <pre class="programlisting">struct GdkPixbufModule {
1045
+ char *module_name;
1046
+ char *module_path;
1047
+ GModule *module;
1048
+ GdkPixbufFormat *info;
1049
+
1050
+ GdkPixbuf *(* load) (FILE *f,
1051
+ GError **error);
1052
+ GdkPixbuf *(* load_xpm_data) (const char **data);
1053
+
1054
+ /* Incremental loading */
1055
+
1056
+ gpointer (* begin_load) (GdkPixbufModuleSizeFunc size_func,
1057
+ GdkPixbufModulePreparedFunc prepare_func,
1058
+ GdkPixbufModuleUpdatedFunc update_func,
1059
+ gpointer user_data,
1060
+ GError **error);
1061
+ gboolean (* stop_load) (gpointer context,
1062
+ GError **error);
1063
+ gboolean (* load_increment) (gpointer context,
1064
+ const guchar *buf,
1065
+ guint size,
1066
+ GError **error);
1067
+
1068
+ /* Animation loading */
1069
+ GdkPixbufAnimation *(* load_animation) (FILE *f,
1070
+ GError **error);
1071
+
1072
+ /* Saving */
1073
+ gboolean (* save) (FILE *f,
1074
+ GdkPixbuf *pixbuf,
1075
+ gchar **param_keys,
1076
+ gchar **param_values,
1077
+ GError **error);
1078
+
1079
+ gboolean (*save_to_callback) (GdkPixbufSaveFunc save_func,
1080
+ gpointer user_data,
1081
+ GdkPixbuf *pixbuf,
1082
+ gchar **option_keys,
1083
+ gchar **option_values,
1084
+ GError **error);
1085
+ };
1086
+ </pre>
1087
+ <p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> contains the necessary functions to load and save
1088
+ images in a certain file format. </p>
1089
+ <p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> can be loaded dynamically from a <a href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.
1090
+ Each loadable module must contain a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()"><span class="type">GdkPixbufModuleFillVtableFunc</span></a> function
1091
+ named &lt;function&gt;fill_vtable&lt;/function&gt;, which will get called when the module
1092
+ is loaded and must set the function pointers of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>.</p>
1093
+ <div class="refsect3">
1094
+ <a name="id-1.2.16.8.5.6"></a><h4>Members</h4>
1095
+ <div class="informaltable"><table width="100%" border="0">
1096
+ <colgroup>
1097
+ <col width="300px" class="struct_members_name">
1098
+ <col class="struct_members_description">
1099
+ <col width="200px" class="struct_members_annotations">
1100
+ </colgroup>
1101
+ <tbody>
1102
+ <tr>
1103
+ <td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModule.module-name"></a>module_name</code></em>;</p></td>
1104
+ <td class="struct_member_description"><p>the name of the module, usually the same as the
1105
+ usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</p></td>
1106
+ <td class="struct_member_annotations"> </td>
1107
+ </tr>
1108
+ <tr>
1109
+ <td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModule.module-path"></a>module_path</code></em>;</p></td>
1110
+ <td class="struct_member_description"><p>the path from which the module is loaded.</p></td>
1111
+ <td class="struct_member_annotations"> </td>
1112
+ </tr>
1113
+ <tr>
1114
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a> *<em class="structfield"><code><a name="GdkPixbufModule.module"></a>module</code></em>;</p></td>
1115
+ <td class="struct_member_description"><p>the loaded <a href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.</p></td>
1116
+ <td class="struct_member_annotations"> </td>
1117
+ </tr>
1118
+ <tr>
1119
+ <td class="struct_member_name"><p><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *<em class="structfield"><code><a name="GdkPixbufModule.info"></a>info</code></em>;</p></td>
1120
+ <td class="struct_member_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> holding information about the module.</p></td>
1121
+ <td class="struct_member_annotations"> </td>
1122
+ </tr>
1123
+ <tr>
1124
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load"></a>load</code></em> ()</p></td>
1125
+ <td class="struct_member_description"><p>loads an image from a file.</p></td>
1126
+ <td class="struct_member_annotations"> </td>
1127
+ </tr>
1128
+ <tr>
1129
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load-xpm-data"></a>load_xpm_data</code></em> ()</p></td>
1130
+ <td class="struct_member_description"><p>loads an image from data in memory.</p></td>
1131
+ <td class="struct_member_annotations"> </td>
1132
+ </tr>
1133
+ <tr>
1134
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.begin-load"></a>begin_load</code></em> ()</p></td>
1135
+ <td class="struct_member_description"><p>begins an incremental load.</p></td>
1136
+ <td class="struct_member_annotations"> </td>
1137
+ </tr>
1138
+ <tr>
1139
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.stop-load"></a>stop_load</code></em> ()</p></td>
1140
+ <td class="struct_member_description"><p>stops an incremental load.</p></td>
1141
+ <td class="struct_member_annotations"> </td>
1142
+ </tr>
1143
+ <tr>
1144
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load-increment"></a>load_increment</code></em> ()</p></td>
1145
+ <td class="struct_member_description"><p>continues an incremental load.</p></td>
1146
+ <td class="struct_member_annotations"> </td>
1147
+ </tr>
1148
+ <tr>
1149
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load-animation"></a>load_animation</code></em> ()</p></td>
1150
+ <td class="struct_member_description"><p>loads an animation from a file.</p></td>
1151
+ <td class="struct_member_annotations"> </td>
1152
+ </tr>
1153
+ <tr>
1154
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.save"></a>save</code></em> ()</p></td>
1155
+ <td class="struct_member_description"><p>saves a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to a file.</p></td>
1156
+ <td class="struct_member_annotations"> </td>
1157
+ </tr>
1158
+ <tr>
1159
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.save-to-callback"></a>save_to_callback</code></em> ()</p></td>
1160
+ <td class="struct_member_description"><p>saves a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by calling the given <a class="link" href="gdk-pixbuf-File-saving.html#GdkPixbufSaveFunc" title="GdkPixbufSaveFunc ()"><span class="type">GdkPixbufSaveFunc</span></a>.</p></td>
1161
+ <td class="struct_member_annotations"> </td>
1162
+ </tr>
1163
+ </tbody>
1164
+ </table></div>
1165
+ </div>
1166
+ </div>
1167
+ <hr>
1168
+ <div class="refsect2">
1169
+ <a name="GdkPixbufAnimationClass"></a><h3>struct GdkPixbufAnimationClass</h3>
1170
+ <pre class="programlisting">struct GdkPixbufAnimationClass {
1171
+ GObjectClass parent_class;
1172
+
1173
+
1174
+ gboolean (*is_static_image) (GdkPixbufAnimation *anim);
1175
+
1176
+ GdkPixbuf* (*get_static_image) (GdkPixbufAnimation *anim);
1177
+
1178
+ void (*get_size) (GdkPixbufAnimation *anim,
1179
+ int *width,
1180
+ int *height);
1181
+
1182
+ GdkPixbufAnimationIter* (*get_iter) (GdkPixbufAnimation *anim,
1183
+ const GTimeVal *start_time);
1184
+ };
1185
+ </pre>
1186
+ <p>Modules supporting animations must derive a type from
1187
+ <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, providing suitable implementations of the
1188
+ virtual functions.</p>
1189
+ <div class="refsect3">
1190
+ <a name="id-1.2.16.8.6.5"></a><h4>Members</h4>
1191
+ <div class="informaltable"><table width="100%" border="0">
1192
+ <colgroup>
1193
+ <col width="300px" class="struct_members_name">
1194
+ <col class="struct_members_description">
1195
+ <col width="200px" class="struct_members_annotations">
1196
+ </colgroup>
1197
+ <tbody>
1198
+ <tr>
1199
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GdkPixbufAnimationClass.parent-class"></a>parent_class</code></em>;</p></td>
1200
+ <td class="struct_member_description"><p>the parent class</p></td>
1201
+ <td class="struct_member_annotations"> </td>
1202
+ </tr>
1203
+ <tr>
1204
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.is-static-image"></a>is_static_image</code></em> ()</p></td>
1205
+ <td class="struct_member_description"><p>returns whether the given animation is just a static image.</p></td>
1206
+ <td class="struct_member_annotations"> </td>
1207
+ </tr>
1208
+ <tr>
1209
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.get-static-image"></a>get_static_image</code></em> ()</p></td>
1210
+ <td class="struct_member_description"><p>returns a static image representing the given animation.</p></td>
1211
+ <td class="struct_member_annotations"> </td>
1212
+ </tr>
1213
+ <tr>
1214
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.get-size"></a>get_size</code></em> ()</p></td>
1215
+ <td class="struct_member_description"><p>fills <em class="parameter"><code>width</code></em>
1216
+ and <em class="parameter"><code>height</code></em>
1217
+ with the frame size of the animation.</p></td>
1218
+ <td class="struct_member_annotations"> </td>
1219
+ </tr>
1220
+ <tr>
1221
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.get-iter"></a>get_iter</code></em> ()</p></td>
1222
+ <td class="struct_member_description"><p>returns an iterator for the given animation.</p></td>
1223
+ <td class="struct_member_annotations"> </td>
1224
+ </tr>
1225
+ </tbody>
1226
+ </table></div>
1227
+ </div>
1228
+ </div>
1229
+ <hr>
1230
+ <div class="refsect2">
1231
+ <a name="GdkPixbufAnimationIterClass"></a><h3>struct GdkPixbufAnimationIterClass</h3>
1232
+ <pre class="programlisting">struct GdkPixbufAnimationIterClass {
1233
+ GObjectClass parent_class;
1234
+
1235
+
1236
+ int (*get_delay_time) (GdkPixbufAnimationIter *iter);
1237
+
1238
+ GdkPixbuf* (*get_pixbuf) (GdkPixbufAnimationIter *iter);
1239
+
1240
+ gboolean (*on_currently_loading_frame) (GdkPixbufAnimationIter *iter);
1241
+
1242
+ gboolean (*advance) (GdkPixbufAnimationIter *iter,
1243
+ const GTimeVal *current_time);
1244
+ };
1245
+ </pre>
1246
+ <p>Modules supporting animations must derive a type from
1247
+ <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a>, providing suitable implementations of the
1248
+ virtual functions.</p>
1249
+ <div class="refsect3">
1250
+ <a name="id-1.2.16.8.7.5"></a><h4>Members</h4>
1251
+ <div class="informaltable"><table width="100%" border="0">
1252
+ <colgroup>
1253
+ <col width="300px" class="struct_members_name">
1254
+ <col class="struct_members_description">
1255
+ <col width="200px" class="struct_members_annotations">
1256
+ </colgroup>
1257
+ <tbody>
1258
+ <tr>
1259
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GdkPixbufAnimationIterClass.parent-class"></a>parent_class</code></em>;</p></td>
1260
+ <td class="struct_member_description"><p>the parent class</p></td>
1261
+ <td class="struct_member_annotations"> </td>
1262
+ </tr>
1263
+ <tr>
1264
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.get-delay-time"></a>get_delay_time</code></em> ()</p></td>
1265
+ <td class="struct_member_description"><p>returns the time in milliseconds that the current frame
1266
+ should be shown.</p></td>
1267
+ <td class="struct_member_annotations"> </td>
1268
+ </tr>
1269
+ <tr>
1270
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.get-pixbuf"></a>get_pixbuf</code></em> ()</p></td>
1271
+ <td class="struct_member_description"><p>returns the current frame.</p></td>
1272
+ <td class="struct_member_annotations"> </td>
1273
+ </tr>
1274
+ <tr>
1275
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.on-currently-loading-frame"></a>on_currently_loading_frame</code></em> ()</p></td>
1276
+ <td class="struct_member_description"><p>returns whether the current frame of <em class="parameter"><code>iter</code></em>
1277
+ is
1278
+ being loaded.</p></td>
1279
+ <td class="struct_member_annotations"> </td>
1280
+ </tr>
1281
+ <tr>
1282
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.advance"></a>advance</code></em> ()</p></td>
1283
+ <td class="struct_member_description"><p>advances the iterator to <em class="parameter"><code>current_time</code></em>
1284
+ , possibly changing the
1285
+ current frame.</p></td>
1286
+ <td class="struct_member_annotations"> </td>
1287
+ </tr>
1288
+ </tbody>
1289
+ </table></div>
1290
+ </div>
1291
+ </div>
1292
+ </div>
1293
+ </div>
1294
+ <div class="footer">
1295
+ <hr>
1296
+ Generated by GTK-Doc V1.20.1</div>
1297
+ </body>
1298
+ </html>