gdk_pixbuf2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. data/ext/gdk_pixbuf2/rbgdk-pixbuf-format.c +49 -40
  2. data/ext/gdk_pixbuf2/rbgdk-pixbuf-loader.c +50 -40
  3. data/ext/gdk_pixbuf2/rbgdk-pixbuf.c +250 -168
  4. data/ext/gdk_pixbuf2/rbgdk-pixbuf.h +25 -18
  5. data/ext/gdk_pixbuf2/rbgdk-pixbuf2conversions.h +42 -0
  6. data/ext/gdk_pixbuf2/rbgdk-pixbuf2private.h +35 -0
  7. data/ext/gdk_pixbuf2/rbgdk-pixbufanimation.c +46 -83
  8. data/ext/gdk_pixbuf2/rbgdk-pixbufanimationiter.c +71 -0
  9. data/ext/gdk_pixbuf2/rbgdk-pixbufsimpleanim.c +29 -17
  10. data/ext/gdk_pixbuf2/rbgdk-pixdata.c +81 -77
  11. data/lib/1.8/gdk_pixbuf2.so +0 -0
  12. data/lib/1.9/gdk_pixbuf2.so +0 -0
  13. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  14. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  15. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  16. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +40 -0
  17. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +200 -5
  18. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +82 -3
  19. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +170 -0
  20. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +6 -1
  21. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +5 -0
  22. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +42 -1
  23. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +2 -2
  24. data/vendor/local/lib/gdk_pixbuf-2.0.lib +0 -0
  25. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  26. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +4 -2
  27. data/vendor/local/manifest/{gdk-pixbuf-dev_2.22.1-1_win32.mft → gdk-pixbuf-dev_2.24.0-1_win32.mft} +12 -13
  28. data/vendor/local/manifest/{gdk-pixbuf_2.22.1-1_win32.mft → gdk-pixbuf_2.24.0-1_win32.mft} +2 -1
  29. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +181 -150
  30. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +30 -9
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-10.html +3 -3
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +4 -4
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +6 -6
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +35 -3
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +13 -9
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +6 -6
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +5 -5
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +7 -7
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +251 -629
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +644 -0
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +372 -0
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +642 -0
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +417 -0
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +495 -0
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +485 -184
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +168 -0
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/{gdk-pixbuf-scaling.html → gdk-pixbuf-Scaling.html} +296 -190
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +617 -0
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/{gdk-pixbuf-util.html → gdk-pixbuf-Utilities.html} +83 -93
  50. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +63 -26
  51. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +16 -16
  52. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +8 -8
  53. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +8 -8
  54. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -12
  55. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +149 -128
  56. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +18 -18
  57. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +184 -154
  58. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +3 -3
  59. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +18 -18
  60. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +5 -5
  61. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +2 -1
  62. data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  63. data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  64. data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  65. data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  66. data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  67. data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  68. data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  69. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  70. data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  79. data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  80. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  81. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  82. data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  83. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  84. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  85. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  86. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  87. data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  88. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  89. data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  90. data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  91. data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  92. data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  93. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  94. data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  95. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  96. data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  97. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  98. data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  99. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  100. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  101. data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  102. data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  103. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  104. data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  105. data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  106. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  107. data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  108. data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  109. data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  110. data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  111. data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  112. data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  113. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  114. data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  115. data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  116. data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  117. data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  118. data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  119. data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  120. data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  121. data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  122. data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  123. data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  124. data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  125. data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  126. data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  127. data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  128. data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  129. data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  130. data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  131. data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  132. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  133. data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  134. data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  135. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  136. data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  137. data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  138. data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  139. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  140. data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  141. data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  142. data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  143. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  144. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  145. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  146. data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  147. data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  148. data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  149. data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  150. data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  151. data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  152. data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  153. data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  154. data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  155. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  156. data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  157. data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  158. data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  159. data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  160. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  161. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  162. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  163. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +2 -2
  164. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +2 -2
  165. data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.log +956 -0
  166. data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.sh +97 -0
  167. metadata +26 -24
  168. data/ChangeLog +0 -482
  169. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-animation.html +0 -654
  170. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-creating.html +0 -406
  171. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-loading.html +0 -402
  172. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-saving.html +0 -685
  173. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html +0 -460
  174. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-inline.html +0 -516
  175. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-refcounting.html +0 -132
  176. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp +0 -175
  177. data/vendor/local/src/tml/packaging/gdk-pixbuf_2.22.1-1_win32.log +0 -1012
  178. data/vendor/local/src/tml/packaging/gdk-pixbuf_2.22.1-1_win32.sh +0 -256
