gdk_pixbuf2 3.1.0-x86-mingw32 → 3.1.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/lib/gdk_pixbuf2/deprecated.rb +3 -1
  4. data/lib/gdk_pixbuf2/pixbuf.rb +59 -5
  5. data/test/gdk_pixbuf2-test-utils.rb +11 -0
  6. data/test/test-pixbuf.rb +61 -15
  7. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  8. data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
  9. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  10. data/vendor/local/bin/gdk-pixbuf-thumbnailer.exe +0 -0
  11. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  12. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +4 -3
  13. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +29 -8
  14. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
  15. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +45 -45
  16. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
  17. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  18. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  19. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  20. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  21. data/vendor/local/lib/libgdk_pixbuf-2.0.la +1 -1
  22. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
  23. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +224 -17
  24. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +2 -2
  25. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +2 -2
  26. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +2 -2
  27. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +2 -2
  28. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +2 -2
  29. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +2 -2
  30. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +2 -2
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +2 -2
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +2 -2
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-36.html +2 -2
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +2 -2
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +2 -2
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +2 -2
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +2 -2
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +2 -2
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +3 -3
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +5 -5
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +20 -20
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +4 -4
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +2 -2
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +2 -2
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +2 -2
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +62 -33
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +25 -25
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +4 -3
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +4 -4
  50. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +2 -2
  51. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +2 -2
  52. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +3 -3
  53. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +2 -2
  54. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +2 -2
  55. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +2 -2
  56. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +2 -2
  57. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +2 -2
  58. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +4 -4
  59. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +2 -2
  60. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -3
  61. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +2 -2
  62. data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  63. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  64. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  65. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  66. data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  67. data/vendor/local/share/locale/fur/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  68. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  69. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  70. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
  79. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
  80. data/vendor/local/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer +4 -0
  81. metadata +11 -5
