gdk_pixbuf2 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/lib/1.9/gdk_pixbuf2.so +0 -0
  4. data/lib/2.0/gdk_pixbuf2.so +0 -0
  5. data/lib/2.1/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-animation.h +1 -3
  11. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +1 -3
  12. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
  13. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +1 -3
  14. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +1 -3
  15. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +1 -3
  16. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +1 -3
  17. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -3
  18. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +1 -3
  19. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +1 -1
  20. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
  21. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  22. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  23. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  24. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  25. data/vendor/local/lib/libgdk_pixbuf-2.0.la +1 -1
  26. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
  27. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +30 -27
  28. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +557 -416
  29. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +10 -12
  30. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +5 -5
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +9 -11
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +22 -24
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +10 -12
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +8 -8
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -5
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +16 -18
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +14 -16
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +6 -6
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +11 -13
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +165 -167
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +768 -578
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +546 -428
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +549 -474
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +321 -265
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +467 -349
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +887 -662
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +122 -91
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +656 -518
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +631 -484
  50. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +247 -171
  51. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +110 -89
  52. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +119 -98
  53. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +275 -230
  54. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +784 -581
  55. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +5 -5
  56. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +86 -55
  57. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +5 -5
  58. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +5 -5
  59. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +5 -5
  60. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +153 -192
  61. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
  62. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +98 -97
  63. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +4 -4
  64. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +4 -4
  65. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +4 -4
  66. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +247 -94
  67. data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  68. data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  69. data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  70. data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  79. data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  80. data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  81. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  82. data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  83. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  84. data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  85. data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  86. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  87. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  88. data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  89. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  90. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  91. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  92. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  93. data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  94. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  95. data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  96. data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  97. data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  98. data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  99. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  100. data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  101. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  102. data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  103. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  104. data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  105. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  106. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  107. data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  108. data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  109. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  110. data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  111. data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  112. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  113. data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  114. data/vendor/local/share/locale/ka/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 +4 -4
@@ -8,15 +8,14 @@
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.19.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.20.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">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
- <td width="100%" align="left">
17
- <a href="#" class="shortcut">Top</a>
18
-  | 
19
- <a href="#gdk-pixbuf-Image-Data-in-Memory.description" class="shortcut">Description</a>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#gdk-pixbuf-Image-Data-in-Memory.description" class="shortcut">Description</a></span>
20
19
  </td>
21
20
  <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
21
  <td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
@@ -30,237 +29,276 @@
30
29
  <h2><span class="refentrytitle"><a name="gdk-pixbuf-Image-Data-in-Memory.top_of_page"></a>Image Data in Memory</span></h2>
31
30
  <p>Image Data in Memory — Creating a pixbuf from image data that is already in memory.</p>
32
31
  </td>
33
- <td valign="top" align="right"></td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
34
33
  </tr></table></div>