@@ -0,0 +1,168 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Reference Counting and Memory Mangement</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
8
+ <link rel="up" href="rn01.html" title="API Reference">
9
+ <link rel="prev" href="gdk-pixbuf-The-GdkPixbuf-Structure.html" title="The GdkPixbuf Structure">
10
+ <link rel="next" href="gdk-pixbuf-File-Loading.html" title="File Loading">
11
+ <meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="gdk-pixbuf-The-GdkPixbuf-Structure.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GDK-PixBuf Reference Manual</th>
21
+ <td><a accesskey="n" href="gdk-pixbuf-File-Loading.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#gdk-pixbuf-Reference-Counting-and-Memory-Mangement.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#gdk-pixbuf-Reference-Counting-and-Memory-Mangement.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.top_of_page"></a>Reference Counting and Memory Mangement</span></h2>
34
+ <p>Reference Counting and Memory Mangement — Functions for reference counting and memory management on pixbufs.</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">
41
+ #include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
42
+
43
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-ref" title="gdk_pixbuf_ref ()">gdk_pixbuf_ref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
44
+ <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref" title="gdk_pixbuf_unref ()">gdk_pixbuf_unref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
45
+ <span class="returnvalue">void</span> (<a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()">*GdkPixbufDestroyNotify</a>) (<em class="parameter"><code><span class="type">guchar</span> *pixels</code></em>,
46
+ <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
47
+ </pre>
48
+ </div>
49
+ <div class="refsect1">
50
+ <a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.description"></a><h2>Description</h2>
51
+ <p>
52
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structures are reference counted. This means that an
53
+ application can share a single pixbuf among many parts of the
54
+ code. When a piece of the program needs to keep a pointer to a
55
+ pixbuf, it should add a reference to it by calling <code class="function">g_object_ref()</code>.
56
+ When it no longer needs the pixbuf, it should subtract a reference
57
+ by calling <code class="function">g_object_unref()</code>. The pixbuf will be destroyed when
58
+ its reference count drops to zero. Newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
59
+ structures start with a reference count of one.
60
+ </p>
61
+ <p>
62
+ </p>
63
+ <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
64
+ <h3 class="title">Note</h3>
65
+ As <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> is derived from <span class="type">GObject</span> now, <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-ref" title="gdk_pixbuf_ref ()"><code class="function">gdk_pixbuf_ref()</code></a> and
66
+ <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref" title="gdk_pixbuf_unref ()"><code class="function">gdk_pixbuf_unref()</code></a> are deprecated in favour of <code class="function">g_object_ref()</code>
67
+ and <code class="function">g_object_unref()</code> resp.
68
+ </div>
69
+ <p>
70
+ </p>
71
+ <p>
72
+ <span class="emphasis"><em>Finalizing</em></span> a pixbuf means to free its pixel
73
+ data and to free the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure itself. Most of the
74
+ library functions that create <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structures create the
75
+ pixel data by themselves and define the way it should be freed;
76
+ you do not need to worry about those. The only function that lets
77
+ you specify how to free the pixel data is
78
+ <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>. Since you pass it a pre-allocated
79
+ pixel buffer, you must also specify a way to free that data. This
80
+ is done with a function of type <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a>. When a
81
+ pixbuf created 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> is finalized, your
82
+ destroy notification function will be called, and it is its
83
+ responsibility to free the pixel array.
84
+ </p>
85
+ </div>
86
+ <div class="refsect1">
87
+ <a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.details"></a><h2>Details</h2>
88
+ <div class="refsect2">
89
+ <a name="gdk-pixbuf-ref"></a><h3>gdk_pixbuf_ref ()</h3>
90
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_ref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
91
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
92
+ <h3 class="title">Warning</h3>
93
+ <p><code class="literal">gdk_pixbuf_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <code class="function">g_object_ref()</code>.</p>
94
+ </div>
95
+ <p>
96
+ Adds a reference to a pixbuf.
97
+ </p>
98
+ <div class="variablelist"><table border="0">
99
+ <col align="left" valign="top">
100
+ <tbody>
101
+ <tr>
102
+ <td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
103
+ <td>A pixbuf.</td>
104
+ </tr>
105
+ <tr>
106
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
107
+ <td>The same as the <em class="parameter"><code>pixbuf</code></em> argument.</td>
108
+ </tr>
109
+ </tbody>
110
+ </table></div>
111
+ </div>
112
+ <hr>
113
+ <div class="refsect2">
114
+ <a name="gdk-pixbuf-unref"></a><h3>gdk_pixbuf_unref ()</h3>
115
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
116
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
117
+ <h3 class="title">Warning</h3>
118
+ <p><code class="literal">gdk_pixbuf_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <code class="function">g_object_unref()</code>.</p>
119
+ </div>
120
+ <p>
121
+ Removes a reference from a pixbuf.
122
+ </p>
123
+ <div class="variablelist"><table border="0">
124
+ <col align="left" valign="top">
125
+ <tbody><tr>
126
+ <td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
127
+ <td>A pixbuf.</td>
128
+ </tr></tbody>
129
+ </table></div>
130
+ </div>
131
+ <hr>
132
+ <div class="refsect2">
133
+ <a name="GdkPixbufDestroyNotify"></a><h3>GdkPixbufDestroyNotify ()</h3>
134
+ <pre class="programlisting"><span class="returnvalue">void</span> (*GdkPixbufDestroyNotify) (<em class="parameter"><code><span class="type">guchar</span> *pixels</code></em>,
135
+ <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
136
+ <p>
137
+ A function of this type is responsible for freeing the pixel array
138
+ of a pixbuf. The <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 lets you
139
+ pass in a pre-allocated pixel array so that a pixbuf can be
140
+ created from it; in this case you will need to pass in a function
141
+ of <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a> so that the pixel data can be freed
142
+ when the pixbuf is finalized.
143
+ </p>
144
+ <div class="variablelist"><table border="0">
145
+ <col align="left" valign="top">
146
+ <tbody>
147
+ <tr>
148
+ <td><p><span class="term"><em class="parameter"><code>pixels</code></em> :</span></p></td>
149
+ <td>The pixel array of the pixbuf that is being finalized.</td>
150
+ </tr>
151
+ <tr>
152
+ <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
153
+ <td>User closure data.</td>
154
+ </tr>
155
+ </tbody>
156
+ </table></div>
157
+ </div>
158
+ </div>
159
+ <div class="refsect1">
160
+ <a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.see-also"></a><h2>See Also</h2>
161
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">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 ()"><code class="function">gdk_pixbuf_new_from_data()</code></a>.
162
+ </div>
163
+ </div>
164
+ <div class="footer">
165
+ <hr>
166
+ Generated by GTK-Doc V1.17.1</div>
167
+ </body>
168
+ </html>
@@ -2,51 +2,51 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>scaling</title>
5
+ <title>Scaling</title>
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
  <link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
- <link rel="prev" href="gdk-pixbuf-inline.html" title="inline">
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.15 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.17.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
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
16
  <tr valign="middle">
17
- <td><a accesskey="p" href="gdk-pixbuf-inline.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td><a accesskey="p" href="gdk-pixbuf-Inline-data.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
18
  <td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
19
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
20
  <th width="100%" align="center">GDK-PixBuf Reference Manual</th>
21
21
  <td><a accesskey="n" href="gdk-pixbuf-gdk-pixbuf-rendering.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
22
  </tr>
23
23
  <tr><td colspan="5" class="shortcuts">
24
- <a href="#gdk-pixbuf-scaling.synopsis" class="shortcut">Top</a>
24
+ <a href="#gdk-pixbuf-Scaling.synopsis" class="shortcut">Top</a>
25
25
   | 
26
- <a href="#gdk-pixbuf-scaling.description" class="shortcut">Description</a>
26
+ <a href="#gdk-pixbuf-Scaling.description" class="shortcut">Description</a>
27
27
  </td></tr>
28
28
  </table>
29
- <div class="refentry" title="scaling">
30
- <a name="gdk-pixbuf-scaling"></a><div class="titlepage"></div>
29
+ <div class="refentry">
30
+ <a name="gdk-pixbuf-Scaling"></a><div class="titlepage"></div>
31
31
  <div class="refnamediv"><table width="100%"><tr>
32
32
  <td valign="top">
33
- <h2><span class="refentrytitle"><a name="gdk-pixbuf-scaling.top_of_page"></a>scaling</span></h2>
34
- <p>scaling</p>
33
+ <h2><span class="refentrytitle"><a name="gdk-pixbuf-Scaling.top_of_page"></a>Scaling</span></h2>
34
+ <p>Scaling — Scaling pixbufs and scaling and compositing pixbufs</p>
35
35
  </td>
36
36
  <td valign="top" align="right"></td>
37
37
  </tr></table></div>
38
- <div class="refsynopsisdiv" title="Synopsis">
39
- <a name="gdk-pixbuf-scaling.synopsis"></a><h2>Synopsis</h2>
38
+ <div class="refsynopsisdiv">
39
+ <a name="gdk-pixbuf-Scaling.synopsis"></a><h2>Synopsis</h2>
40
40
  <pre class="synopsis">
41
41
  #include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
42
42
 
43
- enum <a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType">GdkInterpType</a>;
44
- <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()">gdk_pixbuf_scale_simple</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
43
+ enum <a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType">GdkInterpType</a>;
44
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()">gdk_pixbuf_scale_simple</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
45
45
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
46
46
  <em class="parameter"><code><span class="type">int</span> dest_height</code></em>,
47
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);
48
- <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()">gdk_pixbuf_scale</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
49
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
47
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);
48
+ <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()">gdk_pixbuf_scale</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
49
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
50
50
  <em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