@@ -8,7 +8,7 @@
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.25 (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">
@@ -659,6 +659,6 @@ elements are optional flags that can be freely added.</p>
659
659
  </div>
660
660
  </div>
661
661
  <div class="footer">
662
- <hr>Generated by GTK-Doc V1.25</div>
662
+ <hr>Generated by GTK-Doc V1.25.1</div>
663
663
  </body>
664
664
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
10
10
  <link rel="next" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html" title="gdk-pixbuf Xlib initialization">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -1276,6 +1276,6 @@ current frame.</p></td>
1276
1276
  </div>
1277
1277
  </div>
1278
1278
  <div class="footer">
1279
- <hr>Generated by GTK-Doc V1.25</div>
1279
+ <hr>Generated by GTK-Doc V1.25.1</div>
1280
1280
  </body>
1281
1281
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-The-GdkPixbuf-Structure.html" title="The GdkPixbuf Structure">
10
10
  <link rel="next" href="gdk-pixbuf-File-Loading.html" title="File Loading">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -199,6 +199,6 @@ that is being finalized. </p></td>
199
199
  </div>
200
200
  </div>
201
201
  <div class="footer">
202
- <hr>Generated by GTK-Doc V1.25</div>
202
+ <hr>Generated by GTK-Doc V1.25.1</div>
203
203
  </body>
204
204
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-Inline-data.html" title="Inline data">
10
10
  <link rel="next" href="gdk-pixbuf-gdk-pixbuf-rendering.html" title="Rendering">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -27,7 +27,7 @@
27
27
  <div class="refnamediv"><table width="100%"><tr>
28
28
  <td valign="top">
29
29
  <h2><span class="refentrytitle"><a name="gdk-pixbuf-Scaling.top_of_page"></a>Scaling</span></h2>
30
- <p>Scaling — Scaling pixbufs and scaling and compositing pixbufs</p>
30
+ <p>Scaling — Scaling pixbufs and scaling and alpha blending pixbufs</p>
31
31
  </td>
32
32
  <td class="gallery_image" valign="top" align="right"></td>
33
33
  </tr></table></div>
@@ -125,10 +125,12 @@
125
125
  <div class="refsect1">
126
126
  <a name="gdk-pixbuf-Scaling.description"></a><h2>Description</h2>
127
127
  <p>The GdkPixBuf contains functions to scale pixbufs, to scale
128
- pixbufs and composite against an existing image, and to scale
129
- pixbufs and composite against a solid color or checkerboard.
130
- Compositing a checkerboard is a common way to show an image with
128
+ pixbufs and alpha blend against an existing image, and to scale
129
+ pixbufs and alpha blend against a solid color or checkerboard.
130
+ Alpha blending a checkerboard is a common way to show an image with
131
131
  an alpha channel in image-viewing and editing software.</p>
132
+ <p>Note that in these functions, the terms ‘alpha blending’ and ‘compositing’
133
+ are used synonymously.</p>
132
134
  <p>Since the full-featured functions (<a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()"><code class="function">gdk_pixbuf_scale()</code></a>,
133
135
  <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()"><code class="function">gdk_pixbuf_composite()</code></a>, and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color" title="gdk_pixbuf_composite_color ()"><code class="function">gdk_pixbuf_composite_color()</code></a>) are
134
136
  rather complex to use and have many arguments, two simple
@@ -138,12 +140,27 @@ given size, scale an original image to fit, and then return the
138
140
  new pixbuf.</p>
139
141
  <p>If the destination pixbuf was created from a readonly source, these
140
142
  operations will force a copy into a mutable buffer.</p>
141
- <p>Scaling and compositing functions take advantage of MMX hardware
143
+ <p>Scaling and alpha blending functions take advantage of MMX hardware
142
144
  acceleration on systems where MMX is supported. If gdk-pixbuf is built
143
145
  with the Sun mediaLib library, these functions are instead accelerated
144
146
  using mediaLib, which provides hardware acceleration on Intel, AMD,
145
147
  and Sparc chipsets. If desired, mediaLib support can be turned off by
146
148
  setting the <code class="literal">GDK_DISABLE_MEDIALIB</code> environment variable. </p>
149
+ <p>The alpha blending function used is:</p>
150
+ <div class="informalexample">
151
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
152
+ <tbody>
153
+ <tr>
154
+ <td class="listing_lines" align="right"><pre>1</pre></td>
155
+ <td class="listing_code"><pre class="programlisting">Cd <span class="gtkdoc opt">=</span> Cs·As <span class="gtkdoc opt">+</span> <span class="function">Cd</span><span class="gtkdoc opt">(</span><span class="number">1</span><span class="gtkdoc opt">-</span>As<span class="gtkdoc opt">)</span></pre></td>
156
+ </tr>
157
+ </tbody>
158
+ </table>
159
+ </div>
160
+
161
+ <p>
162
+ where <code class="literal">Cd</code> is the destination pixel color, <code class="literal">Cs</code> is the source pixel color,
163
+ and <code class="literal">As</code> is the source pixel alpha.</p>
147
164
  <p>The following example demonstrates handling an expose event by
148
165
  rendering the appropriate area of a source image (which is scaled
149
166
  to fit the widget) onto the widget's window. The source image is
@@ -153,7 +170,7 @@ image doesn't have an alpha channel, calling
153
170
  <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color" title="gdk_pixbuf_composite_color ()"><code class="function">gdk_pixbuf_composite_color()</code></a> function has exactly the same effect
154
171
  as calling <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()"><code class="function">gdk_pixbuf_scale()</code></a>.</p>
155
172
  <div class="refsect3">
156
- <a name="id-1.2.10.6.7"></a><h4>Handling an expose event</h4>
173
+ <a name="id-1.2.10.6.11"></a><h4>Handling an expose event</h4>
157
174
  <div class="informalexample">
158
175
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
159
176
  <tbody>
@@ -182,30 +199,30 @@ as calling <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title
182
199
  22
183
200
  23
184
201
  24</pre></td>
185
- <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
186
- <span class="function">expose_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">GdkEventExpose</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
187
- <span class="cbracket">{</span>
188
- <span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">dest</span><span class="symbol">;</span>
202
+ <td class="listing_code"><pre class="programlisting">gboolean
203
+ <span class="function">expose_cb</span> <span class="gtkdoc opt">(</span>GtkWidget <span class="gtkdoc opt">*</span>widget<span class="gtkdoc opt">,</span> GdkEventExpose <span class="gtkdoc opt">*</span>event<span class="gtkdoc opt">,</span> gpointer data<span class="gtkdoc opt">)</span>
204
+ <span class="gtkdoc opt">{</span>
205
+ GdkPixbuf <span class="gtkdoc opt">*</span>dest<span class="gtkdoc opt">;</span>
189
206
 
190
- <span class="normal"> dest </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new">gdk_pixbuf_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-COLORSPACE-RGB:CAPS">GDK_COLORSPACE_RGB</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">8</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">height</span><span class="symbol">);</span>
207
+ dest <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new">gdk_pixbuf_new</a></span> <span class="gtkdoc opt">(</span>GDK_COLORSPACE_RGB<span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">,</span> <span class="number">8</span><span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>width<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>height<span class="gtkdoc opt">);</span>
191
208
 
192
- <span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color">gdk_pixbuf_composite_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">,</span><span class="normal"> dest</span><span class="symbol">,</span>
193
- <span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">height</span><span class="symbol">,</span>
194
- <span class="normal"> </span><span class="symbol">-</span><span class="normal">event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="normal">event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
195
- <span class="normal"> </span><span class="symbol">(</span><span class="type">double</span><span class="symbol">)</span><span class="normal"> widget</span><span class="symbol">-&gt;</span><span class="normal">allocation</span><span class="symbol">.</span><span class="normal">width </span><span class="symbol">/</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-width">gdk_pixbuf_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
196
- <span class="normal"> </span><span class="symbol">(</span><span class="type">double</span><span class="symbol">)</span><span class="normal"> widget</span><span class="symbol">-&gt;</span><span class="normal">allocation</span><span class="symbol">.</span><span class="normal">height </span><span class="symbol">/</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-height">gdk_pixbuf_get_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
197
- <span class="normal"> <a href="gdk-pixbuf-Scaling.html#GDK-INTERP-BILINEAR:CAPS">GDK_INTERP_BILINEAR</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">,</span>
198
- <span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span><span class="normal"> </span><span class="number">16</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0xaaaaaa</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0x555555</span><span class="symbol">);</span>
209
+ <span class="function"><a href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color">gdk_pixbuf_composite_color</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">,</span> dest<span class="gtkdoc opt">,</span>
210
+ <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>width<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>height<span class="gtkdoc opt">,</span>
211
+ <span class="gtkdoc opt">-</span>event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>x<span class="gtkdoc opt">, -</span>event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>y<span class="gtkdoc opt">,</span>
212
+ <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">double</span><span class="gtkdoc opt">)</span> widget<span class="gtkdoc opt">-&gt;</span>allocation<span class="gtkdoc opt">.</span>width <span class="gtkdoc opt">/</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-width">gdk_pixbuf_get_width</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">),</span>
213
+ <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">double</span><span class="gtkdoc opt">)</span> widget<span class="gtkdoc opt">-&gt;</span>allocation<span class="gtkdoc opt">.</span>height <span class="gtkdoc opt">/</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-height">gdk_pixbuf_get_height</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">),</span>
214
+ GDK_INTERP_BILINEAR<span class="gtkdoc opt">,</span> <span class="number">255</span><span class="gtkdoc opt">,</span>
215
+ event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>x<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>y<span class="gtkdoc opt">,</span> <span class="number">16</span><span class="gtkdoc opt">,</span> <span class="number">0xaaaaaa</span><span class="gtkdoc opt">,</span> <span class="number">0x555555</span><span class="gtkdoc opt">);</span>
199
216
 
