gdk_pixbuf2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/ext/gdk_pixbuf2/extconf.rb +1 -0
  4. data/lib/2.2/gdk_pixbuf2.so +0 -0
  5. data/lib/2.3/gdk_pixbuf2.so +0 -0
  6. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  7. data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
  8. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  9. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  10. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +37 -0
  11. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +18 -2
  12. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +3 -3
  13. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +8 -0
  14. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +2 -0
  15. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +8 -0
  16. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +62 -87
  17. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
  18. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  19. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  20. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
  21. data/vendor/local/lib/gdk_pixbuf-2.0.def +6 -0
  22. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  23. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  24. data/vendor/local/lib/libgdk_pixbuf-2.0.la +6 -6
  25. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
  26. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +300 -50
  27. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +94 -103
  28. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +18 -5
  29. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -4
  30. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -4
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +4 -5
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -4
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -4
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -6
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +56 -0
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -4
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -4
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -4
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +59 -4
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +28 -5
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +134 -145
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +232 -123
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +134 -138
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +131 -47
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +87 -62
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +101 -173
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -30
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +39 -38
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +226 -83
  50. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +21 -22
  51. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +41 -51
  52. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -10
  53. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +7 -8
  54. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +34 -44
  55. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -4
  56. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +5 -6
  57. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -4
  58. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -4
  59. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -4
  60. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +104 -18
  61. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +4 -4
  62. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -6
  63. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -4
  64. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -4
  65. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +9 -6
  66. data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  67. data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  68. data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  69. data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  70. data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  79. data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  80. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  81. data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  82. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  83. data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  84. data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  85. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  86. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  87. data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  88. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  89. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  90. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  91. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  92. data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  93. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  94. data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  95. data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  96. data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  97. data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  98. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  99. data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  100. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  101. data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  102. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  103. data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  104. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  105. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  106. data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  107. data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  108. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  109. data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  110. data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  111. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  112. data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  113. data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  114. data/vendor/local/share/locale/kk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  115. data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  116. data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  117. data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  118. data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  119. data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  120. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  121. data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  122. data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  123. data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  124. data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  125. data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  126. data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  127. data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  128. data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  129. data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  130. data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  131. data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  132. data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  133. data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  134. data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  135. data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  136. data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  137. data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  138. data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  139. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  140. data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  141. data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  142. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  143. data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  144. data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  145. data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  146. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  147. data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  148. data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  149. data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  150. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  151. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  152. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  153. data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  154. data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  155. data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  156. data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  157. data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  158. data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  159. data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  160. data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  161. data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  162. data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  163. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  164. data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  165. data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  166. data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  167. data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  168. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  169. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  170. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  171. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
  172. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
  173. metadata +9 -8
  174. data/lib/2.0/gdk_pixbuf2.so +0 -0
  175. data/lib/2.1/gdk_pixbuf2.so +0 -0
  176. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +0 -322
@@ -2,13 +2,13 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>GDK-PixBuf Reference Manual: Image Data in Memory</title>
5
+ <title>Image Data in Memory: GDK-PixBuf Reference Manual</title>
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-File-saving.html" title="File saving">
10
10
  <link rel="next" href="gdk-pixbuf-Inline-data.html" title="Inline data">
11
- <meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -52,6 +52,14 @@
52
52
  <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
53
53
  </td>
54
54
  <td class="function_name">
55
+ <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-bytes" title="gdk_pixbuf_new_from_bytes ()">gdk_pixbuf_new_from_bytes</a> <span class="c_punctuation">()</span>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td class="function_type">
60
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
61
+ </td>
62
+ <td class="function_name">
55
63
  <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data" title="gdk_pixbuf_new_from_data ()">gdk_pixbuf_new_from_data</a> <span class="c_punctuation">()</span>
56
64
  </td>
57
65
  </tr>
@@ -104,7 +112,7 @@ the destroy notification function that will be called when the
104
112
  data buffer needs to be freed; this will happen when a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
105
113
  is finalized by the reference counting functions If you have a
106
114
  chunk of static data compiled into your application, you can pass
107
- in <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as the destroy notification function so that the data
115
+ in <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as the destroy notification function so that the data
108
116
  will not be freed.</p>
109
117
  <p>The <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new" title="gdk_pixbuf_new ()"><code class="function">gdk_pixbuf_new()</code></a> function can be used as a convenience to
110
118
  create a pixbuf with an empty buffer. This is equivalent to
@@ -115,7 +123,7 @@ with an efficient algorithm.</p>
115
123
  <p>As a special case, you can use the <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-xpm-data" title="gdk_pixbuf_new_from_xpm_data ()"><code class="function">gdk_pixbuf_new_from_xpm_data()</code></a>
116
124
  function to create a pixbuf from inline XPM image data.</p>
117
125
  <p>You can also copy an existing pixbuf with the <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-copy" title="gdk_pixbuf_copy ()"><code class="function">gdk_pixbuf_copy()</code></a>
118
- function. This is not the same as just doing a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
126
+ function. This is not the same as just doing a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
119
127
  on the old pixbuf; the copy function will actually duplicate the
120
128
  pixel data in memory and create a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure for it.</p>
121
129
  </div>
@@ -125,7 +133,7 @@ pixel data in memory and create a new <a class="link" href="gdk-pixbuf-The-GdkPi
125
133
  <a name="gdk-pixbuf-new"></a><h3>gdk_pixbuf_new ()</h3>
126
134
  <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