35
- <div class="refsynopsisdiv">
36
- <a name="gdk-pixbuf-Image-Data-in-Memory.synopsis"></a><h2>Synopsis</h2>
37
- <pre class="synopsis">
38
- #include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
39
-
40
- <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new" title="gdk_pixbuf_new ()">gdk_pixbuf_new</a> (<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>,
41
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
42
- <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
43
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
44
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
45
- <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <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> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
46
- <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>,
47
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
48
- <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
49
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
50
- <em class="parameter"><code><span class="type">int</span> height</code></em>,
51
- <em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
52
- <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>,
53
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> destroy_fn_data</code></em>);
54
- <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-xpm-data" title="gdk_pixbuf_new_from_xpm_data ()">gdk_pixbuf_new_from_xpm_data</a> (<em class="parameter"><code>const <span class="type">char</span> **data</code></em>);
55
- <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-inline" title="gdk_pixbuf_new_from_inline ()">gdk_pixbuf_new_from_inline</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> data_length</code></em>,
56
- <em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
57
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
58
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
59
- <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-subpixbuf" title="gdk_pixbuf_new_subpixbuf ()">gdk_pixbuf_new_subpixbuf</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src_pixbuf</code></em>,
60
- <em class="parameter"><code><span class="type">int</span> src_x</code></em>,
61
- <em class="parameter"><code><span class="type">int</span> src_y</code></em>,
62
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
63
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
64
- <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-copy" title="gdk_pixbuf_copy ()">gdk_pixbuf_copy</a> (<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>);
34
+ <div class="refsect1">
35
+ <a name="gdk-pixbuf-Image-Data-in-Memory.functions"></a><h2>Functions</h2>
36
+ <div class="informaltable"><table width="100%" border="0">
37
+ <colgroup>
38
+ <col width="150px" class="functions_return">
39
+ <col class="functions_name">
40
+ </colgroup>
41
+ <tbody>
42
+ <tr>
43
+ <td class="function_type">
44
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new" title="gdk_pixbuf_new ()">gdk_pixbuf_new</a> <span class="c_punctuation">()</span>
48
+ </td>
49
+ </tr>
50
+ <tr>
51
+ <td class="function_type">
52
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
53
+ </td>
54
+ <td class="function_name">
55
+ <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
+ </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">
63
+ <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-xpm-data" title="gdk_pixbuf_new_from_xpm_data ()">gdk_pixbuf_new_from_xpm_data</a> <span class="c_punctuation">()</span>
64
+ </td>
65
+ </tr>
66
+ <tr>
67
+ <td class="function_type">
68
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
69
+ </td>
70
+ <td class="function_name">
71
+ <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-inline" title="gdk_pixbuf_new_from_inline ()">gdk_pixbuf_new_from_inline</a> <span class="c_punctuation">()</span>
72
+ </td>
73
+ </tr>
74
+ <tr>
75
+ <td class="function_type">
76
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
77
+ </td>
78
+ <td class="function_name">
79
+ <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-subpixbuf" title="gdk_pixbuf_new_subpixbuf ()">gdk_pixbuf_new_subpixbuf</a> <span class="c_punctuation">()</span>
80
+ </td>
81
+ </tr>
82
+ <tr>
83
+ <td class="function_type">
84
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
85
+ </td>
86
+ <td class="function_name">
87
+ <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-copy" title="gdk_pixbuf_copy ()">gdk_pixbuf_copy</a> <span class="c_punctuation">()</span>
88
+ </td>
89
+ </tr>
90
+ </tbody>
91
+ </table></div>
92
+ </div>
93
+ <div class="refsect1">
94
+ <a name="gdk-pixbuf-Image-Data-in-Memory.includes"></a><h2>Includes</h2>
95
+ <pre class="synopsis">#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
65
96
  </pre>
66
97
  </div>
67
98
  <div class="refsect1">
68
99
  <a name="gdk-pixbuf-Image-Data-in-Memory.description"></a><h2>Description</h2>
69
- <p>
70
- The most basic way to create a pixbuf is to wrap an existing pixel
100
+ <p>The most basic way to create a pixbuf is to wrap an existing pixel
71
101
  buffer with a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure. You can use the
72
- <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> function to do this You need to specify
102
+ <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> function to do this You need to specify
73
103
  the destroy notification function that will be called when the
74
104
  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>
75
105
  is finalized by the reference counting functions If you have a
76
106
  chunk of static data compiled into your application, you can pass
77
107
  in <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
78
- will not be freed.
79
- </p>
80
- <p>
81
- 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
108
+ will not be freed.</p>
109
+ <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
82
110
  create a pixbuf with an empty buffer. This is equivalent to
83
- allocating a data buffer using <code class="function"><code class="function">malloc()</code></code> and
84
- then wrapping it with <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>. 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>
85
- function will compute an optimal rowstride so that rendering can be
86
- performed with an efficient algorithm.
87
- </p>
88
- <p>
89
- 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>
90
- function to create a pixbuf from inline XPM image data.
91
- </p>
92
- <p>
93
- 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>
111
+ allocating a data buffer using <code class="function">malloc()</code> and then wrapping it with
112
+ <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>. 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 will
113
+ compute an optimal rowstride so that rendering can be performed
114
+ with an efficient algorithm.</p>
115
+ <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
+ function to create a pixbuf from inline XPM image data.</p>
117
+ <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>
94
118
  function. This is not the same as just doing a <a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
95
119
  on the old pixbuf; the copy function will actually duplicate the
96
- 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.
97
- </p>
120
+ 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>
98
121
  </div>