200
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk2/gdk2-Drawing-Primitives.html#gdk-draw-pixbuf">gdk_draw_pixbuf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">-&gt;</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> widget</span><span class="symbol">-&gt;</span><span class="normal">style</span><span class="symbol">-&gt;</span><span class="normal">fg_gc</span><span class="symbol">[</span><span class="normal"><a href="../gtk3/GtkWidget.html#GTK-STATE-NORMAL:CAPS">GTK_STATE_NORMAL</a></span><span class="symbol">],</span><span class="normal"> dest</span><span class="symbol">,</span>
201
- <span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
202
- <span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">height</span><span class="symbol">,</span>
203
- <span class="normal"> <a href="http://library.gnome.org/devel/gdk2/gdk2-GdkRGB.html#GDK-RGB-DITHER-NORMAL:CAPS">GDK_RGB_DITHER_NORMAL</a></span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">);</span>
204
- <span class="normal"> </span>
205
- <span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref">gdk_pixbuf_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dest</span><span class="symbol">);</span>
206
- <span class="normal"> </span>
207
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
208
- <span class="cbracket">}</span></pre></td>
217
+ <span class="function">gdk_draw_pixbuf</span> <span class="gtkdoc opt">(</span>widget<span class="gtkdoc opt">-&gt;</span>window<span class="gtkdoc opt">,</span> widget<span class="gtkdoc opt">-&gt;</span>style<span class="gtkdoc opt">-&gt;</span>fg_gc<span class="gtkdoc opt">[</span>GTK_STATE_NORMAL<span class="gtkdoc opt">],</span> dest<span class="gtkdoc opt">,</span>
218
+ <span class="number">0</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>x<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>y<span class="gtkdoc opt">,</span>
219
+ event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>width<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>height<span class="gtkdoc opt">,</span>
220
+ GDK_RGB_DITHER_NORMAL<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>x<span class="gtkdoc opt">,</span> event<span class="gtkdoc opt">-&gt;</span>area<span class="gtkdoc opt">.</span>y<span class="gtkdoc opt">);</span>
221
+
222
+ <span class="function"><a href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref">gdk_pixbuf_unref</a></span> <span class="gtkdoc opt">(</span>dest<span class="gtkdoc opt">);</span>
223
+
224
+ <span class="keyword">return</span> TRUE<span class="gtkdoc opt">;</span>
225
+ <span class="gtkdoc opt">}</span></pre></td>
209
226
  </tr>