127
135
  gdk_pixbuf_new (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkColorspace" title="enum GdkColorspace"><span class="type">GdkColorspace</span></a> colorspace</code></em>,
128
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
136
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
129
137
  <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
130
138
  <em class="parameter"><code><span class="type">int</span> width</code></em>,
131
139
  <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
@@ -133,7 +141,7 @@ gdk_pixbuf_new (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The
133
141
  buffer has an optimal rowstride. Note that the buffer is not cleared;
134
142
  you will have to fill it completely yourself.</p>
135
143
  <div class="refsect3">
136
- <a name="id-1.2.8.6.2.5"></a><h4>Parameters</h4>
144
+ <a name="gdk-pixbuf-new.parameters"></a><h4>Parameters</h4>
137
145
  <div class="informaltable"><table width="100%" border="0">
138
146
  <colgroup>
139
147
  <col width="150px" class="parameters_name">
@@ -170,29 +178,102 @@ you will have to fill it completely yourself.</p>
170
178
  </table></div>
171
179
  </div>
172
180
  <div class="refsect3">
173
- <a name="id-1.2.8.6.2.6"></a><h4>Returns</h4>
181
+ <a name="gdk-pixbuf-new.returns"></a><h4>Returns</h4>
174
182
  <p> A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> with a reference count of 1, or
175
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be allocated for the image buffer.</p>
176
- <p></p>
183
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be allocated for the image buffer.</p>
184
+ </div>
185
+ </div>
186
+ <hr>
187
+ <div class="refsect2">
188
+ <a name="gdk-pixbuf-new-from-bytes"></a><h3>gdk_pixbuf_new_from_bytes ()</h3>
189
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
190
+ gdk_pixbuf_new_from_bytes (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *data</code></em>,
191
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkColorspace" title="enum GdkColorspace"><span class="type">GdkColorspace</span></a> colorspace</code></em>,
192
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
193
+ <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
194
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
195
+ <em class="parameter"><code><span class="type">int</span> height</code></em>,
196
+ <em class="parameter"><code><span class="type">int</span> rowstride</code></em>);</pre>
197
+ <p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> out of in-memory readonly image data.
198
+ Currently only RGB images with 8 bits per sample are supported.
199
+ This is the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> variant of <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data" title="gdk_pixbuf_new_from_data ()"><code class="function">gdk_pixbuf_new_from_data()</code></a>.</p>
200
+ <div class="refsect3">
201
+ <a name="gdk-pixbuf-new-from-bytes.parameters"></a><h4>Parameters</h4>
202
+ <div class="informaltable"><table width="100%" border="0">
203
+ <colgroup>
204
+ <col width="150px" class="parameters_name">
205
+ <col class="parameters_description">
206
+ <col width="200px" class="parameters_annotations">
207
+ </colgroup>
208
+ <tbody>
209
+ <tr>
210
+ <td class="parameter_name"><p>data</p></td>
211
+ <td class="parameter_description"><p>Image data in 8-bit/sample packed format inside a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a></p></td>
212
+ <td class="parameter_annotations"> </td>
213
+ </tr>
214
+ <tr>
215
+ <td class="parameter_name"><p>colorspace</p></td>
216
+ <td class="parameter_description"><p>Colorspace for the image data</p></td>
217
+ <td class="parameter_annotations"> </td>
218
+ </tr>
219
+ <tr>
220
+ <td class="parameter_name"><p>has_alpha</p></td>
221
+ <td class="parameter_description"><p>Whether the data has an opacity channel</p></td>
222
+ <td class="parameter_annotations"> </td>
223
+ </tr>
224
+ <tr>
225
+ <td class="parameter_name"><p>bits_per_sample</p></td>
226
+ <td class="parameter_description"><p>Number of bits per sample</p></td>
227
+ <td class="parameter_annotations"> </td>
228
+ </tr>
229
+ <tr>
230
+ <td class="parameter_name"><p>width</p></td>
231
+ <td class="parameter_description"><p>Width of the image in pixels, must be &gt; 0</p></td>
232
+ <td class="parameter_annotations"> </td>
233
+ </tr>
234
+ <tr>
235
+ <td class="parameter_name"><p>height</p></td>
236
+ <td class="parameter_description"><p>Height of the image in pixels, must be &gt; 0</p></td>
237
+ <td class="parameter_annotations"> </td>
238
+ </tr>
239
+ <tr>
240
+ <td class="parameter_name"><p>rowstride</p></td>
241
+ <td class="parameter_description"><p>Distance in bytes between row starts</p></td>
242
+ <td class="parameter_annotations"> </td>
243
+ </tr>
244
+ </tbody>
245
+ </table></div>
246
+ </div>
247
+ <div class="refsect3">
248
+ <a name="gdk-pixbuf-new-from-bytes.returns"></a><h4>Returns</h4>
249
+ <p> A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure with a reference count of 1. </p>
250
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
177
251
  </div>
252
+ <p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
178
253
  </div>
179
254
  <hr>
180
255
  <div class="refsect2">
181
256
  <a name="gdk-pixbuf-new-from-data"></a><h3>gdk_pixbuf_new_from_data ()</h3>
182
257
  <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
183
- gdk_pixbuf_new_from_data (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
258
+ gdk_pixbuf_new_from_data (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
184
259
  <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkColorspace" title="enum GdkColorspace"><span class="type">GdkColorspace</span></a> colorspace</code></em>,
185
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
260
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
186
261
  <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
187
262
  <em class="parameter"><code><span class="type">int</span> width</code></em>,
188
263
  <em class="parameter"><code><span class="type">int</span> height</code></em>,
189
264
  <em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
190
265
  <em class="parameter"><code><a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a> destroy_fn</code></em>,
191
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> destroy_fn_data</code></em>);</pre>
266
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> destroy_fn_data</code></em>);</pre>
192
267
  <p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> out of in-memory image data. Currently only RGB
193
268
  images with 8 bits per sample are supported.</p>
269
+ <p>Since you are providing a pre-allocated pixel buffer, you must also
270
+ specify a way to free that data. This is done with a function of
271
+ type <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a>. When a pixbuf created with is
272
+ finalized, your destroy notification function will be called, and
273
+ it is its responsibility to free the pixel array.</p>
274
+ <p>See also <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-bytes" title="gdk_pixbuf_new_from_bytes ()"><code class="function">gdk_pixbuf_new_from_bytes()</code></a>.</p>
194
275
  <div class="refsect3">
195
- <a name="id-1.2.8.6.3.5"></a><h4>Parameters</h4>
276
+ <a name="gdk-pixbuf-new-from-data.parameters"></a><h4>Parameters</h4>
196
277
  <div class="informaltable"><table width="100%" border="0">
197
278
  <colgroup>
198
279
  <col width="150px" class="parameters_name">
@@ -238,8 +319,8 @@ images with 8 bits per sample are supported.</p>
238
319
  <tr>
239
320
  <td class="parameter_name"><p>destroy_fn</p></td>
240
321
  <td class="parameter_description"><p> Function used to free the data when the pixbuf's reference count
241
- drops to zero, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the data should not be freed. </p></td>
242
- <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
322
+ drops to zero, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the data should not be freed. </p></td>
323
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
243
324
  </tr>
244
325
  <tr>
245
326
  <td class="parameter_name"><p>destroy_fn_data</p></td>
@@ -250,7 +331,7 @@ drops to zero, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Sta
250
331
  </table></div>
251
332
  </div>
252
333
  <div class="refsect3">
253
- <a name="id-1.2.8.6.3.6"></a><h4>Returns</h4>
334
+ <a name="gdk-pixbuf-new-from-data.returns"></a><h4>Returns</h4>
254
335
  <p> A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure with a reference count of 1. </p>
255
336
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
256
337
  </div>
@@ -263,7 +344,7 @@ gdk_pixbuf_new_from_xpm_data (<em class="parameter"><code>const <span class="typ
263
344
  <p>Creates a new pixbuf by parsing XPM data in memory. This data is commonly
264
345
  the result of including an XPM file into a program's C source.</p>
265
346
  <div class="refsect3">
266
- <a name="id-1.2.8.6.4.5"></a><h4>Parameters</h4>
347
+ <a name="gdk-pixbuf-new-from-xpm-data.parameters"></a><h4>Parameters</h4>
267
348
  <div class="informaltable"><table width="100%" border="0">
268
349
  <colgroup>
269
350
  <col width="150px" class="parameters_name">
@@ -278,25 +359,28 @@ the result of including an XPM file into a program's C source.</p>
278
359
  </table></div>
279
360
  </div>
280
361
  <div class="refsect3">
281
- <a name="id-1.2.8.6.4.6"></a><h4>Returns</h4>
362
+ <a name="gdk-pixbuf-new-from-xpm-data.returns"></a><h4>Returns</h4>
282
363
  <p> A newly-created pixbuf with a reference count of 1.</p>
283
- <p></p>
284
364
  </div>
285
365
  </div>
286
366
  <hr>
287
367
  <div class="refsect2">
288
368
  <a name="gdk-pixbuf-new-from-inline"></a><h3>gdk_pixbuf_new_from_inline ()</h3>
289
369
  <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
290
- gdk_pixbuf_new_from_inline (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> data_length</code></em>,
291
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
292
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
293
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
370
+ gdk_pixbuf_new_from_inline (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> data_length</code></em>,
371
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
372
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
373
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
374
+ <div class="warning">
375
+ <p><code class="literal">gdk_pixbuf_new_from_inline</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
376
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
377
+ </div>
294
378
  <p>Create a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from a flat representation that is suitable for
295
379
  storing as inline data in a program. This is useful if you want to
296
380
  ship a program with images, but don't want to depend on any
297
381
  external files.</p>
298
382
  <p>gdk-pixbuf ships with a program called <a class="link" href="gdk-pixbuf-csource.html" title="gdk-pixbuf-csource">gdk-pixbuf-csource</a>,
299
- which allows for conversion of <a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbufs</span></a> into such a inline representation.
383
+ which allows for conversion of <a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbufs</span></a> into such a inline representation.
300
384
  In almost all cases, you should pass the <code class="literal">--raw</code> option to
301
385
  <code class="literal">gdk-pixbuf-csource</code>. A sample invocation would be:</p>
302
386
  <div class="informalexample">
@@ -313,10 +397,10 @@ In almost all cases, you should pass the <code class="literal">--raw</code> opti
313
397
  <p></p>
314
398
  <p>For the typical case where the inline pixbuf is read-only static data,
315
399
  you don't need to copy the pixel data unless you intend to write to
316
- it, so you can pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for <em class="parameter"><code>copy_pixels</code></em>
400
+ it, so you can pass <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for <em class="parameter"><code>copy_pixels</code></em>
317
401
  . (If you pass <code class="literal">--rle</code> to
318
402
  <code class="literal">gdk-pixbuf-csource</code>, a copy will be made even if <em class="parameter"><code>copy_pixels</code></em>
319
- is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
403
+ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
320
404
  so using this option is generally a bad idea.)</p>
321
405
  <p>If you create a pixbuf from const inline data compiled into your
322
406
  program, it's probably safe to ignore errors and disable length checks,
@@ -326,7 +410,7 @@ since things will always succeed:</p>
326
410
  <tbody>
327
411
  <tr>
328
412
  <td class="listing_lines" align="right"><pre>1</pre></td>
329
- <td class="listing_code"><pre class="programlisting"><span class="normal">pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-inline">gdk_pixbuf_new_from_inline</a></span><span class="normal"> </span><span class="symbol">(-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> myimage_inline</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
413
+ <td class="listing_code"><pre class="programlisting"><span class="normal">pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-inline">gdk_pixbuf_new_from_inline</a></span><span class="normal"> </span><span class="symbol">(-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> myimage_inline</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
330
414
  </tr>
331
415
  </tbody>
332
416
  </table>
@@ -337,7 +421,7 @@ since things will always succeed:</p>
337
421
  inline data located at runtime, you could have corrupt inline data in
338
422
  addition.</p>
339
423
  <div class="refsect3">
340
- <a name="id-1.2.8.6.5.13"></a><h4>Parameters</h4>
424
+ <a name="gdk-pixbuf-new-from-inline.parameters"></a><h4>Parameters</h4>
341
425
  <div class="informaltable"><table width="100%" border="0">
342
426
  <colgroup>
343
427
  <col width="150px" class="parameters_name">
@@ -367,17 +451,16 @@ for the resulting pixbuf</p></td>
367
451
  </tr>
368
452
  <tr>
369
453
  <td class="parameter_name"><p>error</p></td>
370
- <td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> return location, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors</p></td>
454
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> return location, may be <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors</p></td>
371
455
  <td class="parameter_annotations"> </td>
372
456
  </tr>
373
457
  </tbody>
374
458
  </table></div>
375
459
  </div>
376
460
  <div class="refsect3">
377
- <a name="id-1.2.8.6.5.14"></a><h4>Returns</h4>
461
+ <a name="gdk-pixbuf-new-from-inline.returns"></a><h4>Returns</h4>
378
462
  <p> A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure with a reference,
379
- count of 1, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.</p>
380
- <p></p>
463
+ count of 1, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.</p>
381
464
  </div>
382
465
  </div>
383
466
  <hr>
@@ -389,17 +472,19 @@ gdk_pixbuf_new_subpixbuf (<em class="parameter"><code><a class="link" href="gdk-
389
472
  <em class="parameter"><code><span class="type">int</span> src_y</code></em>,
390
473
  <em class="parameter"><code><span class="type">int</span> width</code></em>,
391
474
  <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
392
- <p>Creates a new pixbuf which represents a sub-region of
475
+ <p>Creates a new pixbuf which represents a sub-region of <em class="parameter"><code>src_pixbuf</code></em>
476
+ .
477
+ The new pixbuf shares its pixels with the original pixbuf, so
478
+ writing to one affects both. The new pixbuf holds a reference to
393
479
  <em class="parameter"><code>src_pixbuf</code></em>
394
- . The new pixbuf shares its pixels with the
395
- original pixbuf, so writing to one affects both.
396
- The new pixbuf holds a reference to <em class="parameter"><code>src_pixbuf</code></em>
397
- , so
398
- <em class="parameter"><code>src_pixbuf</code></em>
399
- will not be finalized until the new pixbuf
400
- is finalized.</p>
480
+ , so <em class="parameter"><code>src_pixbuf</code></em>
481
+ will not be finalized until the new
482
+ pixbuf is finalized.</p>
483
+ <p>Note that if <em class="parameter"><code>src_pixbuf</code></em>
484
+ is read-only, this function will force it
485
+ to be mutable.</p>
401
486
  <div class="refsect3">
402
- <a name="id-1.2.8.6.6.5"></a><h4>Parameters</h4>
487
+ <a name="gdk-pixbuf-new-subpixbuf.parameters"></a><h4>Parameters</h4>
403
488
  <div class="informaltable"><table width="100%" border="0">
404
489
  <colgroup>
405
490
  <col width="150px" class="parameters_name">
@@ -440,7 +525,7 @@ is finalized.</p>
440
525
  </table></div>
441
526
  </div>
442
527
  <div class="refsect3">
443
- <a name="id-1.2.8.6.6.6"></a><h4>Returns</h4>
528
+ <a name="gdk-pixbuf-new-subpixbuf.returns"></a><h4>Returns</h4>
444
529
  <p> a new pixbuf. </p>
445
530
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
446
531
  </div>
@@ -454,7 +539,7 @@ gdk_pixbuf_copy (<em class="parameter"><code>const <a class="link" href="gdk-pix
454
539
  <em class="parameter"><code>pixbuf</code></em>
455
540
  .</p>
456
541
  <div class="refsect3">
457
- <a name="id-1.2.8.6.7.5"></a><h4>Parameters</h4>
542
+ <a name="gdk-pixbuf-copy.parameters"></a><h4>Parameters</h4>
458
543
  <div class="informaltable"><table width="100%" border="0">
459
544
  <colgroup>
460
545
  <col width="150px" class="parameters_name">
@@ -469,8 +554,8 @@ gdk_pixbuf_copy (<em class="parameter"><code>const <a class="link" href="gdk-pix
469
554
  </table></div>
470
555
  </div>
471
556
  <div class="refsect3">
472
- <a name="id-1.2.8.6.7.6"></a><h4>Returns</h4>
473
- <p> A newly-created pixbuf with a reference count of 1, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
557
+ <a name="gdk-pixbuf-copy.returns"></a><h4>Returns</h4>
558
+ <p> A newly-created pixbuf with a reference count of 1, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
474
559
  not enough memory could be allocated. </p>
475
560
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
476
561
  </div>
@@ -485,7 +570,6 @@ not enough memory could be allocated. </p>
485
570
  </div>
486
571
  </div>
487
572
  <div class="footer">
488
- <hr>
489
- Generated by GTK-Doc V1.20.1</div>
573
+ <hr>Generated by GTK-Doc V1.25.1</div>
490
574
  </body>
491
575
  </html>
@@ -2,13 +2,13 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>GDK-PixBuf Reference Manual: Inline data</title>
5
+ <title>Inline data: GDK-PixBuf Reference Manual</title>
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-Image-Data-in-Memory.html" title="Image Data in Memory">
10
10
  <link rel="next" href="gdk-pixbuf-Scaling.html" title="Scaling">
11
- <meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -40,12 +40,8 @@
40
40
  </colgroup>
41
41
  <tbody>
42
42
  <tr>
43
- <td class="define_keyword">#define</td>
44
- <td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXBUF-MAGIC-NUMBER:CAPS" title="GDK_PIXBUF_MAGIC_NUMBER">GDK_PIXBUF_MAGIC_NUMBER</a></td>
45
- </tr>
46
- <tr>
47
43
  <td class="function_type">
48
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
44
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
49
45
  </td>
50
46
  <td class="function_name">
51
47
  <a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-from-pixbuf" title="gdk_pixdata_from_pixbuf ()">gdk_pixdata_from_pixbuf</a> <span class="c_punctuation">()</span>
@@ -61,7 +57,7 @@
61
57
  </tr>
62
58
  <tr>
63
59
  <td class="function_type">
64
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
60
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
65
61
  </td>
66
62
  <td class="function_name">
67
63
  <a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-serialize" title="gdk_pixdata_serialize ()">gdk_pixdata_serialize</a> <span class="c_punctuation">()</span>
@@ -69,7 +65,7 @@
69
65
  </tr>
70
66
  <tr>
71
67
  <td class="function_type">
72
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
68
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
73
69
  </td>
74
70
  <td class="function_name">
75
71
  <a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-deserialize" title="gdk_pixdata_deserialize ()">gdk_pixdata_deserialize</a> <span class="c_punctuation">()</span>
@@ -77,7 +73,7 @@
77
73
  </tr>
78
74
  <tr>
79
75
  <td class="function_type">
80
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
76
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
81
77
  </td>
82
78
  <td class="function_name">
83
79
  <a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-to-csource" title="gdk_pixdata_to_csource ()">gdk_pixdata_to_csource</a> <span class="c_punctuation">()</span>
@@ -108,6 +104,10 @@
108
104
  </tr>
109
105
  <tr>
110
106
  <td class="define_keyword">#define</td>
107
+ <td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXBUF-MAGIC-NUMBER:CAPS" title="GDK_PIXBUF_MAGIC_NUMBER">GDK_PIXBUF_MAGIC_NUMBER</a></td>
108
+ </tr>
109
+ <tr>
110
+ <td class="define_keyword">#define</td>
111
111
  <td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXDATA-HEADER-LENGTH:CAPS" title="GDK_PIXDATA_HEADER_LENGTH">GDK_PIXDATA_HEADER_LENGTH</a></td>
112
112
  </tr>
113
113
  </tbody>
@@ -125,29 +125,29 @@ making it unnecessary to refer to external image files at runtime.
125
125
  GdkPixBuf includes a utility named gdk-pixbuf-csource, which
126
126
  can be used to convert image files into <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures suitable
127
127
  for inclusion in C sources. To convert the <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures back
128
- into <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>&lt;!-- --&gt;s, use gdk_pixbuf_from_pixdata.</p>
128
+ into <a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbufs</span></a>, use gdk_pixbuf_from_pixdata.</p>
129
+ <p><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> should not be used any more. <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> should be used to save
130
+ the original compressed images inside the program's binary.</p>
129
131
  </div>
130
132
  <div class="refsect1">
131
133
  <a name="gdk-pixbuf-Inline-data.functions_details"></a><h2>Functions</h2>
132
134
  <div class="refsect2">
133
- <a name="GDK-PIXBUF-MAGIC-NUMBER:CAPS"></a><h3>GDK_PIXBUF_MAGIC_NUMBER</h3>
134
- <pre class="programlisting">#define GDK_PIXBUF_MAGIC_NUMBER (0x47646b50) /* 'GdkP' */
135
- </pre>
136
- <p>Magic number for <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures.</p>
137
- </div>
138
- <hr>
139
- <div class="refsect2">
140
135
  <a name="gdk-pixdata-from-pixbuf"></a><h3>gdk_pixdata_from_pixbuf ()</h3>
141
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
136
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
142
137
  gdk_pixdata_from_pixbuf (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
143
138
  <em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
144
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_rle</code></em>);</pre>
139
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_rle</code></em>);</pre>
140
+ <div class="warning">
141
+ <p><code class="literal">gdk_pixdata_from_pixbuf</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
142
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
143
+ </div>
145
144
  <p>Converts a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>. If <em class="parameter"><code>use_rle</code></em>
146
- is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the
145
+ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the
147
146
  pixel data is run-length encoded into newly-allocated memory and a
148
147
  pointer to that memory is returned.</p>
148
+ <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
149
149
  <div class="refsect3">
150
- <a name="id-1.2.9.7.3.5"></a><h4>Parameters</h4>
150
+ <a name="gdk-pixdata-from-pixbuf.parameters"></a><h4>Parameters</h4>
151
151
  <div class="informaltable"><table width="100%" border="0">
152
152
  <colgroup>
153
153
  <col width="150px" class="parameters_name">
@@ -175,12 +175,12 @@ with.</p></td>
175
175
  </table></div>
176
176
  </div>
177
177
  <div class="refsect3">
178
- <a name="id-1.2.9.7.3.6"></a><h4>Returns</h4>
178
+ <a name="gdk-pixdata-from-pixbuf.returns"></a><h4>Returns</h4>
179
179
  <p> If <em class="parameter"><code>use_rle</code></em>
180
- is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a pointer to the
180
+ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a pointer to the
181
181
  newly-allocated memory for the run-length encoded pixel data,
182
- otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
183
- <p><span class="annotation">[nullable]</span></p>
182
+ otherwise <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
183
+ <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
184
184
  </div>
185
185
  </div>
186
186
  <hr>
@@ -188,14 +188,18 @@ otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Ma
188
188
  <a name="gdk-pixbuf-from-pixdata"></a><h3>gdk_pixbuf_from_pixdata ()</h3>
189
189
  <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
190
190
  gdk_pixbuf_from_pixdata (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
191
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
192
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
191
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
192
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
193
+ <div class="warning">
194
+ <p><code class="literal">gdk_pixbuf_from_pixdata</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
195
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
196
+ </div>
193
197
  <p>Converts a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>copy_pixels</code></em>
194
- is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or
198
+ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or
195
199
  if the pixel data is run-length-encoded, the pixel data is copied into
196
200
  newly-allocated memory; otherwise it is reused.</p>
197
201
  <div class="refsect3">
198
- <a name="id-1.2.9.7.4.5"></a><h4>Parameters</h4>
202
+ <a name="gdk-pixbuf-from-pixdata.parameters"></a><h4>Parameters</h4>
199
203
  <div class="informaltable"><table width="100%" border="0">
200
204
  <colgroup>
201
205
  <col width="150px" class="parameters_name">
@@ -223,7 +227,7 @@ pixel data is always copied.</p></td>
223
227
  </table></div>
224
228
  </div>
225
229
  <div class="refsect3">
226
- <a name="id-1.2.9.7.4.6"></a><h4>Returns</h4>
230
+ <a name="gdk-pixbuf-from-pixdata.returns"></a><h4>Returns</h4>
227
231
  <p> a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. </p>
228
232
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
229
233
  </div>
@@ -231,16 +235,20 @@ pixel data is always copied.</p></td>
231
235
  <hr>
232
236
  <div class="refsect2">
233
237
  <a name="gdk-pixdata-serialize"></a><h3>gdk_pixdata_serialize ()</h3>
234
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
238
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
235
239
  gdk_pixdata_serialize (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
236
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *stream_length_p</code></em>);</pre>
240
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *stream_length_p</code></em>);</pre>
241
+ <div class="warning">
242
+ <p><code class="literal">gdk_pixdata_serialize</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
243
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
244
+ </div>
237
245
  <p>Serializes a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure into a byte stream.
238
246
  The byte stream consists of a straightforward writeout of the
239
247
  <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> fields in network byte order, plus the <em class="parameter"><code>pixel_data</code></em>
240
248
 
241
249
  bytes the structure points to.</p>
242
250
  <div class="refsect3">
243
- <a name="id-1.2.9.7.5.5"></a><h4>Parameters</h4>
251
+ <a name="gdk-pixdata-serialize.parameters"></a><h4>Parameters</h4>
244
252
  <div class="informaltable"><table width="100%" border="0">
245
253
  <colgroup>
246
254
  <col width="150px" class="parameters_name">
@@ -262,7 +270,7 @@ bytes the structure points to.</p>
262
270
  </table></div>
263
271
  </div>
264
272
  <div class="refsect3">
265
- <a name="id-1.2.9.7.5.6"></a><h4>Returns</h4>
273
+ <a name="gdk-pixdata-serialize.returns"></a><h4>Returns</h4>
266
274
  <p> A
267
275
  newly-allocated string containing the serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>
268
276
  structure. </p>
@@ -272,11 +280,15 @@ structure. </p>
272
280
  <hr>
273
281
  <div class="refsect2">
274
282
  <a name="gdk-pixdata-deserialize"></a><h3>gdk_pixdata_deserialize ()</h3>
275
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
283
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
276
284
  gdk_pixdata_deserialize (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
277
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> stream_length</code></em>,
278
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *stream</code></em>,
279
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
285
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> stream_length</code></em>,
286
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *stream</code></em>,
287
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
288
+ <div class="warning">
289
+ <p><code class="literal">gdk_pixdata_deserialize</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
290
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
291
+ </div>
280
292
  <p>Deserializes (reconstruct) a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure from a byte stream.
281
293
  The byte stream consists of a straightforward writeout of the
282
294
  <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> fields in network byte order, plus the <em class="parameter"><code>pixel_data</code></em>
@@ -287,7 +299,7 @@ The <em class="parameter"><code>pixdata</code></em>
287
299
  for validity. This function may fail with <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR-CORRUPT-IMAGE:CAPS"><code class="literal">GDK_PIXBUF_ERROR_CORRUPT_IMAGE</code></a>
288
300
  or <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR-UNKNOWN-TYPE:CAPS"><code class="literal">GDK_PIXBUF_ERROR_UNKNOWN_TYPE</code></a>.</p>
289
301
  <div class="refsect3">
290
- <a name="id-1.2.9.7.6.5"></a><h4>Parameters</h4>
302
+ <a name="gdk-pixdata-deserialize.parameters"></a><h4>Parameters</h4>
291
303
  <div class="informaltable"><table width="100%" border="0">
292
304
  <colgroup>
293
305
  <col width="150px" class="parameters_name">
@@ -313,33 +325,36 @@ serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="
313
325
  </tr>
314
326
  <tr>
315
327
  <td class="parameter_name"><p>error</p></td>
316
- <td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to indicate failures (maybe <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors).</p></td>
328
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to indicate failures (maybe <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors).</p></td>
317
329
  <td class="parameter_annotations"> </td>
318
330
  </tr>
319
331
  </tbody>
320
332
  </table></div>
321
333
  </div>
322
334
  <div class="refsect3">
323
- <a name="id-1.2.9.7.6.6"></a><h4>Returns</h4>
324
- <p> Upon successful deserialization <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned,
325
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
326
- <p></p>
335
+ <a name="gdk-pixdata-deserialize.returns"></a><h4>Returns</h4>
336
+ <p> Upon successful deserialization <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned,
337
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
327
338
  </div>
328
339
  </div>
329
340
  <hr>
330
341
  <div class="refsect2">
331
342
  <a name="gdk-pixdata-to-csource"></a><h3>gdk_pixdata_to_csource ()</h3>
332
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
343
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
333
344
  gdk_pixdata_to_csource (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
334
- <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> *name</code></em>,
345
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
335
346
  <em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataDumpType" title="enum GdkPixdataDumpType"><span class="type">GdkPixdataDumpType</span></a> dump_type</code></em>);</pre>
347
+ <div class="warning">
348
+ <p><code class="literal">gdk_pixdata_to_csource</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
349
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
350
+ </div>
336
351
  <p>Generates C source code suitable for compiling images directly
337
352
  into programs. </p>
338
353
  <p>gdk-pixbuf ships with a program called
339
354
  <a class="link" href="gdk-pixbuf-csource.html" title="gdk-pixbuf-csource">gdk-pixbuf-csource</a>, which offers a command
340
355
  line interface to this function.</p>
341
356
  <div class="refsect3">
342
- <a name="id-1.2.9.7.7.6"></a><h4>Parameters</h4>
357
+ <a name="gdk-pixdata-to-csource.parameters"></a><h4>Parameters</h4>
343
358
  <div class="informaltable"><table width="100%" border="0">
344
359
  <colgroup>
345
360
  <col width="150px" class="parameters_name">
@@ -367,11 +382,10 @@ source to be generated.</p></td>
367
382
  </table></div>
368
383
  </div>
369
384
  <div class="refsect3">
370
- <a name="id-1.2.9.7.7.7"></a><h4>Returns</h4>
385
+ <a name="gdk-pixdata-to-csource.returns"></a><h4>Returns</h4>
371
386
  <p> a newly-allocated string containing the C source form
372
387
  of <em class="parameter"><code>pixdata</code></em>
373
388
  .</p>
374
- <p></p>
375
389
  </div>
376
390
  </div>
377
391
  </div>
@@ -391,10 +405,11 @@ of <em class="parameter"><code>pixdata</code></em>
391
405
  guint8 *pixel_data;
392
406
  };
393
407
  </pre>
408
+ <div class="warning"><p><code class="literal">GdkPixdata</code> is deprecated and should not be used in newly-written code.</p></div>
394
409
  <p>A <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> contains pixbuf information in a form suitable for
395
410
  serialization and streaming.</p>
396
411
  <div class="refsect3">
397
- <a name="id-1.2.9.8.2.5"></a><h4>Members</h4>
412
+ <a name="GdkPixdata.members"></a><h4>Members</h4>
398
413
  <div class="informaltable"><table width="100%" border="0">
399
414
  <colgroup>
400
415
  <col width="300px" class="struct_members_name">
@@ -403,41 +418,41 @@ serialization and streaming.</p>
403
418
  </colgroup>
404
419
  <tbody>
405
420
  <tr>
406
- <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="GdkPixdata.magic"></a>magic</code></em>;</p></td>
421
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.magic"></a>magic</code></em>;</p></td>
407
422
  <td class="struct_member_description"><p>magic number. A valid <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure must have
408
423
  <a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXBUF-MAGIC-NUMBER:CAPS" title="GDK_PIXBUF_MAGIC_NUMBER"><span class="type">GDK_PIXBUF_MAGIC_NUMBER</span></a> here.</p></td>
409
424
  <td class="struct_member_annotations"> </td>
410
425
  </tr>
411
426
  <tr>
412
- <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> <em class="structfield"><code><a name="GdkPixdata.length"></a>length</code></em>;</p></td>
427
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> <em class="structfield"><code><a name="GdkPixdata.length"></a>length</code></em>;</p></td>
413
428
  <td class="struct_member_description"><p>less than 1 to disable length checks, otherwise
414
429
  <a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXDATA-HEADER-LENGTH:CAPS" title="GDK_PIXDATA_HEADER_LENGTH"><span class="type">GDK_PIXDATA_HEADER_LENGTH</span></a> + length of <em class="parameter"><code>pixel_data</code></em>
415
430
  . </p></td>
416
431
  <td class="struct_member_annotations"> </td>
417
432
  </tr>
418
433
  <tr>
419
- <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="GdkPixdata.pixdata-type"></a>pixdata_type</code></em>;</p></td>
434
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.pixdata-type"></a>pixdata_type</code></em>;</p></td>
420
435
  <td class="struct_member_description"><p>information about colorspace, sample width and
421
436
  encoding, in a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataType" title="enum GdkPixdataType"><span class="type">GdkPixdataType</span></a>. </p></td>
422
437
  <td class="struct_member_annotations"> </td>
423
438
  </tr>
424
439
  <tr>
425
- <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="GdkPixdata.rowstride"></a>rowstride</code></em>;</p></td>
440
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.rowstride"></a>rowstride</code></em>;</p></td>
426
441
  <td class="struct_member_description"><p>Distance in bytes between rows.</p></td>
427
442
  <td class="struct_member_annotations"> </td>
428
443
  </tr>
429
444
  <tr>
430
- <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="GdkPixdata.width"></a>width</code></em>;</p></td>
445
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.width"></a>width</code></em>;</p></td>
431
446
  <td class="struct_member_description"><p>Width of the image in pixels.</p></td>
432
447
  <td class="struct_member_annotations"> </td>
433
448
  </tr>
434
449
  <tr>
435
- <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="GdkPixdata.height"></a>height</code></em>;</p></td>
450
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.height"></a>height</code></em>;</p></td>
436
451
  <td class="struct_member_description"><p>Height of the image in pixels.</p></td>
437
452
  <td class="struct_member_annotations"> </td>
438
453
  </tr>
439
454
  <tr>
440
- <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *<em class="structfield"><code><a name="GdkPixdata.pixel-data"></a>pixel_data</code></em>;</p></td>
455
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *<em class="structfield"><code><a name="GdkPixdata.pixel-data"></a>pixel_data</code></em>;</p></td>
441
456
  <td class="struct_member_description"><p> <em class="parameter"><code>width</code></em>
442
457
  x <em class="parameter"><code>height</code></em>
443
458
  pixels, encoded according to <em class="parameter"><code>pixdata_type</code></em>
@@ -452,11 +467,12 @@ and <em class="parameter"><code>rowstride</code></em>
452
467
  <hr>
453
468
  <div class="refsect2">
454
469
  <a name="GdkPixdataType"></a><h3>enum GdkPixdataType</h3>
470
+ <div class="warning"><p><code class="literal">GdkPixdataType</code> is deprecated and should not be used in newly-written code.</p></div>
455
471
  <p>An enumeration containing three sets of flags for a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> struct:
456
472
  one for the used colorspace, one for the width of the samples and one
457
473
  for the encoding of the pixel data.</p>
458
474
  <div class="refsect3">
459
- <a name="id-1.2.9.8.3.4"></a><h4>Members</h4>
475
+ <a name="GdkPixdataType.members"></a><h4>Members</h4>
460
476
  <div class="informaltable"><table width="100%" border="0">
461
477
  <colgroup>
462
478
  <col width="300px" class="enum_members_name">
@@ -532,6 +548,7 @@ for the encoding of the pixel data.</p>
532
548
  <hr>
533
549
  <div class="refsect2">
534
550
  <a name="GdkPixdataDumpType"></a><h3>enum GdkPixdataDumpType</h3>
551
+ <div class="warning"><p><code class="literal">GdkPixdataDumpType</code> is deprecated and should not be used in newly-written code.</p></div>
535
552
  <p>An enumeration which is used by <a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-to-csource" title="gdk_pixdata_to_csource ()"><code class="function">gdk_pixdata_to_csource()</code></a> to
536
553
  determine the form of C source to be generated. The three values
537
554
  <em class="parameter"><code>GDK_PIXDATA_DUMP_PIXDATA_STREAM</code></em>
@@ -544,7 +561,7 @@ and <em class="parameter"><code>GDK_PIXDATA_DUMP_MACROS</code></em>
544
561
  . The remaining
545
562
  elements are optional flags that can be freely added.</p>
546
563
  <div class="refsect3">
547
- <a name="id-1.2.9.8.4.4"></a><h4>Members</h4>
564
+ <a name="GdkPixdataDumpType.members"></a><h4>Members</h4>
548
565
  <div class="informaltable"><table width="100%" border="0">
549
566
  <colgroup>
550
567
  <col width="300px" class="enum_members_name">
@@ -624,16 +641,24 @@ elements are optional flags that can be freely added.</p>
624
641
  </div>
625
642
  <hr>
626
643
  <div class="refsect2">
644
+ <a name="GDK-PIXBUF-MAGIC-NUMBER:CAPS"></a><h3>GDK_PIXBUF_MAGIC_NUMBER</h3>
645
+ <pre class="programlisting">#define GDK_PIXBUF_MAGIC_NUMBER (0x47646b50) /* 'GdkP' */
646
+ </pre>
647
+ <div class="warning"><p><code class="literal">GDK_PIXBUF_MAGIC_NUMBER</code> is deprecated and should not be used in newly-written code.</p></div>
648
+ <p>Magic number for <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures.</p>
649
+ </div>
650
+ <hr>
651
+ <div class="refsect2">
627
652
  <a name="GDK-PIXDATA-HEADER-LENGTH:CAPS"></a><h3>GDK_PIXDATA_HEADER_LENGTH</h3>
628
653
  <pre class="programlisting">#define GDK_PIXDATA_HEADER_LENGTH (4 + 4 + 4 + 4 + 4 + 4)
629
654
  </pre>
655
+ <div class="warning"><p><code class="literal">GDK_PIXDATA_HEADER_LENGTH</code> is deprecated and should not be used in newly-written code.</p></div>
630
656
  <p>The length of a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure without the <em class="parameter"><code>pixel_data</code></em>
631
657
  pointer.</p>
632
658
  </div>
633
659
  </div>
634
660
  </div>
635
661
  <div class="footer">
636
- <hr>
637
- Generated by GTK-Doc V1.20.1</div>
662
+ <hr>Generated by GTK-Doc V1.25.1</div>
638
663
  </body>
639
664
  </html>