51
51
  <em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
52
52
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
@@ -55,17 +55,17 @@ enum <a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType"
55
55
  <em class="parameter"><code><span class="type">double</span> offset_y</code></em>,
56
56
  <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
57
57
  <em class="parameter"><code><span class="type">double</span> scale_y</code></em>,
58
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);
59
- <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-composite-color-simple" title="gdk_pixbuf_composite_color_simple ()">gdk_pixbuf_composite_color_simple</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
58
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</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-Scaling.html#gdk-pixbuf-composite-color-simple" title="gdk_pixbuf_composite_color_simple ()">gdk_pixbuf_composite_color_simple</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
60
60
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
61
61
  <em class="parameter"><code><span class="type">int</span> dest_height</code></em>,
62
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
62
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
63
63
  <em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
64
64
  <em class="parameter"><code><span class="type">int</span> check_size</code></em>,
65
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
66
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);
67
- <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()">gdk_pixbuf_composite</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
68
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
65
+ <em class="parameter"><code><span class="type">guint32</span> color1</code></em>,
66
+ <em class="parameter"><code><span class="type">guint32</span> color2</code></em>);
67
+ <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()">gdk_pixbuf_composite</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
68
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
69
69
  <em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
70
70
  <em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
71
71
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
@@ -74,10 +74,10 @@ enum <a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType"
74
74
  <em class="parameter"><code><span class="type">double</span> offset_y</code></em>,
75
75
  <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
76
76
  <em class="parameter"><code><span class="type">double</span> scale_y</code></em>,
77
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
77
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
78
78
  <em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>);
79
- <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-composite-color" title="gdk_pixbuf_composite_color ()">gdk_pixbuf_composite_color</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
80
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
79
+ <span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color" title="gdk_pixbuf_composite_color ()">gdk_pixbuf_composite_color</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
80
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
81
81
  <em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
82
82
  <em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
83
83
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
@@ -86,28 +86,99 @@ enum <a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType"
86
86
  <em class="parameter"><code><span class="type">double</span> offset_y</code></em>,
87
87
  <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
88
88
  <em class="parameter"><code><span class="type">double</span> scale_y</code></em>,
89
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
89
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
90
90
  <em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
91
91
  <em class="parameter"><code><span class="type">int</span> check_x</code></em>,
92
92
  <em class="parameter"><code><span class="type">int</span> check_y</code></em>,
93
93
  <em class="parameter"><code><span class="type">int</span> check_size</code></em>,
94
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
95
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);
96
- enum <a class="link" href="gdk-pixbuf-scaling.html#GdkPixbufRotation" title="enum GdkPixbufRotation">GdkPixbufRotation</a>;
97
- <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-rotate-simple" title="gdk_pixbuf_rotate_simple ()">gdk_pixbuf_rotate_simple</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
98
- <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>);
99
- <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-flip" title="gdk_pixbuf_flip ()">gdk_pixbuf_flip</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
100
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horizontal</code></em>);
94
+ <em class="parameter"><code><span class="type">guint32</span> color1</code></em>,
95
+ <em class="parameter"><code><span class="type">guint32</span> color2</code></em>);
96
+ enum <a class="link" href="gdk-pixbuf-Scaling.html#GdkPixbufRotation" title="enum GdkPixbufRotation">GdkPixbufRotation</a>;
97
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-rotate-simple" title="gdk_pixbuf_rotate_simple ()">gdk_pixbuf_rotate_simple</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
98
+ <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>);
99
+ <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-flip" title="gdk_pixbuf_flip ()">gdk_pixbuf_flip</a> (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
100
+ <em class="parameter"><code><span class="type">gboolean</span> horizontal</code></em>);
101
101
  </pre>
102
102
  </div>
103
- <div class="refsect1" title="Description">
104
- <a name="gdk-pixbuf-scaling.description"></a><h2>Description</h2>
103
+ <div class="refsect1">
104
+ <a name="gdk-pixbuf-Scaling.description"></a><h2>Description</h2>
105
+ <p>
106
+ The &amp;gdk-pixbuf; contains functions to scale pixbufs, to scale
107
+ pixbufs and composite against an existing image, and to scale
108
+ pixbufs and composite against a solid color or checkerboard.
109
+ Compositing a checkerboard is a common way to show an image with
110
+ an alpha channel in image-viewing and editing software.
111
+ </p>
112
+ <p>
113
+ 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>,
114
+ <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
115
+ rather complex to use and have many arguments, two simple
116
+ convenience functions are provided, <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()"><code class="function">gdk_pixbuf_scale_simple()</code></a> and
117
+ <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> which create a new pixbuf of a
118
+ given size, scale an original image to fit, and then return the
119
+ new pixbuf.
120
+ </p>
121
+ <p>
122
+ Scaling and compositing functions take advantage of MMX hardware
123
+ acceleration on systems where MMX is supported. If gdk-pixbuf is built
124
+ with the Sun mediaLib library, these functions are instead accelerated
125
+ using mediaLib, which provides hardware acceleration on Intel, AMD,
126
+ and Sparc chipsets. If desired, mediaLib support can be turned off by
127
+ setting the GDK_DISABLE_MEDIALIB environment variable.
128
+ </p>
129
+ <p>
130
+ The following example demonstrates handling an expose event by
131
+ rendering the appropriate area of a source image (which is scaled
132
+ to fit the widget) onto the widget's window. The source image is
133
+ rendered against a checkerboard, which provides a visual
134
+ representation of the alpha channel if the image has one. If the
135
+ image doesn't have an alpha channel, calling
136
+ <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
137
+ 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>.
138
+ </p>
139
+ <p>
140
+ </p>
141
+ <div class="example">
142
+ <a name="id474078"></a><p class="title"><b>Example 2. Handling an expose event.</b></p>
143
+ <div class="example-contents">
144
+ <p>
145
+ </p>
146
+ <pre class="programlisting">
147
+ gboolean
148
+ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
149
+ {
150
+ GdkPixbuf *dest;
151
+
152
+ dest = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, event-&gt;area.width, event-&gt;area.height);
153
+
154
+ gdk_pixbuf_composite_color (pixbuf, dest,
155
+ 0, 0, event-&gt;area.width, event-&gt;area.height,
156
+ -event-&gt;area.x, -event-&gt;area.y,
157
+ (double) widget-&gt;allocation.width / gdk_pixbuf_get_width (pixbuf),
158
+ (double) widget-&gt;allocation.height / gdk_pixbuf_get_height (pixbuf),
159
+ GDK_INTERP_BILINEAR, 255,
160
+ event-&gt;area.x, event-&gt;area.y, 16, 0xaaaaaa, 0x555555);
161
+
162
+ gdk_draw_pixbuf (widget-&gt;window, widget-&gt;style-&gt;fg_gc[GTK_STATE_NORMAL], dest,
163
+ 0, 0, event-&gt;area.x, event-&gt;area.y,
164
+ event-&gt;area.width, event-&gt;area.height,
165
+ GDK_RGB_DITHER_NORMAL, event-&gt;area.x, event-&gt;area.y);
166
+
167
+ gdk_pixbuf_unref (dest);
168
+
169
+ return TRUE;
170
+ }
171
+ </pre>
105
172
  <p>