210
227
  </tbody>
211
228
  </table>
@@ -239,7 +256,13 @@ reasonable quality and speed.</p>
239
256
  by creating a sub-pixbuf
240
257
  pointing into <em class="parameter"><code>src</code></em>
241
258
  ; see <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-subpixbuf" title="gdk_pixbuf_new_subpixbuf ()"><code class="function">gdk_pixbuf_new_subpixbuf()</code></a>.</p>
242
- <p>For more complicated scaling/compositing see <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()"><code class="function">gdk_pixbuf_scale()</code></a>
259
+ <p>If <em class="parameter"><code>dest_width</code></em>
260
+ and <em class="parameter"><code>dest_height</code></em>
261
+ are equal to the <em class="parameter"><code>src</code></em>
262
+ width and height, a
263
+ copy of <em class="parameter"><code>src</code></em>
264
+ is returned, avoiding any scaling.</p>
265
+ <p>For more complicated scaling/alpha blending see <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()"><code class="function">gdk_pixbuf_scale()</code></a>
243
266
  and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()"><code class="function">gdk_pixbuf_composite()</code></a>.</p>
244
267
  <div class="refsect3">
245
268
  <a name="gdk-pixbuf-scale-simple.parameters"></a><h4>Parameters</h4>
@@ -399,7 +422,7 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
399
422
  to <em class="parameter"><code>dest_width</code></em>
400
423
  x
401
424
  <em class="parameter"><code>dest_height</code></em>
402
- and compositing the result with a checkboard of colors
425
+ and alpha blending the result with a checkboard of colors
403
426
  <em class="parameter"><code>color1</code></em>
404
427
  and <em class="parameter"><code>color2</code></em>
405
428
  .</p>
@@ -491,7 +514,7 @@ The rectangle (<em class="parameter"><code>dest_x</code></em>
491
514
  , <em class="parameter"><code>dest_width</code></em>
492
515
  , <em class="parameter"><code>dest_height</code></em>
493
516
  )
494
- is then composited onto the corresponding rectangle of the
517
+ is then alpha blended onto the corresponding rectangle of the
495
518
  original destination image.</p>
496
519
  <p>When the destination rectangle contains parts not in the source