99
122
  <div class="refsect1">
100
- <a name="gdk-pixbuf-Image-Data-in-Memory.details"></a><h2>Details</h2>
123
+ <a name="gdk-pixbuf-Image-Data-in-Memory.functions_details"></a><h2>Functions</h2>
101
124
  <div class="refsect2">
102
- <a name="gdk-pixbuf-new"></a><h3>gdk_pixbuf_new ()</h3>
103
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * 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>,
104
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
105
- <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
106
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
107
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
108
- <p>
109
- Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure and allocates a buffer for it. The
125
+ <a name="gdk-pixbuf-new"></a><h3>gdk_pixbuf_new ()</h3>
126
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
127
+ 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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
129
+ <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
130
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
131
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
132
+ <p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure and allocates a buffer for it. The
110
133
  buffer has an optimal rowstride. Note that the buffer is not cleared;
111
- you will have to fill it completely yourself.
112
- </p>
113
- <div class="variablelist"><table border="0" class="variablelist">
134
+ you will have to fill it completely yourself.</p>
135
+ <div class="refsect3">
136
+ <a name="id-1.2.8.6.2.5"></a><h4>Parameters</h4>
137
+ <div class="informaltable"><table width="100%" border="0">
114
138
  <colgroup>
115
- <col align="left" valign="top">
116
- <col>
139
+ <col width="150px" class="parameters_name">
140
+ <col class="parameters_description">
141
+ <col width="200px" class="parameters_annotations">
117
142
  </colgroup>
118
143
  <tbody>
119
144
  <tr>
120
- <td><p><span class="term"><em class="parameter"><code>colorspace</code></em> :</span></p></td>
121
- <td>Color space for image</td>
122
- </tr>
123
- <tr>
124
- <td><p><span class="term"><em class="parameter"><code>has_alpha</code></em> :</span></p></td>
125
- <td>Whether the image should have transparency information</td>
145
+ <td class="parameter_name"><p>colorspace</p></td>
146
+ <td class="parameter_description"><p>Color space for image</p></td>
147
+ <td class="parameter_annotations"> </td>
126
148
  </tr>
127
149
  <tr>
128
- <td><p><span class="term"><em class="parameter"><code>bits_per_sample</code></em> :</span></p></td>
129
- <td>Number of bits per color sample</td>
150
+ <td class="parameter_name"><p>has_alpha</p></td>
151
+ <td class="parameter_description"><p>Whether the image should have transparency information</p></td>
152
+ <td class="parameter_annotations"> </td>
130
153
  </tr>
131
154
  <tr>
132
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
133
- <td>Width of image in pixels, must be &gt; 0</td>
155
+ <td class="parameter_name"><p>bits_per_sample</p></td>
156
+ <td class="parameter_description"><p>Number of bits per color sample</p></td>
157
+ <td class="parameter_annotations"> </td>
134
158
  </tr>
135
159
  <tr>
136
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
137
- <td>Height of image in pixels, must be &gt; 0</td>
160
+ <td class="parameter_name"><p>width</p></td>
161
+ <td class="parameter_description"><p>Width of image in pixels, must be &gt; 0</p></td>
162
+ <td class="parameter_annotations"> </td>
138
163
  </tr>
139
164
  <tr>
140
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
141
- <td>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
142
- <a href="/home/kou/work/ruby/ruby-gnome2.win32/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.</td>
165
+ <td class="parameter_name"><p>height</p></td>
166
+ <td class="parameter_description"><p>Height of image in pixels, must be &gt; 0</p></td>
167
+ <td class="parameter_annotations"> </td>
143
168
  </tr>
144
169
  </tbody>
145
170
  </table></div>
146
171
  </div>
172
+ <div class="refsect3">
173
+ <a name="id-1.2.8.6.2.6"></a><h4>Returns</h4>
174
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/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>
176
+ <p></p>
177
+ </div>
178
+ </div>
147
179
  <hr>
148
180
  <div class="refsect2">