106
173
  </p>
107
174
  </div>
108
- <div class="refsect1" title="Details">
109
- <a name="gdk-pixbuf-scaling.details"></a><h2>Details</h2>
110
- <div class="refsect2" title="enum GdkInterpType">
175
+ </div>
176
+ <p><br class="example-break">
177
+ </p>
178
+ </div>
179
+ <div class="refsect1">
180
+ <a name="gdk-pixbuf-Scaling.details"></a><h2>Details</h2>
181
+ <div class="refsect2">
111
182
  <a name="GdkInterpType"></a><h3>enum GdkInterpType</h3>
112
183
  <pre class="programlisting">typedef enum {
113
184
  GDK_INTERP_NEAREST,
@@ -117,57 +188,107 @@ enum <a class="link" href="gdk-pixbuf-scaling.html#GdkPixbufRotat
117
188
  } GdkInterpType;
118
189
  </pre>
119
190
  <p>
191
+ This enumeration describes the different interpolation modes that
192
+ can be used with the scaling functions. <em class="parameter"><code>GDK_INTERP_NEAREST</code></em> is
193
+ the fastest scaling method, but has horrible quality when
194
+ scaling down. <em class="parameter"><code>GDK_INTERP_BILINEAR</code></em> is the best choice if you
195
+ aren't sure what to choose, it has a good speed/quality balance.
120
196
  </p>
197
+ <p>
198
+ </p>
199
+ <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
200
+ <h3 class="title">Note</h3>
201
+ Cubic filtering is missing from the list; hyperbolic
202
+ interpolation is just as fast and results in higher quality.
203
+ </div>
204
+ <p>
205
+ </p>
206
+ <div class="variablelist"><table border="0">
207
+ <col align="left" valign="top">
208
+ <tbody>
209
+ <tr>
210
+ <td><p><a name="GDK-INTERP-NEAREST:CAPS"></a><span class="term"><code class="literal">GDK_INTERP_NEAREST</code></span></p></td>
211
+ <td>Nearest neighbor sampling; this is the fastest
212
+ and lowest quality mode. Quality is normally unacceptable when scaling
213
+ down, but may be OK when scaling up.
214
+ </td>
215
+ </tr>
216
+ <tr>
217
+ <td><p><a name="GDK-INTERP-TILES:CAPS"></a><span class="term"><code class="literal">GDK_INTERP_TILES</code></span></p></td>
218
+ <td>This is an accurate simulation of the PostScript
219
+ image operator without any interpolation enabled. Each pixel is
220
+ rendered as a tiny parallelogram of solid color, the edges of which
221
+ are implemented with antialiasing. It resembles nearest neighbor for
222
+ enlargement, and bilinear for reduction.
223
+ </td>
224
+ </tr>
225
+ <tr>
226
+ <td><p><a name="GDK-INTERP-BILINEAR:CAPS"></a><span class="term"><code class="literal">GDK_INTERP_BILINEAR</code></span></p></td>
227
+ <td>Best quality/speed balance; use this mode by
228
+ default. Bilinear interpolation. For enlargement, it is
229
+ equivalent to point-sampling the ideal bilinear-interpolated image.
230
+ For reduction, it is equivalent to laying down small tiles and
231
+ integrating over the coverage area.
232
+ </td>
233
+ </tr>
234
+ <tr>
235
+ <td><p><a name="GDK-INTERP-HYPER:CAPS"></a><span class="term"><code class="literal">GDK_INTERP_HYPER</code></span></p></td>
236
+ <td>This is the slowest and highest quality
237
+ reconstruction function. It is derived from the hyperbolic filters in
238
+ Wolberg's "Digital Image Warping", and is formally defined as the
239
+ hyperbolic-filter sampling the ideal hyperbolic-filter interpolated
240
+ image (the filter is designed to be idempotent for 1:1 pixel mapping).
241
+ </td>
242
+ </tr>
243
+ </tbody>
244
+ </table></div>
121
245
  </div>
122
246
  <hr>
123
- <div class="refsect2" title="gdk_pixbuf_scale_simple ()">
247
+ <div class="refsect2">
124
248
  <a name="gdk-pixbuf-scale-simple"></a><h3>gdk_pixbuf_scale_simple ()</h3>
125
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_scale_simple (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
249
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_scale_simple (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
126
250
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
127
251
  <em class="parameter"><code><span class="type">int</span> dest_height</code></em>,
128
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);</pre>
252
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);</pre>
129
253
  <p>
130
- Create a new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> containing a copy of <em class="parameter"><code>src</code></em> scaled to
254
+ Create a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> containing a copy of <em class="parameter"><code>src</code></em> scaled to
131
255
  <em class="parameter"><code>dest_width</code></em> x <em class="parameter"><code>dest_height</code></em>. Leaves <em class="parameter"><code>src</code></em> unaffected. <em class="parameter"><code>interp_type</code></em>
132
- should be <span class="type">GDK_INTERP_NEAREST</span> if you want maximum speed (but when
133
- scaling down <span class="type">GDK_INTERP_NEAREST</span> is usually unusably ugly). The
134
- default <em class="parameter"><code>interp_type</code></em> should be <span class="type">GDK_INTERP_BILINEAR</span> which offers
256
+ should be <a class="link" href="gdk-pixbuf-Scaling.html#GDK-INTERP-NEAREST:CAPS"><span class="type">GDK_INTERP_NEAREST</span></a> if you want maximum speed (but when
257
+ scaling down <a class="link" href="gdk-pixbuf-Scaling.html#GDK-INTERP-NEAREST:CAPS"><span class="type">GDK_INTERP_NEAREST</span></a> is usually unusably ugly). The
258
+ default <em class="parameter"><code>interp_type</code></em> should be <a class="link" href="gdk-pixbuf-Scaling.html#GDK-INTERP-BILINEAR:CAPS"><span class="type">GDK_INTERP_BILINEAR</span></a> which offers
135
259
  reasonable quality and speed.