497
520
  image, the data at the edges of the source image is replicated
@@ -598,7 +621,7 @@ gdk_pixbuf_composite_color (<em class="parameter"><code>const <a class="link" hr
598
621
  then translating by <em class="parameter"><code>offset_x</code></em>
599
622
  and <em class="parameter"><code>offset_y</code></em>
600
623
  ,
601
- then composites the rectangle (<em class="parameter"><code>dest_x</code></em>
624
+ then alpha blends the rectangle (<em class="parameter"><code>dest_x</code></em>
602
625
  ,<em class="parameter"><code>dest_y</code></em>
603
626
  , <em class="parameter"><code>dest_width</code></em>
604
627
  ,
@@ -608,6 +631,9 @@ colors <em class="parameter"><code>color1</code></em>
608
631
  and <em class="parameter"><code>color2</code></em>
609
632
  and renders it onto the destination
610
633
  image.</p>
634
+ <p>If the source image has no alpha channel, and <em class="parameter"><code>overall_alpha</code></em>
635
+ is 255, a fast
636
+ path is used which omits the alpha blending and just performs the scaling.</p>
611
637
  <p>See <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color-simple" title="gdk_pixbuf_composite_color_simple ()"><code class="function">gdk_pixbuf_composite_color_simple()</code></a> for a simpler variant of this
612
638
  function suitable for many tasks.</p>
613
639
  <div class="refsect3">
@@ -718,6 +744,9 @@ gdk_pixbuf_rotate_simple (<em class="parameter"><code>const <a class="link" href
718
744
  <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkPixbufRotation" title="enum GdkPixbufRotation"><span class="type">GdkPixbufRotation</span></a> angle</code></em>);</pre>
719
745
  <p>Rotates a pixbuf by a multiple of 90 degrees, and returns the
720
746
  result in a new pixbuf.</p>
747
+ <p>If <em class="parameter"><code>angle</code></em>
748
+ is 0, a copy of <em class="parameter"><code>src</code></em>
749
+ is returned, avoiding any rotation.</p>
721
750
  <div class="refsect3">
722
751
  <a name="gdk-pixbuf-rotate-simple.parameters"></a><h4>Parameters</h4>
723
752
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -910,6 +939,6 @@ To make them easier to use, their numerical values are the actual degrees.</p>
910
939
  </div>
911
940
  </div>
912
941
  <div class="footer">
913
- <hr>Generated by GTK-Doc V1.25</div>
942
+ <hr>Generated by GTK-Doc V1.25.1</div>
914
943
  </body>
915
944
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-Versioning.html" title="Initialization and Versions">
10
10
  <link rel="next" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html" title="Reference Counting and Memory Mangement">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -329,34 +329,34 @@ for each pixel, your own code can take shortcuts.</p>
329
329
  26
330
330
  27
331
331
  28</pre></td>
332
- <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
333
- <span class="function">put_pixel</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">,</span><span class="normal"> </span><span class="type">int</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> </span><span class="type">int</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> red</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> green</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> blue</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> alpha</span><span class="symbol">)</span>
334
- <span class="cbracket">{</span>
335
- <span class="normal"> </span><span class="type">int</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> rowstride</span><span class="symbol">,</span><span class="normal"> n_channels</span><span class="symbol">;</span>
336
- <span class="normal"> </span><span class="usertype">guchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixels</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">p</span><span class="symbol">;</span>
332
+ <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
333
+ <span class="function">put_pixel</span> <span class="gtkdoc opt">(</span>GdkPixbuf <span class="gtkdoc opt">*</span>pixbuf<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">int</span> x<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">int</span> y<span class="gtkdoc opt">,</span> guchar red<span class="gtkdoc opt">,</span> guchar green<span class="gtkdoc opt">,</span> guchar blue<span class="gtkdoc opt">,</span> guchar alpha<span class="gtkdoc opt">)</span>
334
+ <span class="gtkdoc opt">{</span>
335
+ <span class="gtkdoc kwb">int</span> width<span class="gtkdoc opt">,</span> height<span class="gtkdoc opt">,</span> rowstride<span class="gtkdoc opt">,</span> n_channels<span class="gtkdoc opt">;</span>
336
+ guchar <span class="gtkdoc opt">*</span>pixels<span class="gtkdoc opt">, *</span>p<span class="gtkdoc opt">;</span>
337
337
 
338
- <span class="normal"> n_channels </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-n-channels">gdk_pixbuf_get_n_channels</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
338
+ n_channels <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-n-channels">gdk_pixbuf_get_n_channels</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
339
339
 
340
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-colorspace">gdk_pixbuf_get_colorspace</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> <a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-COLORSPACE-RGB:CAPS">GDK_COLORSPACE_RGB</a></span><span class="symbol">);</span>
341
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-bits-per-sample">gdk_pixbuf_get_bits_per_sample</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">8</span><span class="symbol">);</span>
342
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-has-alpha">gdk_pixbuf_get_has_alpha</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">));</span>
343
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">n_channels </span><span class="symbol">==</span><span class="normal"> </span><span class="number">4</span><span class="symbol">);</span>
340
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-colorspace">gdk_pixbuf_get_colorspace</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">) ==</span> GDK_COLORSPACE_RGB<span class="gtkdoc opt">);</span>
341
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-bits-per-sample">gdk_pixbuf_get_bits_per_sample</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">) ==</span> <span class="number">8</span><span class="gtkdoc opt">);</span>
342
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-has-alpha">gdk_pixbuf_get_has_alpha</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">));</span>
343
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>n_channels <span class="gtkdoc opt">==</span> <span class="number">4</span><span class="gtkdoc opt">);</span>
344
344
 