149
- <a name="gdk-pixbuf-new-from-data"></a><h3>gdk_pixbuf_new_from_data ()</h3>
150
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_data (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
151
- <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>,
152
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
153
- <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
154
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
155
- <em class="parameter"><code><span class="type">int</span> height</code></em>,
156
- <em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
157
- <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>,
158
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
159
- <p>
160
- 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
161
- images with 8 bits per sample are supported.
162
- </p>
163
- <div class="variablelist"><table border="0" class="variablelist">
181
+ <a name="gdk-pixbuf-new-from-data"></a><h3>gdk_pixbuf_new_from_data ()</h3>
182
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
184
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
186
+ <em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
187
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
188
+ <em class="parameter"><code><span class="type">int</span> height</code></em>,
189
+ <em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
190
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/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
+ <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
+ images with 8 bits per sample are supported.</p>
194
+ <div class="refsect3">
195
+ <a name="id-1.2.8.6.3.5"></a><h4>Parameters</h4>
196
+ <div class="informaltable"><table width="100%" border="0">
164
197
  <colgroup>
165
- <col align="left" valign="top">
166
- <col>
198
+ <col width="150px" class="parameters_name">
199
+ <col class="parameters_description">
200
+ <col width="200px" class="parameters_annotations">
167
201
  </colgroup>
168
202
  <tbody>
169
203
  <tr>
170
- <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
171
- <td>Image data in 8-bit/sample packed format. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span>
172
- </td>
173
- </tr>
174
- <tr>
175
- <td><p><span class="term"><em class="parameter"><code>colorspace</code></em> :</span></p></td>
176
- <td>Colorspace for the image data</td>
204
+ <td class="parameter_name"><p>data</p></td>
205
+ <td class="parameter_description"><p> Image data in 8-bit/sample packed format. </p></td>
206
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
177
207
  </tr>
178
208
  <tr>
179
- <td><p><span class="term"><em class="parameter"><code>has_alpha</code></em> :</span></p></td>
180
- <td>Whether the data has an opacity channel</td>
209
+ <td class="parameter_name"><p>colorspace</p></td>
210
+ <td class="parameter_description"><p>Colorspace for the image data</p></td>
211
+ <td class="parameter_annotations"> </td>
181
212
  </tr>
182
213
  <tr>
183
- <td><p><span class="term"><em class="parameter"><code>bits_per_sample</code></em> :</span></p></td>
184
- <td>Number of bits per sample</td>
214
+ <td class="parameter_name"><p>has_alpha</p></td>
215
+ <td class="parameter_description"><p>Whether the data has an opacity channel</p></td>
216
+ <td class="parameter_annotations"> </td>
185
217
  </tr>
186
218
  <tr>
187
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
188
- <td>Width of the image in pixels, must be &gt; 0</td>
219
+ <td class="parameter_name"><p>bits_per_sample</p></td>
220
+ <td class="parameter_description"><p>Number of bits per sample</p></td>
221
+ <td class="parameter_annotations"> </td>
189
222
  </tr>
190
223
  <tr>
191
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
192
- <td>Height of the image in pixels, must be &gt; 0</td>
224
+ <td class="parameter_name"><p>width</p></td>
225
+ <td class="parameter_description"><p>Width of the image in pixels, must be &gt; 0</p></td>
226
+ <td class="parameter_annotations"> </td>
193
227
  </tr>
194
228
  <tr>
195
- <td><p><span class="term"><em class="parameter"><code>rowstride</code></em> :</span></p></td>
196
- <td>Distance in bytes between row starts</td>
229
+ <td class="parameter_name"><p>height</p></td>
230
+ <td class="parameter_description"><p>Height of the image in pixels, must be &gt; 0</p></td>
231
+ <td class="parameter_annotations"> </td>
197
232
  </tr>
198
233
  <tr>
199
- <td><p><span class="term"><em class="parameter"><code>destroy_fn</code></em> :</span></p></td>
200
- <td>Function used to free the data when the pixbuf's reference count
201
- drops to zero, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/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. <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>
202
- </td>
234
+ <td class="parameter_name"><p>rowstride</p></td>
235
+ <td class="parameter_description"><p>Distance in bytes between row starts</p></td>
236
+ <td class="parameter_annotations"> </td>
203
237
  </tr>
204
238
  <tr>
205
- <td><p><span class="term"><em class="parameter"><code>destroy_fn_data</code></em> :</span></p></td>
206
- <td>Closure data to pass to the destroy notification function. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
207
- </td>
239
+ <td class="parameter_name"><p>destroy_fn</p></td>
240
+ <td class="parameter_description"><p> Function used to free the data when the pixbuf's reference count
241
+ drops to zero, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
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>
208
243
  </tr>
209
244
  <tr>
210
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
211
- <td>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. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
212
- </td>
245
+ <td class="parameter_name"><p>destroy_fn_data</p></td>
246
+ <td class="parameter_description"><p> Closure data to pass to the destroy notification function. </p></td>
247
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
213
248
  </tr>
214
249
  </tbody>
215
250
  </table></div>
216
251
  </div>
252
+ <div class="refsect3">
253
+ <a name="id-1.2.8.6.3.6"></a><h4>Returns</h4>
254
+ <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
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
256
+ </div>
257
+ </div>
217
258
  <hr>
218
259
  <div class="refsect2">
219
- <a name="gdk-pixbuf-new-from-xpm-data"></a><h3>gdk_pixbuf_new_from_xpm_data ()</h3>
220
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_xpm_data (<em class="parameter"><code>const <span class="type">char</span> **data</code></em>);</pre>
221
- <p>
222
- Creates a new pixbuf by parsing XPM data in memory. This data is commonly
223
- the result of including an XPM file into a program's C source.
224
- </p>
225
- <div class="variablelist"><table border="0" class="variablelist">
260
+ <a name="gdk-pixbuf-new-from-xpm-data"></a><h3>gdk_pixbuf_new_from_xpm_data ()</h3>
261
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
262
+ gdk_pixbuf_new_from_xpm_data (<em class="parameter"><code>const <span class="type">char</span> **data</code></em>);</pre>
263
+ <p>Creates a new pixbuf by parsing XPM data in memory. This data is commonly
264
+ the result of including an XPM file into a program's C source.</p>
265
+ <div class="refsect3">
266
+ <a name="id-1.2.8.6.4.5"></a><h4>Parameters</h4>
267
+ <div class="informaltable"><table width="100%" border="0">
226
268
  <colgroup>
227
- <col align="left" valign="top">
228
- <col>
269
+ <col width="150px" class="parameters_name">
270
+ <col class="parameters_description">
271
+ <col width="200px" class="parameters_annotations">
229
272
  </colgroup>
230
- <tbody>
231
- <tr>
232
- <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
233
- <td>Pointer to inline XPM data. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
234
- </td>
235
- </tr>
236
- <tr>
237
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
238
- <td>A newly-created pixbuf with a reference count of 1.</td>
239
- </tr>
240
- </tbody>
273
+ <tbody><tr>
274
+ <td class="parameter_name"><p>data</p></td>
275
+ <td class="parameter_description"><p> Pointer to inline XPM data. </p></td>
276
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
277
+ </tr></tbody>
241
278
  </table></div>
242
279
  </div>
280
+ <div class="refsect3">
281
+ <a name="id-1.2.8.6.4.6"></a><h4>Returns</h4>
282
+ <p> A newly-created pixbuf with a reference count of 1.</p>
283
+ <p></p>
284
+ </div>
285
+ </div>
243
286
  <hr>
244
287
  <div class="refsect2">
245
- <a name="gdk-pixbuf-new-from-inline"></a><h3>gdk_pixbuf_new_from_inline ()</h3>
246
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_inline (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> data_length</code></em>,
247
- <em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
248
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
249
- <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
250
- <p>
251
- 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
288
+ <a name="gdk-pixbuf-new-from-inline"></a><h3>gdk_pixbuf_new_from_inline ()</h3>
289
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> data_length</code></em>,
291
+ <em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
292
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
293
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
294
+ <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
252
295
  storing as inline data in a program. This is useful if you want to
253
296
  ship a program with images, but don't want to depend on any
254
- external files.
255
- </p>
256
- <p>
257
- gdk-pixbuf ships with a program called <span class="command"><strong>gdk-pixbuf-csource</strong></span>
297
+ external files.</p>
298
+ <p>gdk-pixbuf ships with a program called <a class="link" href="gdk-pixbuf-csource.html" title="gdk-pixbuf-csource">gdk-pixbuf-csource</a>,
258
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.
259
- In almost all cases, you should pass the <code class="option">--raw</code> flag to
260
- <span class="command"><strong>gdk-pixbuf-csource</strong></span>. A sample invocation would be:
261
- </p>
262
- <p>
263
- </p>
300
+ In almost all cases, you should pass the <code class="literal">--raw</code> option to
301
+ <code class="literal">gdk-pixbuf-csource</code>. A sample invocation would be:</p>
264
302
  <div class="informalexample">
265
303
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
266
304
  <tbody>
@@ -272,21 +310,17 @@ In almost all cases, you should pass the <code class="option">--raw</code> flag
272
310
  </table>
273
311
  </div>
274
312
 
275
- <p>
276
- </p>
277
- <p>
278
- For the typical case where the inline pixbuf is read-only static data,
313
+ <p></p>
314
+ <p>For the typical case where the inline pixbuf is read-only static data,
279
315
  you don't need to copy the pixel data unless you intend to write to
280
- it, so you can pass <a href="/home/kou/work/ruby/ruby-gnome2.win32/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>. (If you pass
281
- <code class="option">--rle</code> to <span class="command"><strong>gdk-pixbuf-csource</strong></span>, a copy
282
- will be made even if <em class="parameter"><code>copy_pixels</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, so using this option is
283
- generally a bad idea.)
284
- </p>
285
- <p>
286
- If you create a pixbuf from const inline data compiled into your
316
+ it, so you can pass <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
+ . (If you pass <code class="literal">--rle</code> to
318
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
320
+ so using this option is generally a bad idea.)</p>
321
+ <p>If you create a pixbuf from const inline data compiled into your
287
322
  program, it's probably safe to ignore errors and disable length checks,
288
- since things will always succeed:
289
- </p>
323
+ since things will always succeed:</p>
290
324
  <div class="informalexample">
291
325
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
292
326
  <tbody>
@@ -298,138 +332,160 @@ since things will always succeed:
298
332
  </table>
299
333
  </div>
300
334
 
301
- <p>
302
- </p>
303
- <p>
304
- For non-const inline data, you could get out of memory. For untrusted
335
+ <p></p>
336
+ <p>For non-const inline data, you could get out of memory. For untrusted
305
337
  inline data located at runtime, you could have corrupt inline data in
306
- addition.
307
- </p>
308
- <div class="variablelist"><table border="0" class="variablelist">
338
+ addition.</p>
339
+ <div class="refsect3">
340
+ <a name="id-1.2.8.6.5.13"></a><h4>Parameters</h4>
341
+ <div class="informaltable"><table width="100%" border="0">
309
342
  <colgroup>
310
- <col align="left" valign="top">
311
- <col>
343
+ <col width="150px" class="parameters_name">
344
+ <col class="parameters_description">
345
+ <col width="200px" class="parameters_annotations">
312
346
  </colgroup>
313
347
  <tbody>
314
348
  <tr>
315
- <td><p><span class="term"><em class="parameter"><code>data_length</code></em> :</span></p></td>
316
- <td>Length in bytes of the <em class="parameter"><code>data</code></em> argument or -1 to
317
- disable length checks</td>
318
- </tr>
319
- <tr>
320
- <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
321
- <td>Byte data containing a
322
- serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_length]</span>
323
- </td>
349
+ <td class="parameter_name"><p>data_length</p></td>
350
+ <td class="parameter_description"><p>Length in bytes of the <em class="parameter"><code>data</code></em>
351
+ argument or -1 to
352
+ disable length checks</p></td>
353
+ <td class="parameter_annotations"> </td>
324
354
  </tr>