136
260
  </p>
137
261
  <p>
138
262
  You can scale a sub-portion of <em class="parameter"><code>src</code></em> by creating a sub-pixbuf
139
- pointing into <em class="parameter"><code>src</code></em>; see <a class="link" href="gdk-pixbuf-creating.html#gdk-pixbuf-new-subpixbuf" title="gdk_pixbuf_new_subpixbuf ()"><code class="function">gdk_pixbuf_new_subpixbuf()</code></a>.
263
+ pointing into <em class="parameter"><code>src</code></em>; 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>.
140
264
  </p>
141
265
  <p>
142
- 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>
143
- and <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()"><code class="function">gdk_pixbuf_composite()</code></a>.
266
+ 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>
267
+ and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()"><code class="function">gdk_pixbuf_composite()</code></a>.
144
268
  </p>
145
269
  <div class="variablelist"><table border="0">
146
270
  <col align="left" valign="top">
147
271
  <tbody>
148
272
  <tr>
149
273
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
150
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
274
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
151
275
  </td>
152
276
  </tr>
153
277
  <tr>
154
278
  <td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
155
- <td>the width of destination image
156
- </td>
279
+ <td>the width of destination image</td>
157
280
  </tr>
158
281
  <tr>
159
282
  <td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
160
- <td>the height of destination image
161
- </td>
283
+ <td>the height of destination image</td>
162
284
  </tr>
163
285
  <tr>
164
286
  <td><p><span class="term"><em class="parameter"><code>interp_type</code></em> :</span></p></td>
165
- <td>the interpolation type for the transformation.
166
- </td>
287
+ <td>the interpolation type for the transformation.</td>
167
288
  </tr>
168
289
  <tr>
169
290
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
170
- <td> the new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
291
+ <td>the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not enough memory could be
171
292
  allocated for it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
172
293
  </td>
173
294
  </tr>