345
- <span class="normal"> width </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-width">gdk_pixbuf_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
346
- <span class="normal"> height </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-height">gdk_pixbuf_get_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
345
+ width <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-width">gdk_pixbuf_get_width</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
346
+ height <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-height">gdk_pixbuf_get_height</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
347
347
 
348
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x </span><span class="symbol">&gt;=</span><span class="normal"> </span><span class="number">0</span><span class="normal"> </span><span class="symbol">&amp;&amp;</span><span class="normal"> x </span><span class="symbol">&lt;</span><span class="normal"> width</span><span class="symbol">);</span>
349
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">y </span><span class="symbol">&gt;=</span><span class="normal"> </span><span class="number">0</span><span class="normal"> </span><span class="symbol">&amp;&amp;</span><span class="normal"> y </span><span class="symbol">&lt;</span><span class="normal"> height</span><span class="symbol">);</span>
348
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>x <span class="gtkdoc opt">&gt;=</span> <span class="number">0</span> <span class="gtkdoc opt">&amp;&amp;</span> x <span class="gtkdoc opt">&lt;</span> width<span class="gtkdoc opt">);</span>
349
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>y <span class="gtkdoc opt">&gt;=</span> <span class="number">0</span> <span class="gtkdoc opt">&amp;&amp;</span> y <span class="gtkdoc opt">&lt;</span> height<span class="gtkdoc opt">);</span>
350
350
 
351
- <span class="normal"> rowstride </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-rowstride">gdk_pixbuf_get_rowstride</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
352
- <span class="normal"> pixels </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels">gdk_pixbuf_get_pixels</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
351
+ rowstride <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-rowstride">gdk_pixbuf_get_rowstride</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
352
+ pixels <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels">gdk_pixbuf_get_pixels</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
353
353
 