325
355
  <tr>
326
- <td><p><span class="term"><em class="parameter"><code>copy_pixels</code></em> :</span></p></td>
327
- <td>Whether to copy the pixel data, or use direct pointers
328
- <em class="parameter"><code>data</code></em> for the resulting pixbuf</td>
356
+ <td class="parameter_name"><p>data</p></td>
357
+ <td class="parameter_description"><p> Byte data containing a
358
+ serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure. </p></td>
359
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_length]</span></td>
329
360
  </tr>
330
361
  <tr>
331
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
332
- <td>
333
- <a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors</td>
362
+ <td class="parameter_name"><p>copy_pixels</p></td>
363
+ <td class="parameter_description"><p>Whether to copy the pixel data, or use direct pointers
364
+ <em class="parameter"><code>data</code></em>
365
+ for the resulting pixbuf</p></td>
366
+ <td class="parameter_annotations"> </td>
334
367
  </tr>
335
368
  <tr>
336
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
337
- <td>A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure with a reference,
338
- count of 1, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.</td>
369
+ <td class="parameter_name"><p>error</p></td>
370
+ <td class="parameter_description"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/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
+ <td class="parameter_annotations"> </td>
339
372
  </tr>
340
373
  </tbody>
341
374
  </table></div>
342
375
  </div>