@@ -175,10 +296,10 @@ allocated for it. <span class="annotation">[<acronym title="Free data after the
175
296
  </table></div>
176
297
  </div>
177
298
  <hr>
178
- <div class="refsect2" title="gdk_pixbuf_scale ()">
299
+ <div class="refsect2">
179
300
  <a name="gdk-pixbuf-scale"></a><h3>gdk_pixbuf_scale ()</h3>
180
- <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_scale (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
181
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
301
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_scale (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
302
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
182
303
  <em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
183
304
  <em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
184
305
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
@@ -187,7 +308,7 @@ allocated for it. <span class="annotation">[<acronym title="Free data after the
187
308
  <em class="parameter"><code><span class="type">double</span> offset_y</code></em>,
188
309
  <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
189
310
  <em class="parameter"><code><span class="type">double</span> scale_y</code></em>,
190
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);</pre>
311
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>);</pre>
191
312
  <p>
192
313
  Creates a transformation of the source image <em class="parameter"><code>src</code></em> by scaling by
193
314
  <em class="parameter"><code>scale_x</code></em> and <em class="parameter"><code>scale_y</code></em> then translating by <em class="parameter"><code>offset_x</code></em> and <em class="parameter"><code>offset_y</code></em>,
@@ -196,9 +317,9 @@ then renders the rectangle (<em class="parameter"><code>dest_x</code></em>, <em
196
317
  replacing the previous contents.
197
318
  </p>
198
319
  <p>
199
- Try to use <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()"><code class="function">gdk_pixbuf_scale_simple()</code></a> first, this function is
320
+ Try to use <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()"><code class="function">gdk_pixbuf_scale_simple()</code></a> first, this function is
200
321
  the industrial-strength power tool you can fall back to if
201
- <a class="link" href="gdk-pixbuf-scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()"><code class="function">gdk_pixbuf_scale_simple()</code></a> isn't powerful enough.
322
+ <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale-simple" title="gdk_pixbuf_scale_simple ()"><code class="function">gdk_pixbuf_scale_simple()</code></a> isn't powerful enough.
202
323
  </p>
203
324
  <p>
204
325
  If the source rectangle overlaps the destination rectangle on the
@@ -210,75 +331,65 @@ results in rendering artifacts.
210
331
  <tbody>
211
332
  <tr>
212
333
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
213
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
334
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
214
335
  </td>
215
336
  </tr>
216
337
  <tr>
217
338
  <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
218
- <td>the <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> into which to render the results
219
- </td>
339
+ <td>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> into which to render the results</td>
220
340
  </tr>
221
341
  <tr>
222
342
  <td><p><span class="term"><em class="parameter"><code>dest_x</code></em> :</span></p></td>
223
- <td>the left coordinate for region to render
224
- </td>
343
+ <td>the left coordinate for region to render</td>
225
344
  </tr>
226
345
  <tr>
227
346
  <td><p><span class="term"><em class="parameter"><code>dest_y</code></em> :</span></p></td>
228
- <td>the top coordinate for region to render
229
- </td>
347
+ <td>the top coordinate for region to render</td>
230
348
  </tr>
231
349
  <tr>
232
350
  <td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
233
- <td>the width of the region to render
234
- </td>
351
+ <td>the width of the region to render</td>
235
352
  </tr>
236
353
  <tr>
237
354
  <td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
238
- <td>the height of the region to render
239
- </td>
355
+ <td>the height of the region to render</td>
240
356
  </tr>
241
357
  <tr>
242
358
  <td><p><span class="term"><em class="parameter"><code>offset_x</code></em> :</span></p></td>
243
- <td>the offset in the X direction (currently rounded to an integer)
244
- </td>
359
+ <td>the offset in the X direction (currently rounded to an integer)</td>
245
360
  </tr>
246
361
  <tr>
247
362
  <td><p><span class="term"><em class="parameter"><code>offset_y</code></em> :</span></p></td>
248
- <td>the offset in the Y direction (currently rounded to an integer)
249
- </td>
363
+ <td>the offset in the Y direction (currently rounded to an integer)</td>
250
364
  </tr>
251
365
  <tr>
252
366
  <td><p><span class="term"><em class="parameter"><code>scale_x</code></em> :</span></p></td>
253
- <td>the scale factor in the X direction
254
- </td>
367
+ <td>the scale factor in the X direction</td>
255
368
  </tr>
256
369
  <tr>
257
370
  <td><p><span class="term"><em class="parameter"><code>scale_y</code></em> :</span></p></td>
258
- <td>the scale factor in the Y direction
259
- </td>
371
+ <td>the scale factor in the Y direction</td>
260
372
  </tr>
261
373
  <tr>
262
374
  <td><p><span class="term"><em class="parameter"><code>interp_type</code></em> :</span></p></td>
263
- <td>the interpolation type for the transformation.
264
- </td>
375
+ <td>the interpolation type for the transformation.</td>
265
376
  </tr>
266
377
  </tbody>
267
378
  </table></div>
268
379
  </div>
269
380
  <hr>
270
- <div class="refsect2" title="gdk_pixbuf_composite_color_simple ()">
381
+ <div class="refsect2">
271
382
  <a name="gdk-pixbuf-composite-color-simple"></a><h3>gdk_pixbuf_composite_color_simple ()</h3>
272
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
383
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
273
384
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
274
385
  <em class="parameter"><code><span class="type">int</span> dest_height</code></em>,
275
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
386
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
276
387
  <em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
277
388
  <em class="parameter"><code><span class="type">int</span> check_size</code></em>,
278
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
279
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
389
+ <em class="parameter"><code><span class="type">guint32</span> color1</code></em>,
390
+ <em class="parameter"><code><span class="type">guint32</span> color2</code></em>);</pre>
280
391
  <p>
281
- Creates a new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by scaling <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest_width</code></em> x
392
+ Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by scaling <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest_width</code></em> x
282
393
  <em class="parameter"><code>dest_height</code></em> and compositing the result with a checkboard of colors
283
394
  <em class="parameter"><code>color1</code></em> and <em class="parameter"><code>color2</code></em>.
284
395
  </p>
@@ -287,47 +398,40 @@ Creates a new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span
287
398
  <tbody>
288
399
  <tr>
289
400
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
290
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
401
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
291
402
  </td>
292
403
  </tr>
293
404
  <tr>
294
405
  <td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
295
- <td>the width of destination image
296
- </td>
406
+ <td>the width of destination image</td>
297
407
  </tr>
298
408
  <tr>
299
409
  <td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
300
- <td>the height of destination image
301
- </td>
410
+ <td>the height of destination image</td>
302
411
  </tr>
303
412
  <tr>
304
413
  <td><p><span class="term"><em class="parameter"><code>interp_type</code></em> :</span></p></td>
305
- <td>the interpolation type for the transformation.
306
- </td>
414
+ <td>the interpolation type for the transformation.</td>
307
415
  </tr>
308
416
  <tr>
309
417
  <td><p><span class="term"><em class="parameter"><code>overall_alpha</code></em> :</span></p></td>
310
- <td>overall alpha for source image (0..255)
311
- </td>
418
+ <td>overall alpha for source image (0..255)</td>
312
419
  </tr>
313
420
  <tr>
314
421
  <td><p><span class="term"><em class="parameter"><code>check_size</code></em> :</span></p></td>
315
- <td>the size of checks in the checkboard (must be a power of two)
316
- </td>
422
+ <td>the size of checks in the checkboard (must be a power of two)</td>
317
423
  </tr>
318
424
  <tr>
319
425
  <td><p><span class="term"><em class="parameter"><code>color1</code></em> :</span></p></td>
320
- <td>the color of check at upper left
321
- </td>
426
+ <td>the color of check at upper left</td>
322
427
  </tr>
323
428
  <tr>
324
429
  <td><p><span class="term"><em class="parameter"><code>color2</code></em> :</span></p></td>
325
- <td>the color of the other check
326
- </td>
430
+ <td>the color of the other check</td>
327
431
  </tr>
328
432
  <tr>
329
433
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
330
- <td> the new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
434
+ <td>the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not enough memory could be
331
435
  allocated for it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
332
436
  </td>
333
437
  </tr>
@@ -335,10 +439,10 @@ allocated for it. <span class="annotation">[<acronym title="Free data after the
335
439
  </table></div>
336
440
  </div>
337
441
  <hr>
338
- <div class="refsect2" title="gdk_pixbuf_composite ()">
442
+ <div class="refsect2">
339
443
  <a name="gdk-pixbuf-composite"></a><h3>gdk_pixbuf_composite ()</h3>
340
- <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_composite (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
341
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
444
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_composite (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
445
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
342
446
  <em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
343
447
  <em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
344
448
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
@@ -347,7 +451,7 @@ allocated for it. <span class="annotation">[<acronym title="Free data after the
347
451
  <em class="parameter"><code><span class="type">double</span> offset_y</code></em>,
348
452
  <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
349
453
  <em class="parameter"><code><span class="type">double</span> scale_y</code></em>,
350
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
454
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
351
455
  <em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>);</pre>
352
456
  <p>
353
457
  Creates a transformation of the source image <em class="parameter"><code>src</code></em> by scaling by
@@ -375,72 +479,61 @@ to infinity.
375
479
  <tbody>
376
480
  <tr>
377
481
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
378
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
482
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
379
483
  </td>
380
484
  </tr>
381
485
  <tr>
382
486
  <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
383
- <td>the <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> into which to render the results
384
- </td>
487
+ <td>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> into which to render the results</td>
385
488
  </tr>
386
489
  <tr>
387
490
  <td><p><span class="term"><em class="parameter"><code>dest_x</code></em> :</span></p></td>
388
- <td>the left coordinate for region to render
389
- </td>
491
+ <td>the left coordinate for region to render</td>
390
492
  </tr>
391
493
  <tr>
392
494
  <td><p><span class="term"><em class="parameter"><code>dest_y</code></em> :</span></p></td>
393
- <td>the top coordinate for region to render
394
- </td>
495
+ <td>the top coordinate for region to render</td>
395
496
  </tr>
396
497
  <tr>
397
498
  <td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
398
- <td>the width of the region to render
399
- </td>
499
+ <td>the width of the region to render</td>
400
500
  </tr>
401
501
  <tr>
402
502
  <td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
403
- <td>the height of the region to render
404
- </td>
503
+ <td>the height of the region to render</td>
405
504
  </tr>
406
505
  <tr>
407
506
  <td><p><span class="term"><em class="parameter"><code>offset_x</code></em> :</span></p></td>
408
- <td>the offset in the X direction (currently rounded to an integer)
409
- </td>
507
+ <td>the offset in the X direction (currently rounded to an integer)</td>
410
508
  </tr>
411
509
  <tr>
412
510
  <td><p><span class="term"><em class="parameter"><code>offset_y</code></em> :</span></p></td>
413
- <td>the offset in the Y direction (currently rounded to an integer)
414
- </td>
511
+ <td>the offset in the Y direction (currently rounded to an integer)</td>
415
512
  </tr>
416
513
  <tr>
417
514
  <td><p><span class="term"><em class="parameter"><code>scale_x</code></em> :</span></p></td>
418
- <td>the scale factor in the X direction
419
- </td>
515
+ <td>the scale factor in the X direction</td>
420
516
  </tr>
421
517
  <tr>
422
518
  <td><p><span class="term"><em class="parameter"><code>scale_y</code></em> :</span></p></td>
423
- <td>the scale factor in the Y direction
424
- </td>
519
+ <td>the scale factor in the Y direction</td>
425
520
  </tr>
426
521
  <tr>
427
522
  <td><p><span class="term"><em class="parameter"><code>interp_type</code></em> :</span></p></td>
428
- <td>the interpolation type for the transformation.
429
- </td>
523
+ <td>the interpolation type for the transformation.</td>
430
524
  </tr>
431
525
  <tr>
432
526
  <td><p><span class="term"><em class="parameter"><code>overall_alpha</code></em> :</span></p></td>
433
- <td>overall alpha for source image (0..255)
434
- </td>
527
+ <td>overall alpha for source image (0..255)</td>
435
528
  </tr>
436
529
  </tbody>
437
530
  </table></div>
438
531
  </div>
439
532
  <hr>
440
- <div class="refsect2" title="gdk_pixbuf_composite_color ()">
533
+ <div class="refsect2">
441
534
  <a name="gdk-pixbuf-composite-color"></a><h3>gdk_pixbuf_composite_color ()</h3>
442
- <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_composite_color (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
443
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
535
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_composite_color (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
536
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
444
537
  <em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
445
538
  <em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
446
539
  <em class="parameter"><code><span class="type">int</span> dest_width</code></em>,
@@ -449,13 +542,13 @@ to infinity.
449
542
  <em class="parameter"><code><span class="type">double</span> offset_y</code></em>,
450
543
  <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
451
544
  <em class="parameter"><code><span class="type">double</span> scale_y</code></em>,
452
- <em class="parameter"><code><a class="link" href="gdk-pixbuf-scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
545
+ <em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
453
546
  <em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
454
547
  <em class="parameter"><code><span class="type">int</span> check_x</code></em>,
455
548
  <em class="parameter"><code><span class="type">int</span> check_y</code></em>,
456
549
  <em class="parameter"><code><span class="type">int</span> check_size</code></em>,
457
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
458
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
550
+ <em class="parameter"><code><span class="type">guint32</span> color1</code></em>,
551
+ <em class="parameter"><code><span class="type">guint32</span> color2</code></em>);</pre>
459
552
  <p>
460
553
  Creates a transformation of the source image <em class="parameter"><code>src</code></em> by scaling by
461
554
  <em class="parameter"><code>scale_x</code></em> and <em class="parameter"><code>scale_y</code></em> then translating by <em class="parameter"><code>offset_x</code></em> and <em class="parameter"><code>offset_y</code></em>,
@@ -465,7 +558,7 @@ colors <em class="parameter"><code>color1</code></em> and <em class="parameter">
465
558
  image.
466
559
  </p>
467
560
  <p>
468
- 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
561
+ 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
469
562
  function suitable for many tasks.
470
563
  </p>
471
564
  <div class="variablelist"><table border="0">
@@ -473,94 +566,78 @@ function suitable for many tasks.
473
566
  <tbody>
474
567
  <tr>
475
568
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
476
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
569
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
477
570
  </td>
478
571
  </tr>
479
572
  <tr>
480
573
  <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
481
- <td>the <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> into which to render the results
482
- </td>
574
+ <td>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> into which to render the results</td>
483
575
  </tr>
484
576
  <tr>
485
577
  <td><p><span class="term"><em class="parameter"><code>dest_x</code></em> :</span></p></td>
486
- <td>the left coordinate for region to render
487
- </td>
578
+ <td>the left coordinate for region to render</td>
488
579
  </tr>
489
580
  <tr>
490
581
  <td><p><span class="term"><em class="parameter"><code>dest_y</code></em> :</span></p></td>
491
- <td>the top coordinate for region to render
492
- </td>
582
+ <td>the top coordinate for region to render</td>
493
583
  </tr>
494
584
  <tr>
495
585
  <td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
496
- <td>the width of the region to render
497
- </td>
586
+ <td>the width of the region to render</td>
498
587
  </tr>
499
588
  <tr>
500
589
  <td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
501
- <td>the height of the region to render
502
- </td>
590
+ <td>the height of the region to render</td>
503
591
  </tr>
504
592
  <tr>
505
593
  <td><p><span class="term"><em class="parameter"><code>offset_x</code></em> :</span></p></td>
506
- <td>the offset in the X direction (currently rounded to an integer)
507
- </td>
594
+ <td>the offset in the X direction (currently rounded to an integer)</td>
508
595
  </tr>
509
596
  <tr>
510
597
  <td><p><span class="term"><em class="parameter"><code>offset_y</code></em> :</span></p></td>
511
- <td>the offset in the Y direction (currently rounded to an integer)
512
- </td>
598
+ <td>the offset in the Y direction (currently rounded to an integer)</td>
513
599
  </tr>
514
600
  <tr>
515
601
  <td><p><span class="term"><em class="parameter"><code>scale_x</code></em> :</span></p></td>
516
- <td>the scale factor in the X direction
517
- </td>
602
+ <td>the scale factor in the X direction</td>
518
603
  </tr>
519
604
  <tr>
520
605
  <td><p><span class="term"><em class="parameter"><code>scale_y</code></em> :</span></p></td>
521
- <td>the scale factor in the Y direction
522
- </td>
606
+ <td>the scale factor in the Y direction</td>
523
607
  </tr>
524
608
  <tr>
525
609
  <td><p><span class="term"><em class="parameter"><code>interp_type</code></em> :</span></p></td>
526
- <td>the interpolation type for the transformation.
527
- </td>
610
+ <td>the interpolation type for the transformation.</td>
528
611
  </tr>
529
612
  <tr>
530
613
  <td><p><span class="term"><em class="parameter"><code>overall_alpha</code></em> :</span></p></td>
531
- <td>overall alpha for source image (0..255)
532
- </td>
614
+ <td>overall alpha for source image (0..255)</td>
533
615
  </tr>
534
616
  <tr>
535
617
  <td><p><span class="term"><em class="parameter"><code>check_x</code></em> :</span></p></td>
536
- <td>the X offset for the checkboard (origin of checkboard is at -<em class="parameter"><code>check_x</code></em>, -<em class="parameter"><code>check_y</code></em>)
537
- </td>
618
+ <td>the X offset for the checkboard (origin of checkboard is at -<em class="parameter"><code>check_x</code></em>, -<em class="parameter"><code>check_y</code></em>)</td>
538
619
  </tr>
539
620
  <tr>
540
621
  <td><p><span class="term"><em class="parameter"><code>check_y</code></em> :</span></p></td>
541
- <td>the Y offset for the checkboard
542
- </td>
622
+ <td>the Y offset for the checkboard</td>
543
623
  </tr>
544
624
  <tr>
545
625
  <td><p><span class="term"><em class="parameter"><code>check_size</code></em> :</span></p></td>
546
- <td>the size of checks in the checkboard (must be a power of two)
547
- </td>
626
+ <td>the size of checks in the checkboard (must be a power of two)</td>
548
627
  </tr>
549
628
  <tr>
550
629
  <td><p><span class="term"><em class="parameter"><code>color1</code></em> :</span></p></td>
551
- <td>the color of check at upper left
552
- </td>
630
+ <td>the color of check at upper left</td>
553
631
  </tr>
554
632
  <tr>
555
633
  <td><p><span class="term"><em class="parameter"><code>color2</code></em> :</span></p></td>
556
- <td>the color of the other check
557
- </td>
634
+ <td>the color of the other check</td>
558
635
  </tr>
559
636
  </tbody>
560
637
  </table></div>
561
638
  </div>
562
639
  <hr>
563
- <div class="refsect2" title="enum GdkPixbufRotation">
640
+ <div class="refsect2">
564
641
  <a name="GdkPixbufRotation"></a><h3>enum GdkPixbufRotation</h3>
565
642
  <pre class="programlisting">typedef enum {
566
643
  GDK_PIXBUF_ROTATE_NONE = 0,
@@ -570,13 +647,40 @@ function suitable for many tasks.
570
647
  } GdkPixbufRotation;
571
648
  </pre>
572
649
  <p>
650
+ The possible rotations which can be passed to <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-rotate-simple" title="gdk_pixbuf_rotate_simple ()"><code class="function">gdk_pixbuf_rotate_simple()</code></a>.
651
+ To make them easier to use, their numerical values are the actual degrees.
573
652
  </p>
653
+ <div class="variablelist"><table border="0">
654
+ <col align="left" valign="top">
655
+ <tbody>
656
+ <tr>
657
+ <td><p><a name="GDK-PIXBUF-ROTATE-NONE:CAPS"></a><span class="term"><code class="literal">GDK_PIXBUF_ROTATE_NONE</code></span></p></td>
658
+ <td>No rotation.
659
+ </td>
660
+ </tr>
661
+ <tr>
662
+ <td><p><a name="GDK-PIXBUF-ROTATE-COUNTERCLOCKWISE:CAPS"></a><span class="term"><code class="literal">GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE</code></span></p></td>
663
+ <td>Rotate by 90 degrees.
664
+ </td>
665
+ </tr>
666
+ <tr>
667
+ <td><p><a name="GDK-PIXBUF-ROTATE-UPSIDEDOWN:CAPS"></a><span class="term"><code class="literal">GDK_PIXBUF_ROTATE_UPSIDEDOWN</code></span></p></td>
668
+ <td>Rotate by 180 degrees.
669
+ </td>
670
+ </tr>
671
+ <tr>
672
+ <td><p><a name="GDK-PIXBUF-ROTATE-CLOCKWISE:CAPS"></a><span class="term"><code class="literal">GDK_PIXBUF_ROTATE_CLOCKWISE</code></span></p></td>
673
+ <td>Rotate by 270 degrees.
674
+ </td>
675
+ </tr>
676
+ </tbody>
677
+ </table></div>
574
678
  </div>
575
679
  <hr>
576
- <div class="refsect2" title="gdk_pixbuf_rotate_simple ()">
680
+ <div class="refsect2">
577
681
  <a name="gdk-pixbuf-rotate-simple"></a><h3>gdk_pixbuf_rotate_simple ()</h3>
578
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_rotate_simple (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
579
- <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>
682
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_rotate_simple (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
683
+ <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>
580
684
  <p>
581
685
  Rotates a pixbuf by a multiple of 90 degrees, and returns the
582
686
  result in a new pixbuf.
@@ -586,17 +690,16 @@ result in a new pixbuf.
586
690
  <tbody>
587
691
  <tr>
588
692
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
589
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
693
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
590
694
  </td>
591
695
  </tr>
592
696
  <tr>
593
697
  <td><p><span class="term"><em class="parameter"><code>angle</code></em> :</span></p></td>
594
- <td>the angle to rotate by
595
- </td>
698
+ <td>the angle to rotate by</td>
596
699
  </tr>
597
700
  <tr>
598
701
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
599
- <td> the new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
702
+ <td>the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not enough memory could be
600
703
  allocated for it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
601
704
  </td>
602
705
  </tr>
@@ -605,10 +708,10 @@ allocated for it. <span class="annotation">[<acronym title="Free data after the
605
708
  <p class="since">Since 2.6</p>
606
709
  </div>
607
710
  <hr>
608
- <div class="refsect2" title="gdk_pixbuf_flip ()">
711
+ <div class="refsect2">
609
712
  <a name="gdk-pixbuf-flip"></a><h3>gdk_pixbuf_flip ()</h3>
610
- <pre class="programlisting"><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_flip (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
611
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horizontal</code></em>);</pre>
713
+ <pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_flip (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
714
+ <em class="parameter"><code><span class="type">gboolean</span> horizontal</code></em>);</pre>
612
715
  <p>
613
716
  Flips a pixbuf horizontally or vertically and returns the
614
717
  result in a new pixbuf.
@@ -618,18 +721,17 @@ result in a new pixbuf.
618
721
  <tbody>
619
722
  <tr>
620
723
  <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
621
- <td>a <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
724
+ <td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
622
725
  </td>
623
726
  </tr>
624
727
  <tr>
625
728
  <td><p><span class="term"><em class="parameter"><code>horizontal</code></em> :</span></p></td>
626
729
  <td>
627
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to flip horizontally, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to flip vertically
628
- </td>
730
+ <code class="literal">TRUE</code> to flip horizontally, <code class="literal">FALSE</code> to flip vertically</td>
629
731
  </tr>
630
732
  <tr>
631
733
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
632
- <td> the new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
734
+ <td>the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not enough memory could be
633
735
  allocated for it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
634
736
  </td>
635
737
  </tr>
@@ -638,9 +740,13 @@ allocated for it. <span class="annotation">[<acronym title="Free data after the
638
740
  <p class="since">Since 2.6</p>
639
741
  </div>
640
742
  </div>
743
+ <div class="refsect1">
744
+ <a name="gdk-pixbuf-Scaling.see-also"></a><h2>See Also</h2>
745
+ GdkRGB.
746
+ </div>
641
747
  </div>
642
748
  <div class="footer">
643
749
  <hr>
644
- Generated by GTK-Doc V1.15</div>
750
+ Generated by GTK-Doc V1.17.1</div>
645
751
  </body>
646
752
  </html>