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,33 @@
1
+
2
+ /* Generated data (by glib-mkenums) */
3
+
4
+ #if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
5
+ #error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
6
+ #endif
7
+
8
+ #ifndef __GDK_PIXBUF_ENUM_TYPES_H__
9
+ #define __GDK_PIXBUF_ENUM_TYPES_H__
10
+
11
+ #include <glib-object.h>
12
+
13
+ G_BEGIN_DECLS
14
+
15
+ /* enumerations from "gdk-pixbuf-core.h" */
16
+ GType gdk_pixbuf_alpha_mode_get_type (void) G_GNUC_CONST;
17
+ #define GDK_TYPE_PIXBUF_ALPHA_MODE (gdk_pixbuf_alpha_mode_get_type ())
18
+ GType gdk_colorspace_get_type (void) G_GNUC_CONST;
19
+ #define GDK_TYPE_COLORSPACE (gdk_colorspace_get_type ())
20
+ GType gdk_pixbuf_error_get_type (void) G_GNUC_CONST;
21
+ #define GDK_TYPE_PIXBUF_ERROR (gdk_pixbuf_error_get_type ())
22
+
23
+ /* enumerations from "gdk-pixbuf-transform.h" */
24
+ GType gdk_interp_type_get_type (void) G_GNUC_CONST;
25
+ #define GDK_TYPE_INTERP_TYPE (gdk_interp_type_get_type ())
26
+ GType gdk_pixbuf_rotation_get_type (void) G_GNUC_CONST;
27
+ #define GDK_TYPE_PIXBUF_ROTATION (gdk_pixbuf_rotation_get_type ())
28
+ G_END_DECLS
29
+
30
+ #endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */
31
+
32
+ /* Generated data ends here */
33
+
@@ -0,0 +1,120 @@
1
+ #if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
2
+ #error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
3
+ #endif
4
+
5
+ #ifndef GDK_PIXBUF_FEATURES_H
6
+ #define GDK_PIXBUF_FEATURES_H 1
7
+
8
+ #include <glib.h>
9
+
10
+ /**
11
+ * SECTION:initialization_versions
12
+ * @Short_description:
13
+ Library version numbers.
14
+ * @Title: Initialization and Versions
15
+ *
16
+ * These macros and variables let you check the version of gdk-pixbuf
17
+ * you're linking against.
18
+ */
19
+
20
+ /**
21
+ * GDK_PIXBUF_MAJOR:
22
+ *
23
+ * Major version of gdk-pixbuf library, that is the "0" in
24
+ * "0.8.2" for example.
25
+ */
26
+ /**
27
+ * GDK_PIXBUF_MINOR:
28
+ *
29
+ * Minor version of gdk-pixbuf library, that is the "8" in
30
+ * "0.8.2" for example.
31
+ */
32
+ /**
33
+ * GDK_PIXBUF_MICRO:
34
+ *
35
+ * Micro version of gdk-pixbuf library, that is the "2" in
36
+ * "0.8.2" for example.
37
+ */
38
+ /**
39
+ * GDK_PIXBUF_VERSION:
40
+ *
41
+ * Contains the full version of the gdk-pixbuf header as a string.
42
+ * This is the version being compiled against; contrast with
43
+ * #gdk_pixbuf_version.
44
+ */
45
+
46
+ #define GDK_PIXBUF_MAJOR (2)
47
+ #define GDK_PIXBUF_MINOR (30)
48
+ #define GDK_PIXBUF_MICRO (8)
49
+ #define GDK_PIXBUF_VERSION "2.30.8"
50
+
51
+ /* We prefix variable declarations so they can
52
+ * properly get exported/imported from Windows DLLs.
53
+ */
54
+ #ifdef G_PLATFORM_WIN32
55
+ # ifdef GDK_PIXBUF_STATIC_COMPILATION
56
+ # define GDK_PIXBUF_VAR extern
57
+ # else /* !GDK_PIXBUF_STATIC_COMPILATION */
58
+ # ifdef GDK_PIXBUF_C_COMPILATION
59
+ # ifdef DLL_EXPORT
60
+ # define GDK_PIXBUF_VAR __declspec(dllexport)
61
+ # else /* !DLL_EXPORT */
62
+ # define GDK_PIXBUF_VAR extern
63
+ # endif /* !DLL_EXPORT */
64
+ # else /* !GDK_PIXBUF_C_COMPILATION */
65
+ # define GDK_PIXBUF_VAR extern __declspec(dllimport)
66
+ # endif /* !GDK_PIXBUF_C_COMPILATION */
67
+ # endif /* !GDK_PIXBUF_STATIC_COMPILATION */
68
+ #else /* !G_PLATFORM_WIN32 */
69
+ # define GDK_PIXBUF_VAR extern
70
+ #endif /* !G_PLATFORM_WIN32 */
71
+
72
+ /**
73
+ * gdk_pixbuf_major_version:
74
+ *
75
+ * The major version number of the gdk-pixbuf library. (e.g. in
76
+ * gdk-pixbuf version 1.2.5 this is 1.)
77
+ *
78
+ *
79
+ * This variable is in the library, so represents the
80
+ * gdk-pixbuf library you have linked against. Contrast with the
81
+ * #GDK_PIXBUF_MAJOR macro, which represents the major version of the
82
+ * gdk-pixbuf headers you have included.
83
+ */
84
+ /**
85
+ * gdk_pixbuf_minor_version:
86
+ *
87
+ * The minor version number of the gdk-pixbuf library. (e.g. in
88
+ * gdk-pixbuf version 1.2.5 this is 2.)
89
+ *
90
+ *
91
+ * This variable is in the library, so represents the
92
+ * gdk-pixbuf library you have linked against. Contrast with the
93
+ * #GDK_PIXBUF_MINOR macro, which represents the minor version of the
94
+ * gdk-pixbuf headers you have included.
95
+ */
96
+ /**
97
+ * gdk_pixbuf_micro_version:
98
+ *
99
+ * The micro version number of the gdk-pixbuf library. (e.g. in
100
+ * gdk-pixbuf version 1.2.5 this is 5.)
101
+ *
102
+ *
103
+ * This variable is in the library, so represents the
104
+ * gdk-pixbuf library you have linked against. Contrast with the
105
+ * #GDK_PIXBUF_MICRO macro, which represents the micro version of the
106
+ * gdk-pixbuf headers you have included.
107
+ */
108
+ /**
109
+ * gdk_pixbuf_version:
110
+ *
111
+ * Contains the full version of the gdk-pixbuf library as a string.
112
+ * This is the version currently in use by a running program.
113
+ */
114
+
115
+ GDK_PIXBUF_VAR const guint gdk_pixbuf_major_version;
116
+ GDK_PIXBUF_VAR const guint gdk_pixbuf_minor_version;
117
+ GDK_PIXBUF_VAR const guint gdk_pixbuf_micro_version;
118
+ GDK_PIXBUF_VAR const char *gdk_pixbuf_version;
119
+
120
+ #endif /* GDK_PIXBUF_FEATURES_H */
@@ -0,0 +1,343 @@
1
+ /* GdkPixbuf library - Io handling. This is an internal header for
2
+ * GdkPixbuf. You should never use it unless you are doing development for
3
+ * GdkPixbuf itself.
4
+ *
5
+ * Copyright (C) 1999 The Free Software Foundation
6
+ *
7
+ * Authors: Mark Crichton <crichton@gimp.org>
8
+ * Miguel de Icaza <miguel@gnu.org>
9
+ * Federico Mena-Quintero <federico@gimp.org>
10
+ * Jonathan Blandford <jrb@redhat.com>
11
+ * Michael Fulbright <drmike@redhat.com>
12
+ *
13
+ * This library is free software; you can redistribute it and/or
14
+ * modify it under the terms of the GNU Lesser General Public
15
+ * License as published by the Free Software Foundation; either
16
+ * version 2 of the License, or (at your option) any later version.
17
+ *
18
+ * This library is distributed in the hope that it will be useful,
19
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
+ * Lesser General Public License for more details.
22
+ *
23
+ * You should have received a copy of the GNU Lesser General Public
24
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
25
+ */
26
+
27
+ #ifndef GDK_PIXBUF_IO_H
28
+ #define GDK_PIXBUF_IO_H
29
+
30
+ #if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
31
+ #error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
32
+ #endif
33
+
34
+ #include <stdio.h>
35
+ #include <glib.h>
36
+ #include <gmodule.h>
37
+ #include <gdk-pixbuf/gdk-pixbuf-core.h>
38
+ #include <gdk-pixbuf/gdk-pixbuf-animation.h>
39
+
40
+ G_BEGIN_DECLS
41
+
42
+ typedef struct _GdkPixbufFormat GdkPixbufFormat;
43
+
44
+ GType gdk_pixbuf_format_get_type (void) G_GNUC_CONST;
45
+
46
+ GSList *gdk_pixbuf_get_formats (void);
47
+ gchar *gdk_pixbuf_format_get_name (GdkPixbufFormat *format);
48
+ gchar *gdk_pixbuf_format_get_description (GdkPixbufFormat *format);
49
+ gchar **gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format);
50
+ gchar **gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format);
51
+ gboolean gdk_pixbuf_format_is_writable (GdkPixbufFormat *format);
52
+ gboolean gdk_pixbuf_format_is_scalable (GdkPixbufFormat *format);
53
+ gboolean gdk_pixbuf_format_is_disabled (GdkPixbufFormat *format);
54
+ void gdk_pixbuf_format_set_disabled (GdkPixbufFormat *format,
55
+ gboolean disabled);
56
+ gchar *gdk_pixbuf_format_get_license (GdkPixbufFormat *format);
57
+
58
+ GdkPixbufFormat *gdk_pixbuf_get_file_info (const gchar *filename,
59
+ gint *width,
60
+ gint *height);
61
+
62
+ GdkPixbufFormat *gdk_pixbuf_format_copy (const GdkPixbufFormat *format);
63
+ void gdk_pixbuf_format_free (GdkPixbufFormat *format);
64
+
65
+ #ifdef GDK_PIXBUF_ENABLE_BACKEND
66
+
67
+
68
+
69
+ /**
70
+ * GdkPixbufModuleSizeFunc:
71
+ * @width: pointer to a location containing the current image width
72
+ * @height: pointer to a location containing the current image height
73
+ * @user_data: the loader.
74
+ *
75
+ * Defines the type of the function that gets called once the size
76
+ * of the loaded image is known.
77
+ *
78
+ * The function is expected to set @width and @height to the desired
79
+ * size to which the image should be scaled. If a module has no efficient
80
+ * way to achieve the desired scaling during the loading of the image, it may
81
+ * either ignore the size request, or only approximate it - gdk-pixbuf will
82
+ * then perform the required scaling on the completely loaded image.
83
+ *
84
+ * If the function sets @width or @height to zero, the module should interpret
85
+ * this as a hint that it will be closed soon and shouldn't allocate further
86
+ * resources. This convention is used to implement gdk_pixbuf_get_file_info()
87
+ * efficiently.
88
+ *
89
+ * Since: 2.2
90
+ */
91
+ typedef void (* GdkPixbufModuleSizeFunc) (gint *width,
92
+ gint *height,
93
+ gpointer user_data);
94
+
95
+ /**
96
+ * GdkPixbufModulePreparedFunc:
97
+ * @pixbuf: the #GdkPixbuf that is currently being loaded.
98
+ * @anim: if an animation is being loaded, the #GdkPixbufAnimation, else %NULL.
99
+ * @user_data: the loader.
100
+ *
101
+ * Defines the type of the function that gets called once the initial
102
+ * setup of @pixbuf is done.
103
+ *
104
+ * #GdkPixbufLoader uses a function of this type to emit the
105
+ * "<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>"
106
+ * signal.
107
+ *
108
+ * Since: 2.2
109
+ */
110
+ typedef void (* GdkPixbufModulePreparedFunc) (GdkPixbuf *pixbuf,
111
+ GdkPixbufAnimation *anim,
112
+ gpointer user_data);
113
+
114
+ /**
115
+ * GdkPixbufModuleUpdatedFunc:
116
+ * @pixbuf: the #GdkPixbuf that is currently being loaded.
117
+ * @x: the X origin of the updated area.
118
+ * @y: the Y origin of the updated area.
119
+ * @width: the width of the updated area.
120
+ * @height: the height of the updated area.
121
+ * @user_data: the loader.
122
+ *
123
+ * Defines the type of the function that gets called every time a region
124
+ * of @pixbuf is updated.
125
+ *
126
+ * #GdkPixbufLoader uses a function of this type to emit the
127
+ * "<link linkend="GdkPixbufLoader-area-updated">area_updated</link>"
128
+ * signal.
129
+ *
130
+ * Since: 2.2
131
+ */
132
+ typedef void (* GdkPixbufModuleUpdatedFunc) (GdkPixbuf *pixbuf,
133
+ int x,
134
+ int y,
135
+ int width,
136
+ int height,
137
+ gpointer user_data);
138
+
139
+ /**
140
+ * GdkPixbufModulePattern:
141
+ * @prefix: the prefix for this pattern
142
+ * @mask: mask containing bytes which modify how the prefix is matched against
143
+ * test data
144
+ * @relevance: relevance of this pattern
145
+ *
146
+ * The signature of a module is a set of prefixes. Prefixes are encoded as
147
+ * pairs of ordinary strings, where the second string, called the mask, if
148
+ * not %NULL, must be of the same length as the first one and may contain
149
+ * ' ', '!', 'x', 'z', and 'n' to indicate bytes that must be matched,
150
+ * not matched, "don't-care"-bytes, zeros and non-zeros.
151
+ * Each prefix has an associated integer that describes the relevance of
152
+ * the prefix, with 0 meaning a mismatch and 100 a "perfect match".
153
+ *
154
+ * Starting with gdk-pixbuf 2.8, the first byte of the mask may be '*',
155
+ * indicating an unanchored pattern that matches not only at the beginning,
156
+ * but also in the middle. Versions prior to 2.8 will interpret the '*'
157
+ * like an 'x'.
158
+ *
159
+ * The signature of a module is stored as an array of
160
+ * #GdkPixbufModulePatterns. The array is terminated by a pattern
161
+ * where the @prefix is %NULL.
162
+ *
163
+ *
164
+ * <informalexample><programlisting>
165
+ * GdkPixbufModulePattern *signature[] = {
166
+ * { "abcdx", " !x z", 100 },
167
+ * { "bla", NULL, 90 },
168
+ * { NULL, NULL, 0 }
169
+ * };
170
+ * </programlisting>
171
+ * The example matches e.g. "auud\0" with relevance 100, and "blau" with
172
+ * relevance 90.</informalexample>
173
+ *
174
+ * Since: 2.2
175
+ */
176
+ typedef struct _GdkPixbufModulePattern GdkPixbufModulePattern;
177
+ struct _GdkPixbufModulePattern {
178
+ char *prefix;
179
+ char *mask;
180
+ int relevance;
181
+ };
182
+
183
+ /**
184
+ * GdkPixbufModule:
185
+ * @module_name: the name of the module, usually the same as the
186
+ * usual file extension for images of this type, eg. "xpm", "jpeg" or "png".
187
+ * @module_path: the path from which the module is loaded.
188
+ * @module: the loaded #GModule.
189
+ * @info: a #GdkPixbufFormat holding information about the module.
190
+ * @load: loads an image from a file.
191
+ * @load_xpm_data: loads an image from data in memory.
192
+ * @begin_load: begins an incremental load.
193
+ * @stop_load: stops an incremental load.
194
+ * @load_increment: continues an incremental load.
195
+ * @load_animation: loads an animation from a file.
196
+ * @save: saves a #GdkPixbuf to a file.
197
+ * @save_to_callback: saves a #GdkPixbuf by calling the given #GdkPixbufSaveFunc.
198
+ *
199
+ * A #GdkPixbufModule contains the necessary functions to load and save
200
+ * images in a certain file format.
201
+ *
202
+ * A #GdkPixbufModule can be loaded dynamically from a #GModule.
203
+ * Each loadable module must contain a #GdkPixbufModuleFillVtableFunc function
204
+ * named <function>fill_vtable</function>, which will get called when the module
205
+ * is loaded and must set the function pointers of the #GdkPixbufModule.
206
+ */
207
+ typedef struct _GdkPixbufModule GdkPixbufModule;
208
+ struct _GdkPixbufModule {
209
+ char *module_name;
210
+ char *module_path;
211
+ GModule *module;
212
+ GdkPixbufFormat *info;
213
+
214
+ GdkPixbuf *(* load) (FILE *f,
215
+ GError **error);
216
+ GdkPixbuf *(* load_xpm_data) (const char **data);
217
+
218
+ /* Incremental loading */
219
+
220
+ gpointer (* begin_load) (GdkPixbufModuleSizeFunc size_func,
221
+ GdkPixbufModulePreparedFunc prepare_func,
222
+ GdkPixbufModuleUpdatedFunc update_func,
223
+ gpointer user_data,
224
+ GError **error);
225
+ gboolean (* stop_load) (gpointer context,
226
+ GError **error);
227
+ gboolean (* load_increment) (gpointer context,
228
+ const guchar *buf,
229
+ guint size,
230
+ GError **error);
231
+
232
+ /* Animation loading */
233
+ GdkPixbufAnimation *(* load_animation) (FILE *f,
234
+ GError **error);
235
+
236
+ /* Saving */
237
+ gboolean (* save) (FILE *f,
238
+ GdkPixbuf *pixbuf,
239
+ gchar **param_keys,
240
+ gchar **param_values,
241
+ GError **error);
242
+
243
+ gboolean (*save_to_callback) (GdkPixbufSaveFunc save_func,
244
+ gpointer user_data,
245
+ GdkPixbuf *pixbuf,
246
+ gchar **option_keys,
247
+ gchar **option_values,
248
+ GError **error);
249
+
250
+ /*< private >*/
251
+ void (*_reserved1) (void);
252
+ void (*_reserved2) (void);
253
+ void (*_reserved3) (void);
254
+ void (*_reserved4) (void);
255
+ void (*_reserved5) (void);
256
+
257
+ };
258
+
259
+ /**
260
+ * GdkPixbufModuleFillVtableFunc:
261
+ * @module: a #GdkPixbufModule.
262
+ *
263
+ * Defines the type of the function used to set the vtable of a
264
+ * #GdkPixbufModule when it is loaded.
265
+ *
266
+ * Since: 2.2
267
+ */
268
+
269
+ typedef void (* GdkPixbufModuleFillVtableFunc) (GdkPixbufModule *module);
270
+
271
+ /**
272
+ * GdkPixbufModuleFillInfoFunc:
273
+ * @info: a #GdkPixbufFormat.
274
+ *
275
+ * Defines the type of the function used to fill a
276
+ * #GdkPixbufFormat structure with information about a module.
277
+ *
278
+ * Since: 2.2
279
+ */
280
+ typedef void (* GdkPixbufModuleFillInfoFunc) (GdkPixbufFormat *info);
281
+
282
+ /* key/value pairs that can be attached by the pixbuf loader */
283
+
284
+ gboolean gdk_pixbuf_set_option (GdkPixbuf *pixbuf,
285
+ const gchar *key,
286
+ const gchar *value);
287
+
288
+ /**
289
+ * GdkPixbufFormatFlags:
290
+ * @GDK_PIXBUF_FORMAT_WRITABLE: the module can write out images in the format.
291
+ * @GDK_PIXBUF_FORMAT_SCALABLE: the image format is scalable
292
+ * @GDK_PIXBUF_FORMAT_THREADSAFE: the module is threadsafe. gdk-pixbuf
293
+ * ignores modules that are not marked as threadsafe. (Since 2.28).
294
+ *
295
+ * Flags which allow a module to specify further details about the supported
296
+ * operations.
297
+ *
298
+ * Since: 2.2
299
+ */
300
+ typedef enum /*< skip >*/
301
+ {
302
+ GDK_PIXBUF_FORMAT_WRITABLE = 1 << 0,
303
+ GDK_PIXBUF_FORMAT_SCALABLE = 1 << 1,
304
+ GDK_PIXBUF_FORMAT_THREADSAFE = 1 << 2
305
+ } GdkPixbufFormatFlags;
306
+
307
+ /**
308
+ * GdkPixbufFormat:
309
+ * @name: the name of the image format.
310
+ * @signature: the signature of the module.
311
+ * @domain: the message domain for the @description.
312
+ * @description: a description of the image format.
313
+ * @mime_types: a %NULL-terminated array of MIME types for the image format.
314
+ * @extensions: a %NULL-terminated array of typical filename extensions for the
315
+ * image format.
316
+ * @flags: a combination of #GdkPixbufFormatFlags.
317
+ * @disabled: a boolean determining whether the loader is disabled.
318
+ * @license: a string containing license information, typically set to
319
+ * shorthands like "GPL", "LGPL", etc.
320
+ *
321
+ * A #GdkPixbufFormat contains information about the image format accepted by a
322
+ * module. Only modules should access the fields directly, applications should
323
+ * use the <function>gdk_pixbuf_format_*</function> functions.
324
+ *
325
+ * Since: 2.2
326
+ */
327
+ struct _GdkPixbufFormat {
328
+ gchar *name;
329
+ GdkPixbufModulePattern *signature;
330
+ gchar *domain;
331
+ gchar *description;
332
+ gchar **mime_types;
333
+ gchar **extensions;
334
+ guint32 flags;
335
+ gboolean disabled;
336
+ gchar *license;
337
+ };
338
+
339
+ #endif /* GDK_PIXBUF_ENABLE_BACKEND */
340
+
341
+ G_END_DECLS
342
+
343
+ #endif /* GDK_PIXBUF_IO_H */