376
+ <div class="refsect3">
377
+ <a name="id-1.2.8.6.5.14"></a><h4>Returns</h4>
378
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/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>
380
+ <p></p>
381
+ </div>
382
+ </div>
343
383
  <hr>
344
384
  <div class="refsect2">
345
- <a name="gdk-pixbuf-new-subpixbuf"></a><h3>gdk_pixbuf_new_subpixbuf ()</h3>
346
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_subpixbuf (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src_pixbuf</code></em>,
347
- <em class="parameter"><code><span class="type">int</span> src_x</code></em>,
348
- <em class="parameter"><code><span class="type">int</span> src_y</code></em>,
349
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
350
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
351
- <p>
352
- Creates a new pixbuf which represents a sub-region of
353
- <em class="parameter"><code>src_pixbuf</code></em>. The new pixbuf shares its pixels with the
385
+ <a name="gdk-pixbuf-new-subpixbuf"></a><h3>gdk_pixbuf_new_subpixbuf ()</h3>
386
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
387
+ gdk_pixbuf_new_subpixbuf (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src_pixbuf</code></em>,
388
+ <em class="parameter"><code><span class="type">int</span> src_x</code></em>,
389
+ <em class="parameter"><code><span class="type">int</span> src_y</code></em>,
390
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
391
+ <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
393
+ <em class="parameter"><code>src_pixbuf</code></em>
394
+ . The new pixbuf shares its pixels with the
354
395
  original pixbuf, so writing to one affects both.
355
- The new pixbuf holds a reference to <em class="parameter"><code>src_pixbuf</code></em>, so
356
- <em class="parameter"><code>src_pixbuf</code></em> will not be finalized until the new pixbuf
357
- is finalized.
358
- </p>
359
- <div class="variablelist"><table border="0" class="variablelist">
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>
401
+ <div class="refsect3">
402
+ <a name="id-1.2.8.6.6.5"></a><h4>Parameters</h4>
403
+ <div class="informaltable"><table width="100%" border="0">
360
404
  <colgroup>
361
- <col align="left" valign="top">
362
- <col>
405
+ <col width="150px" class="parameters_name">
406
+ <col class="parameters_description">
407
+ <col width="200px" class="parameters_annotations">
363
408
  </colgroup>
364
409
  <tbody>
365
410
  <tr>
366
- <td><p><span class="term"><em class="parameter"><code>src_pixbuf</code></em> :</span></p></td>
367
- <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
368
- </td>
369
- </tr>
370
- <tr>
371
- <td><p><span class="term"><em class="parameter"><code>src_x</code></em> :</span></p></td>
372
- <td>X coord in <em class="parameter"><code>src_pixbuf</code></em>
373
- </td>
411
+ <td class="parameter_name"><p>src_pixbuf</p></td>
412
+ <td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a></p></td>
413
+ <td class="parameter_annotations"> </td>
374
414
  </tr>
375
415
  <tr>
376
- <td><p><span class="term"><em class="parameter"><code>src_y</code></em> :</span></p></td>
377
- <td>Y coord in <em class="parameter"><code>src_pixbuf</code></em>
378
- </td>
416
+ <td class="parameter_name"><p>src_x</p></td>
417
+ <td class="parameter_description"><p>X coord in <em class="parameter"><code>src_pixbuf</code></em>
418
+ </p></td>
419
+ <td class="parameter_annotations"> </td>
379
420
  </tr>
380
421
  <tr>
381
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
382
- <td>width of region in <em class="parameter"><code>src_pixbuf</code></em>
383
- </td>
422
+ <td class="parameter_name"><p>src_y</p></td>
423
+ <td class="parameter_description"><p>Y coord in <em class="parameter"><code>src_pixbuf</code></em>
424
+ </p></td>
425
+ <td class="parameter_annotations"> </td>
384
426
  </tr>
385
427
  <tr>
386
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
387
- <td>height of region in <em class="parameter"><code>src_pixbuf</code></em>
388
- </td>
428
+ <td class="parameter_name"><p>width</p></td>
429
+ <td class="parameter_description"><p>width of region in <em class="parameter"><code>src_pixbuf</code></em>
430
+ </p></td>
431
+ <td class="parameter_annotations"> </td>
389
432
  </tr>
390
433
  <tr>
391
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
392
- <td>a new pixbuf. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
393
- </td>
434
+ <td class="parameter_name"><p>height</p></td>
435
+ <td class="parameter_description"><p>height of region in <em class="parameter"><code>src_pixbuf</code></em>
436
+ </p></td>
437
+ <td class="parameter_annotations"> </td>
394
438
  </tr>
395
439
  </tbody>
396
440
  </table></div>
397
441
  </div>
442
+ <div class="refsect3">
443
+ <a name="id-1.2.8.6.6.6"></a><h4>Returns</h4>
444
+ <p> a new pixbuf. </p>
445
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
446
+ </div>
447
+ </div>
398
448
  <hr>
399
449
  <div class="refsect2">
400
- <a name="gdk-pixbuf-copy"></a><h3>gdk_pixbuf_copy ()</h3>
401
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_copy (<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>);</pre>
402
- <p>
403
- Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> with a copy of the information in the specified
404
- <em class="parameter"><code>pixbuf</code></em>.
405
- </p>
406
- <div class="variablelist"><table border="0" class="variablelist">
450
+ <a name="gdk-pixbuf-copy"></a><h3>gdk_pixbuf_copy ()</h3>
451
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
452
+ gdk_pixbuf_copy (<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>);</pre>
453
+ <p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> with a copy of the information in the specified
454
+ <em class="parameter"><code>pixbuf</code></em>
455
+ .</p>
456
+ <div class="refsect3">
457
+ <a name="id-1.2.8.6.7.5"></a><h4>Parameters</h4>
458
+ <div class="informaltable"><table width="100%" border="0">
407
459
  <colgroup>
408
- <col align="left" valign="top">
409
- <col>
460
+ <col width="150px" class="parameters_name">
461
+ <col class="parameters_description">
462
+ <col width="200px" class="parameters_annotations">
410
463
  </colgroup>
411
- <tbody>
412
- <tr>
413
- <td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
414
- <td>A pixbuf.</td>
415
- </tr>
416
- <tr>
417
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
418
- <td>A newly-created pixbuf with a reference count of 1, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
419
- not enough memory could be allocated. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
420
- </td>
421
- </tr>
422
- </tbody>
464
+ <tbody><tr>
465
+ <td class="parameter_name"><p>pixbuf</p></td>
466
+ <td class="parameter_description"><p>A pixbuf.</p></td>
467
+ <td class="parameter_annotations"> </td>
468
+ </tr></tbody>
423
469
  </table></div>
424
470
  </div>
471
+ <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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
474
+ not enough memory could be allocated. </p>
475
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
476
+ </div>
477
+ </div>
478
+ </div>
479
+ <div class="refsect1">
480
+ <a name="gdk-pixbuf-Image-Data-in-Memory.other_details"></a><h2>Types and Values</h2>
425
481
  </div>
426
482
  <div class="refsect1">
427
483
  <a name="gdk-pixbuf-Image-Data-in-Memory.see-also"></a><h2>See Also</h2>
428
- gdk_pixbuf_finalize().
484
+ <p>gdk_pixbuf_finalize().</p>
429
485
  </div>
430
486
  </div>
431
487
  <div class="footer">
432
488
  <hr>
433
- Generated by GTK-Doc V1.19.1</div>
489
+ Generated by GTK-Doc V1.20.1</div>
434
490
  </body>
435
491
  </html>