354
- <span class="normal"> p </span><span class="symbol">=</span><span class="normal"> pixels </span><span class="symbol">+</span><span class="normal"> y </span><span class="symbol">*</span><span class="normal"> rowstride </span><span class="symbol">+</span><span class="normal"> x </span><span class="symbol">*</span><span class="normal"> n_channels</span><span class="symbol">;</span>
355
- <span class="normal"> p</span><span class="symbol">[</span><span class="number">0</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> red</span><span class="symbol">;</span>
356
- <span class="normal"> p</span><span class="symbol">[</span><span class="number">1</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> green</span><span class="symbol">;</span>
357
- <span class="normal"> p</span><span class="symbol">[</span><span class="number">2</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> blue</span><span class="symbol">;</span>
358
- <span class="normal"> p</span><span class="symbol">[</span><span class="number">3</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> alpha</span><span class="symbol">;</span>
359
- <span class="cbracket">}</span></pre></td>
354
+ p <span class="gtkdoc opt">=</span> pixels <span class="gtkdoc opt">+</span> y <span class="gtkdoc opt">*</span> rowstride <span class="gtkdoc opt">+</span> x <span class="gtkdoc opt">*</span> n_channels<span class="gtkdoc opt">;</span>
355
+ p<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">] =</span> red<span class="gtkdoc opt">;</span>
356
+ p<span class="gtkdoc opt">[</span><span class="number">1</span><span class="gtkdoc opt">] =</span> green<span class="gtkdoc opt">;</span>
357
+ p<span class="gtkdoc opt">[</span><span class="number">2</span><span class="gtkdoc opt">] =</span> blue<span class="gtkdoc opt">;</span>
358
+ p<span class="gtkdoc opt">[</span><span class="number">3</span><span class="gtkdoc opt">] =</span> alpha<span class="gtkdoc opt">;</span>
359
+ <span class="gtkdoc opt">}</span></pre></td>
360
360
  </tr>
361
361
  </tbody>
362
362
  </table>
@@ -990,7 +990,7 @@ the gdk-pixbuf library. Currently only RGB is supported.</p>
990
990
  <div class="refsect2">
991
991
  <a name="GdkPixbufAlphaMode"></a><h3>enum GdkPixbufAlphaMode</h3>
992
992
  <p>These values can be passed to
993
- <a href="http://library.gnome.org/devel/gdk2/gdk2-Pixbufs.html#gdk-pixbuf-render-to-drawable-alpha"><code class="function">gdk_pixbuf_render_to_drawable_alpha()</code></a> to control how the alpha
993
+ <a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable-alpha" title="gdk_pixbuf_xlib_render_to_drawable_alpha ()"><code class="function">gdk_pixbuf_xlib_render_to_drawable_alpha()</code></a> to control how the alpha
994
994
  channel of an image should be handled. This function can create a
995
995
  bilevel clipping mask (black and white) and use it while painting
996
996
  the image. In the future, when the X Window System gets an alpha
@@ -1125,6 +1125,6 @@ be at least as large as the width of the pixbuf.</p>
1125
1125
  </div>
1126
1126
  </div>
1127
1127
  <div class="footer">
1128
- <hr>Generated by GTK-Doc V1.25</div>
1128
+ <hr>Generated by GTK-Doc V1.25.1</div>
1129
1129
  </body>
1130
1130
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-gdk-pixbuf-from-drawables.html" title="Drawables to Pixbufs">
10
10
  <link rel="next" href="gdk-pixbuf-Animations.html" title="Animations">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -326,7 +326,8 @@ is oriented correctly.</p>
326
326
  </div>
327
327
  <div class="refsect3">
328
328
  <a name="gdk-pixbuf-apply-embedded-orientation.returns"></a><h4>Returns</h4>
329
- <p> A newly-created pixbuf, or a reference to the
329
+ <p> A newly-created pixbuf, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
330
+ not enough memory could be allocated for it, or a reference to the
330
331
  input pixbuf (with an increased reference count). </p>
331
332
  <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
332
333
  </div>
@@ -375,6 +376,6 @@ doesn't have an alpha channel.</p>
375
376
  </div>
376
377
  </div>
377
378
  <div class="footer">
378
- <hr>Generated by GTK-Doc V1.25</div>
379
+ <hr>Generated by GTK-Doc V1.25.1</div>
379
380
  </body>
380
381
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="rn01.html" title="API Reference">
10
10
  <link rel="next" href="gdk-pixbuf-The-GdkPixbuf-Structure.html" title="The GdkPixbuf Structure">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -220,7 +220,7 @@ gdk-pixbuf headers you have included.</p>
220
220
  <hr>
221
221
  <div class="refsect2">
222
222
  <a name="GDK-PIXBUF-VERSION:CAPS"></a><h3>GDK_PIXBUF_VERSION</h3>
223
- <pre class="programlisting">#define GDK_PIXBUF_VERSION "2.36.0"
223
+ <pre class="programlisting">#define GDK_PIXBUF_VERSION "2.36.4"
224
224
  </pre>
225
225
  <p>Contains the full version of the gdk-pixbuf header as a string.
226
226
  This is the version being compiled against; contrast with
@@ -245,7 +245,7 @@ This is the version being compiled against; contrast with
245
245
  <hr>
246
246
  <div class="refsect2">
247
247
  <a name="GDK-PIXBUF-MICRO:CAPS"></a><h3>GDK_PIXBUF_MICRO</h3>
248
- <pre class="programlisting">#define GDK_PIXBUF_MICRO (0)
248
+ <pre class="programlisting">#define GDK_PIXBUF_MICRO (4)
249
249
  </pre>
250
250
  <p>Micro version of gdk-pixbuf library, that is the "2" in
251
251
  "0.8.2" for example.</p>
@@ -458,6 +458,6 @@ trying to use that function.</p>
458
458
  </div>
459
459
  </div>
460
460
  <div class="footer">
461
- <hr>Generated by GTK-Doc V1.25</div>
461
+ <hr>Generated by GTK-Doc V1.25.1</div>
462
462
  </body>
463
463
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-Xlib-Rendering.html" title="Xlib Rendering">
10
10
  <link rel="next" href="gdk-pixbuf-XlibRGB.html" title="XlibRGB">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -190,6 +190,6 @@ allocated for the pixbuf to be created.</p>
190
190
  </div>
191
191
  </div>
192
192
  <div class="footer">
193
- <hr>Generated by GTK-Doc V1.25</div>
193
+ <hr>Generated by GTK-Doc V1.25.1</div>
194
194
  </body>
195
195
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html" title="gdk-pixbuf Xlib initialization">
10
10
  <link rel="next" href="gdk-pixbuf-X-Drawables-to-Pixbufs.html" title="X Drawables to Pixbufs">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -432,6 +432,6 @@ to None.</p>
432
432
  </div>
433
433
  </div>
434
434
  <div class="footer">
435
- <hr>Generated by GTK-Doc V1.25</div>
435
+ <hr>Generated by GTK-Doc V1.25.1</div>
436
436
  </body>
437
437
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-X-Drawables-to-Pixbufs.html" title="X Drawables to Pixbufs">
10
10
  <link rel="next" href="rn02.html" title="Tools Reference">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -1056,7 +1056,7 @@ that the display can provide.
1056
1056
  &lt;symbol&gt;XLIB_RGB_DITHER_NORMAL&lt;/symbol&gt; will provide dithering
1057
1057
  only on pseudocolor displays.
1058
1058
  &lt;symbol&gt;XLIB_RGB_DITHER_MAX&lt;/symbol&gt; will provide dithering on
1059
- pseudocolor and 16-bit truecolor or high color
1059
+ pseudocolor and 16-bit truecolor or &amp;ldquo;high color&amp;rdquo;
1060
1060
  displays.</p>
1061
1061
  <div class="refsect3">
1062
1062
  <a name="XlibRgbDither.members"></a><h4>Members</h4>
@@ -1100,6 +1100,6 @@ displays.</p>
1100
1100
  </div>
1101
1101
  </div>
1102
1102
  <div class="footer">
1103
- <hr>Generated by GTK-Doc V1.25</div>
1103
+ <hr>Generated by GTK-Doc V1.25.1</div>
1104
1104
  </body>
1105
1105
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn02.html" title="Tools Reference">
9
9
  <link rel="prev" href="rn02.html" title="Tools Reference">
10
10
  <link rel="next" href="gdk-pixbuf-query-loaders.html" title="gdk-pixbuf-query-loaders">
11
- <meta name="generator" content="GTK-Doc V1.25 (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">
@@ -161,6 +161,6 @@ generates pixbufs with suboptimal rowstride in some cases.
161
161
  </div>
162
162
  </div>
163
163
  <div class="footer">
164
- <hr>Generated by GTK-Doc V1.25</div>
164
+ <hr>Generated by GTK-Doc V1.25.1</div>
165
165
  </body>
166
166
  </html>