rsvg2 3.0.7-x86-mingw32 → 3.0.8-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 (93) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/rsvg2/extconf.rb +1 -0
  4. data/lib/2.2/rsvg2.so +0 -0
  5. data/lib/2.3/rsvg2.so +0 -0
  6. data/vendor/local/bin/croco-0.6-config +2 -2
  7. data/vendor/local/bin/csslint-0.6.exe +0 -0
  8. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  9. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  10. data/vendor/local/bin/rsvg-convert.exe +0 -0
  11. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
  12. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
  13. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  14. data/vendor/local/lib/libcroco-0.6.a +0 -0
  15. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  16. data/vendor/local/lib/libcroco-0.6.la +3 -3
  17. data/vendor/local/lib/librsvg-2.a +0 -0
  18. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  19. data/vendor/local/lib/librsvg-2.la +2 -2
  20. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
  21. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
  22. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
  23. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
  24. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  25. data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
  26. data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
  27. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  28. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
  29. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
  30. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
  31. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
  32. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
  33. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
  34. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
  35. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
  36. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
  37. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
  38. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
  39. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
  40. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
  41. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
  42. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
  43. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
  44. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
  45. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
  46. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
  47. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
  48. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
  49. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
  50. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
  51. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
  52. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
  53. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
  54. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
  55. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
  56. data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
  57. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  58. data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
  59. data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
  60. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  61. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
  62. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
  63. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
  64. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
  65. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
  66. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
  67. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
  68. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
  69. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
  70. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
  71. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
  72. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
  74. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
  75. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  76. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  77. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
  78. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
  79. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  80. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  81. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
  82. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
  83. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
  84. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
  85. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
  86. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
  87. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
  88. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  89. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  90. metadata +14 -10
  91. data/lib/2.0/rsvg2.so +0 -0
  92. data/lib/2.1/rsvg2.so +0 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
@@ -2,30 +2,26 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>Using RSVG with GdkPixbuf</title>
5
+ <title>RSVG Libary Reference Manual: Using RSVG with GdkPixbuf</title>
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="RSVG Libary Reference Manual">
8
8
  <link rel="up" href="rsvg.html" title="Part I. API Reference">
9
9
  <link rel="prev" href="rsvg-Using-RSVG-with-cairo.html" title="Using RSVG with cairo">
10
10
  <link rel="next" href="rsvg-Version-check-and-feature-tests.html" title="Version check and feature tests">
11
- <meta name="generator" content="GTK-Doc V1.19 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.21 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="rsvg-Using-RSVG-with-cairo.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="rsvg.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">RSVG Libary Reference Manual</th>
21
- <td><a accesskey="n" href="rsvg-Version-check-and-feature-tests.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="#rsvg-Using-RSVG-with-GdkPixbuf.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#rsvg-Using-RSVG-with-GdkPixbuf.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#rsvg-Using-RSVG-with-GdkPixbuf.description" class="shortcut">Description</a></span>
19
+ </td>
20
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
+ <td><a accesskey="u" href="rsvg.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
+ <td><a accesskey="p" href="rsvg-Using-RSVG-with-cairo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="rsvg-Version-check-and-feature-tests.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
+ </tr></table>
29
25
  <div class="refentry">
30
26
  <a name="rsvg-Using-RSVG-with-GdkPixbuf"></a><div class="titlepage"></div>
31
27
  <div class="refnamediv"><table width="100%"><tr>
@@ -34,354 +30,455 @@
34
30
  <p>Using RSVG with GdkPixbuf — How to render SVGs into GdkPixbufs, for easy use in GTK+
35
31
  applications</p>
36
32
  </td>
37
- <td valign="top" align="right"></td>
33
+ <td class="gallery_image" valign="top" align="right"></td>
38
34
  </tr></table></div>
39
- <div class="refsynopsisdiv">
40
- <a name="rsvg-Using-RSVG-with-GdkPixbuf.synopsis"></a><h2>Synopsis</h2>
41
- <pre class="synopsis"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf" title="rsvg_handle_get_pixbuf ()">rsvg_handle_get_pixbuf</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);
42
- <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf-sub" title="rsvg_handle_get_pixbuf_sub ()">rsvg_handle_get_pixbuf_sub</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
43
- <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
44
- <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file" title="rsvg_pixbuf_from_file ()">rsvg_pixbuf_from_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
45
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
46
- <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom" title="rsvg_pixbuf_from_file_at_zoom ()">rsvg_pixbuf_from_file_at_zoom</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
47
- <em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
48
- <em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
49
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
50
- <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-size" title="rsvg_pixbuf_from_file_at_size ()">rsvg_pixbuf_from_file_at_size</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
51
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
52
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
53
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
54
- <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-max-size" title="rsvg_pixbuf_from_file_at_max_size ()">rsvg_pixbuf_from_file_at_max_size</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
55
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
56
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
57
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
58
- <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom-with-max" title="rsvg_pixbuf_from_file_at_zoom_with_max ()">rsvg_pixbuf_from_file_at_zoom_with_max</a>
59
- (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
60
- <em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
61
- <em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
62
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
63
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
64
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
65
- </pre>
66
- </div>
67
- <div class="refsect1">
68
- <a name="rsvg-Using-RSVG-with-GdkPixbuf.description"></a><h2>Description</h2>
69
- <p>
70
- GdkPixbuf is a library for image loading and manipulation. It is part of the
71
- cross-platform GTK+ widget toolkit.
72
- </p>
73
- </div>
74
35
  <div class="refsect1">
75
- <a name="rsvg-Using-RSVG-with-GdkPixbuf.details"></a><h2>Details</h2>
76
- <div class="refsect2">
77
- <a name="rsvg-handle-get-pixbuf"></a><h3>rsvg_handle_get_pixbuf ()</h3>
78
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_handle_get_pixbuf (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
79
- <p>
80
- Returns the pixbuf loaded by <em class="parameter"><code>handle</code></em>. The pixbuf returned will be reffed, so
81
- the caller of this function must assume that ref. If insufficient data has
82
- been read to create the pixbuf, or an error occurred in loading, then <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
83
- will be returned. Note that the pixbuf may not be complete until
84
- <em class="parameter"><code>rsvg_handle_close</code></em> has been called.
85
- </p>
86
- <div class="variablelist"><table border="0" class="variablelist">
36
+ <a name="rsvg-Using-RSVG-with-GdkPixbuf.functions"></a><h2>Functions</h2>
37
+ <div class="informaltable"><table width="100%" border="0">
87
38
  <colgroup>
88
- <col align="left" valign="top">
89
- <col>
39
+ <col width="150px" class="functions_return">
40
+ <col class="functions_name">
90
41
  </colgroup>
91
42
  <tbody>
92
43
  <tr>
93
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
94
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
44
+ <td class="function_type">
45
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf" title="rsvg_handle_get_pixbuf ()">rsvg_handle_get_pixbuf</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf-sub" title="rsvg_handle_get_pixbuf_sub ()">rsvg_handle_get_pixbuf_sub</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file" title="rsvg_pixbuf_from_file ()">rsvg_pixbuf_from_file</a> <span class="c_punctuation">()</span>
95
65
  </td>
96
66
  </tr>
97
67
  <tr>
98
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
99
- <td>the pixbuf loaded by <em class="parameter"><code>handle</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][nullable]</span>
68
+ <td class="function_type">
69
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom" title="rsvg_pixbuf_from_file_at_zoom ()">rsvg_pixbuf_from_file_at_zoom</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <td class="function_type">
77
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
78
+ </td>
79
+ <td class="function_name">
80
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-size" title="rsvg_pixbuf_from_file_at_size ()">rsvg_pixbuf_from_file_at_size</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">
85
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
86
+ </td>
87
+ <td class="function_name">
88
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-max-size" title="rsvg_pixbuf_from_file_at_max_size ()">rsvg_pixbuf_from_file_at_max_size</a> <span class="c_punctuation">()</span>
89
+ </td>
90
+ </tr>
91
+ <tr>
92
+ <td class="function_type">
93
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
94
+ </td>
95
+ <td class="function_name">
96
+ <a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom-with-max" title="rsvg_pixbuf_from_file_at_zoom_with_max ()">rsvg_pixbuf_from_file_at_zoom_with_max</a> <span class="c_punctuation">()</span>
100
97
  </td>
101
98
  </tr>
102
99
  </tbody>
103
100
  </table></div>
104
101
  </div>
102
+ <div class="refsect1">
103
+ <a name="rsvg-Using-RSVG-with-GdkPixbuf.description"></a><h2>Description</h2>
104
+ <p>GdkPixbuf is a library for image loading and manipulation. It is part of the
105
+ cross-platform GTK+ widget toolkit.</p>
106
+ </div>
107
+ <div class="refsect1">
108
+ <a name="rsvg-Using-RSVG-with-GdkPixbuf.functions_details"></a><h2>Functions</h2>
109
+ <div class="refsect2">
110
+ <a name="rsvg-handle-get-pixbuf"></a><h3>rsvg_handle_get_pixbuf ()</h3>
111
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
112
+ rsvg_handle_get_pixbuf (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
113
+ <p>Returns the pixbuf loaded by <em class="parameter"><code>handle</code></em>
114
+ . The pixbuf returned will be reffed, so
115
+ the caller of this function must assume that ref. If insufficient data has
116
+ been read to create the pixbuf, or an error occurred in loading, then <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
117
+ will be returned. Note that the pixbuf may not be complete until
118
+ <em class="parameter"><code>rsvg_handle_close</code></em>
119
+ has been called.</p>
120
+ <div class="refsect3">
121
+ <a name="id-1.2.6.5.2.5"></a><h4>Parameters</h4>
122
+ <div class="informaltable"><table width="100%" border="0">
123
+ <colgroup>
124
+ <col width="150px" class="parameters_name">
125
+ <col class="parameters_description">
126
+ <col width="200px" class="parameters_annotations">
127
+ </colgroup>
128
+ <tbody><tr>
129
+ <td class="parameter_name"><p>handle</p></td>
130
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
131
+ <td class="parameter_annotations"> </td>
132
+ </tr></tbody>
133
+ </table></div>
134
+ </div>
135
+ <div class="refsect3">
136
+ <a name="id-1.2.6.5.2.6"></a><h4>Returns</h4>
137
+ <p> the pixbuf loaded by <em class="parameter"><code>handle</code></em>
138
+ , or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
139
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
140
+ </div>
141
+ </div>
105
142
  <hr>
106
143
  <div class="refsect2">
107
- <a name="rsvg-handle-get-pixbuf-sub"></a><h3>rsvg_handle_get_pixbuf_sub ()</h3>
108
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_handle_get_pixbuf_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
109
- <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
110
- <p>
111
- Returns the pixbuf loaded by <em class="parameter"><code>handle</code></em>. The pixbuf returned will be reffed, so
144
+ <a name="rsvg-handle-get-pixbuf-sub"></a><h3>rsvg_handle_get_pixbuf_sub ()</h3>
145
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
146
+ rsvg_handle_get_pixbuf_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
147
+ <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
148
+ <p>Returns the pixbuf loaded by <em class="parameter"><code>handle</code></em>
149
+ . The pixbuf returned will be reffed, so
112
150
  the caller of this function must assume that ref. If insufficient data has
113
- been read to create the pixbuf, or an error occurred in loading, then <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
151
+ been read to create the pixbuf, or an error occurred in loading, then <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
114
152
  will be returned. Note that the pixbuf may not be complete until
115
- <em class="parameter"><code>rsvg_handle_close</code></em> has been called.
116
- </p>
117
- <div class="variablelist"><table border="0" class="variablelist">
153
+ <em class="parameter"><code>rsvg_handle_close</code></em>
154
+ has been called.</p>
155
+ <div class="refsect3">
156
+ <a name="id-1.2.6.5.3.5"></a><h4>Parameters</h4>
157
+ <div class="informaltable"><table width="100%" border="0">
118
158
  <colgroup>
119
- <col align="left" valign="top">
120
- <col>
159
+ <col width="150px" class="parameters_name">
160
+ <col class="parameters_description">
161
+ <col width="200px" class="parameters_annotations">
121
162
  </colgroup>
122
163
  <tbody>
123
164
  <tr>
124
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
125
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
126
- </td>
165
+ <td class="parameter_name"><p>handle</p></td>
166
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
167
+ <td class="parameter_annotations"> </td>
127
168
  </tr>
128
169
  <tr>
129
- <td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
130
- <td>The id of an element inside the SVG, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
170
+ <td class="parameter_name"><p>id</p></td>
171
+ <td class="parameter_description"><p> The id of an element inside the SVG, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
131
172
  render the whole SVG. For example, if you have a layer called
132
- "layer1" that you wish to render, pass "#<span class="type">layer1</span>" as the id. <span class="annotation">[nullable]</span>
133
- </td>
134
- </tr>
135
- <tr>
136
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
137
- <td>the pixbuf loaded by <em class="parameter"><code>handle</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][nullable]</span>
138
- </td>
173
+ "layer1" that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p></td>
174
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
139
175
  </tr>
140
176
  </tbody>
141
177
  </table></div>
178
+ </div>
179
+ <div class="refsect3">
180
+ <a name="id-1.2.6.5.3.6"></a><h4>Returns</h4>
181
+ <p> the pixbuf loaded by <em class="parameter"><code>handle</code></em>
182
+ , or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
183
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
184
+ </div>
142
185
  <p class="since">Since 2.14</p>
143
186
  </div>
144
187
  <hr>
145
188
  <div class="refsect2">
146
- <a name="rsvg-pixbuf-from-file"></a><h3>rsvg_pixbuf_from_file ()</h3>
147
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
148
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
149
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
150
- <h3 class="title">Warning</h3>
151
- <p><code class="literal">rsvg_pixbuf_from_file</code> is deprecated and should not be used in newly-written code. Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
189
+ <a name="rsvg-pixbuf-from-file"></a><h3>rsvg_pixbuf_from_file ()</h3>
190
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
191
+ rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
192
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
193
+ <div class="warning">
194
+ <p><code class="literal">rsvg_pixbuf_from_file</code> is deprecated and should not be used in newly-written code.</p>
195
+ <p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
152
196
  </div>
153
- <p>
154
- Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em> and returns it. The caller must
155
- assume the reference to the reurned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em> is
156
- set and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
157
- </p>
158
- <div class="variablelist"><table border="0" class="variablelist">
197
+ <p>Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
198
+ and returns it. The caller must
199
+ assume the reference to the reurned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em>
200
+ is
201
+ set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
202
+ <div class="refsect3">
203
+ <a name="id-1.2.6.5.4.6"></a><h4>Parameters</h4>
204
+ <div class="informaltable"><table width="100%" border="0">
159
205
  <colgroup>
160
- <col align="left" valign="top">
161
- <col>
206
+ <col width="150px" class="parameters_name">
207
+ <col class="parameters_description">
208
+ <col width="200px" class="parameters_annotations">
162
209
  </colgroup>
163
210
  <tbody>
164
211
  <tr>
165
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
166
- <td>A file name</td>
212
+ <td class="parameter_name"><p>file_name</p></td>
213
+ <td class="parameter_description"><p>A file name</p></td>
214
+ <td class="parameter_annotations"> </td>
167
215
  </tr>
168
216
  <tr>
169
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
170
- <td>return location for errors</td>
171
- </tr>
172
- <tr>
173
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
174
- <td>A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.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>
175
- </td>
217
+ <td class="parameter_name"><p>error</p></td>
218
+ <td class="parameter_description"><p>return location for errors</p></td>
219
+ <td class="parameter_annotations"> </td>
176
220
  </tr>
177
221
  </tbody>
178
222
  </table></div>
179
223
  </div>
224
+ <div class="refsect3">
225
+ <a name="id-1.2.6.5.4.7"></a><h4>Returns</h4>
226
+ <p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
227
+ <p></p>
228
+ </div>
229
+ </div>
180
230
  <hr>
181
231
  <div class="refsect2">
182
- <a name="rsvg-pixbuf-from-file-at-zoom"></a><h3>rsvg_pixbuf_from_file_at_zoom ()</h3>
183
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_pixbuf_from_file_at_zoom (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
184
- <em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
185
- <em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
186
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
187
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
188
- <h3 class="title">Warning</h3>
189
- <p><code class="literal">rsvg_pixbuf_from_file_at_zoom</code> is deprecated and should not be used in newly-written code. Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
232
+ <a name="rsvg-pixbuf-from-file-at-zoom"></a><h3>rsvg_pixbuf_from_file_at_zoom ()</h3>
233
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
234
+ rsvg_pixbuf_from_file_at_zoom (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
235
+ <em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
236
+ <em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
237
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
238
+ <div class="warning">
239
+ <p><code class="literal">rsvg_pixbuf_from_file_at_zoom</code> is deprecated and should not be used in newly-written code.</p>
240
+ <p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
190
241
  </div>
191
- <p>
192
- Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em> and returns it. This pixbuf is scaled
193
- from the size indicated by the file by a factor of <em class="parameter"><code>x_zoom</code></em> and <em class="parameter"><code>y_zoom</code></em>. The
242
+ <p>Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
243
+ and returns it. This pixbuf is scaled
244
+ from the size indicated by the file by a factor of <em class="parameter"><code>x_zoom</code></em>
245
+ and <em class="parameter"><code>y_zoom</code></em>
246
+ . The
194
247
  caller must assume the reference to the returned pixbuf. If an error
195
- occurred, <em class="parameter"><code>error</code></em> is set and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
196
- </p>
197
- <div class="variablelist"><table border="0" class="variablelist">
248
+ occurred, <em class="parameter"><code>error</code></em>
249
+ is set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
250
+ <div class="refsect3">
251
+ <a name="id-1.2.6.5.5.6"></a><h4>Parameters</h4>
252
+ <div class="informaltable"><table width="100%" border="0">
198
253
  <colgroup>
199
- <col align="left" valign="top">
200
- <col>
254
+ <col width="150px" class="parameters_name">
255
+ <col class="parameters_description">
256
+ <col width="200px" class="parameters_annotations">
201
257
  </colgroup>
202
258
  <tbody>
203
259
  <tr>
204
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
205
- <td>A file name</td>
260
+ <td class="parameter_name"><p>file_name</p></td>
261
+ <td class="parameter_description"><p>A file name</p></td>
262
+ <td class="parameter_annotations"> </td>
206
263
  </tr>
207
264
  <tr>
208
- <td><p><span class="term"><em class="parameter"><code>x_zoom</code></em> :</span></p></td>
209
- <td>The horizontal zoom factor</td>
265
+ <td class="parameter_name"><p>x_zoom</p></td>
266
+ <td class="parameter_description"><p>The horizontal zoom factor</p></td>
267
+ <td class="parameter_annotations"> </td>
210
268
  </tr>
211
269
  <tr>
212
- <td><p><span class="term"><em class="parameter"><code>y_zoom</code></em> :</span></p></td>
213
- <td>The vertical zoom factor</td>
270
+ <td class="parameter_name"><p>y_zoom</p></td>
271
+ <td class="parameter_description"><p>The vertical zoom factor</p></td>
272
+ <td class="parameter_annotations"> </td>
214
273
  </tr>
215
274
  <tr>
216
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
217
- <td>return location for errors</td>
218
- </tr>
219
- <tr>
220
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
221
- <td>A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.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>
222
- </td>
275
+ <td class="parameter_name"><p>error</p></td>
276
+ <td class="parameter_description"><p>return location for errors</p></td>
277
+ <td class="parameter_annotations"> </td>
223
278
  </tr>
224
279
  </tbody>
225
280
  </table></div>
226
281
  </div>
282
+ <div class="refsect3">
283
+ <a name="id-1.2.6.5.5.7"></a><h4>Returns</h4>
284
+ <p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
285
+ <p></p>
286
+ </div>
287
+ </div>
227
288
  <hr>
228
289
  <div class="refsect2">
229
- <a name="rsvg-pixbuf-from-file-at-size"></a><h3>rsvg_pixbuf_from_file_at_size ()</h3>
230
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_pixbuf_from_file_at_size (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
231
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
232
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
233
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
234
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
235
- <h3 class="title">Warning</h3>
236
- <p><code class="literal">rsvg_pixbuf_from_file_at_size</code> is deprecated and should not be used in newly-written code. Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
290
+ <a name="rsvg-pixbuf-from-file-at-size"></a><h3>rsvg_pixbuf_from_file_at_size ()</h3>
291
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
292
+ rsvg_pixbuf_from_file_at_size (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
293
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
294
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
295
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
296
+ <div class="warning">
297
+ <p><code class="literal">rsvg_pixbuf_from_file_at_size</code> is deprecated and should not be used in newly-written code.</p>
298
+ <p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
237
299
  </div>
238
- <p>
239
- Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em> and returns it. This pixbuf is scaled
240
- from the size indicated to the new size indicated by <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>. If
300
+ <p>Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
301
+ and returns it. This pixbuf is scaled
302
+ from the size indicated to the new size indicated by <em class="parameter"><code>width</code></em>
303
+ and <em class="parameter"><code>height</code></em>
304
+ . If
241
305
  either of these are -1, then the default size of the image being loaded is
242
306
  used. The caller must assume the reference to the returned pixbuf. If an
243
- error occurred, <em class="parameter"><code>error</code></em> is set and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
244
- </p>
245
- <div class="variablelist"><table border="0" class="variablelist">
307
+ error occurred, <em class="parameter"><code>error</code></em>
308
+ is set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
309
+ <div class="refsect3">
310
+ <a name="id-1.2.6.5.6.6"></a><h4>Parameters</h4>
311
+ <div class="informaltable"><table width="100%" border="0">
246
312
  <colgroup>
247
- <col align="left" valign="top">
248
- <col>
313
+ <col width="150px" class="parameters_name">
314
+ <col class="parameters_description">
315
+ <col width="200px" class="parameters_annotations">
249
316
  </colgroup>
250
317
  <tbody>
251
318
  <tr>
252
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
253
- <td>A file name</td>
319
+ <td class="parameter_name"><p>file_name</p></td>
320
+ <td class="parameter_description"><p>A file name</p></td>
321
+ <td class="parameter_annotations"> </td>
254
322
  </tr>
255
323
  <tr>
256
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
257
- <td>The new width, or -1</td>
324
+ <td class="parameter_name"><p>width</p></td>
325
+ <td class="parameter_description"><p>The new width, or -1</p></td>
326
+ <td class="parameter_annotations"> </td>
258
327
  </tr>
259
328
  <tr>
260
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
261
- <td>The new height, or -1</td>
329
+ <td class="parameter_name"><p>height</p></td>
330
+ <td class="parameter_description"><p>The new height, or -1</p></td>
331
+ <td class="parameter_annotations"> </td>
262
332
  </tr>
263
333
  <tr>
264
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
265
- <td>return location for errors</td>
266
- </tr>
267
- <tr>
268
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
269
- <td>A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.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>
270
- </td>
334
+ <td class="parameter_name"><p>error</p></td>
335
+ <td class="parameter_description"><p>return location for errors</p></td>
336
+ <td class="parameter_annotations"> </td>
271
337
  </tr>
272
338
  </tbody>
273
339
  </table></div>
274
340
  </div>
341
+ <div class="refsect3">
342
+ <a name="id-1.2.6.5.6.7"></a><h4>Returns</h4>
343
+ <p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
344
+ <p></p>
345
+ </div>
346
+ </div>
275
347
  <hr>
276
348
  <div class="refsect2">
277
- <a name="rsvg-pixbuf-from-file-at-max-size"></a><h3>rsvg_pixbuf_from_file_at_max_size ()</h3>
278
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_pixbuf_from_file_at_max_size (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
279
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
280
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
281
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
282
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
283
- <h3 class="title">Warning</h3>
284
- <p><code class="literal">rsvg_pixbuf_from_file_at_max_size</code> is deprecated and should not be used in newly-written code. Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
349
+ <a name="rsvg-pixbuf-from-file-at-max-size"></a><h3>rsvg_pixbuf_from_file_at_max_size ()</h3>
350
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
351
+ rsvg_pixbuf_from_file_at_max_size (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
352
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
353
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
354
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
355
+ <div class="warning">
356
+ <p><code class="literal">rsvg_pixbuf_from_file_at_max_size</code> is deprecated and should not be used in newly-written code.</p>
357
+ <p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
285
358
  </div>
286
- <p>
287
- Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em> and returns it. This pixbuf is uniformly
359
+ <p>Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
360
+ and returns it. This pixbuf is uniformly
288
361
  scaled so that the it fits into a rectangle of size max_width * max_height. The
289
362
  caller must assume the reference to the returned pixbuf. If an error occurred,
290
- <em class="parameter"><code>error</code></em> is set and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
291
- </p>
292
- <div class="variablelist"><table border="0" class="variablelist">
363
+ <em class="parameter"><code>error</code></em>
364
+ is set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
365
+ <div class="refsect3">
366
+ <a name="id-1.2.6.5.7.6"></a><h4>Parameters</h4>
367
+ <div class="informaltable"><table width="100%" border="0">
293
368
  <colgroup>
294
- <col align="left" valign="top">
295
- <col>
369
+ <col width="150px" class="parameters_name">
370
+ <col class="parameters_description">
371
+ <col width="200px" class="parameters_annotations">
296
372
  </colgroup>
297
373
  <tbody>
298
374
  <tr>
299
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
300
- <td>A file name</td>
375
+ <td class="parameter_name"><p>file_name</p></td>
376
+ <td class="parameter_description"><p>A file name</p></td>
377
+ <td class="parameter_annotations"> </td>
301
378
  </tr>
302
379
  <tr>
303
- <td><p><span class="term"><em class="parameter"><code>max_width</code></em> :</span></p></td>
304
- <td>The requested max width</td>
380
+ <td class="parameter_name"><p>max_width</p></td>
381
+ <td class="parameter_description"><p>The requested max width</p></td>
382
+ <td class="parameter_annotations"> </td>
305
383
  </tr>
306
384
  <tr>
307
- <td><p><span class="term"><em class="parameter"><code>max_height</code></em> :</span></p></td>
308
- <td>The requested max heigh</td>
385
+ <td class="parameter_name"><p>max_height</p></td>
386
+ <td class="parameter_description"><p>The requested max heigh</p></td>
387
+ <td class="parameter_annotations"> </td>
309
388
  </tr>
310
389
  <tr>
311
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
312
- <td>return location for errors</td>
313
- </tr>
314
- <tr>
315
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
316
- <td>A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.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>
317
- </td>
390
+ <td class="parameter_name"><p>error</p></td>
391
+ <td class="parameter_description"><p>return location for errors</p></td>
392
+ <td class="parameter_annotations"> </td>
318
393
  </tr>
319
394
  </tbody>
320
395
  </table></div>
321
396
  </div>
397
+ <div class="refsect3">
398
+ <a name="id-1.2.6.5.7.7"></a><h4>Returns</h4>
399
+ <p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
400
+ <p></p>
401
+ </div>
402
+ </div>
322
403
  <hr>
323
404
  <div class="refsect2">
324
- <a name="rsvg-pixbuf-from-file-at-zoom-with-max"></a><h3>rsvg_pixbuf_from_file_at_zoom_with_max ()</h3>
325
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * rsvg_pixbuf_from_file_at_zoom_with_max
326
- (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
327
- <em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
328
- <em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
329
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
330
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
331
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
332
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
333
- <h3 class="title">Warning</h3>
334
- <p><code class="literal">rsvg_pixbuf_from_file_at_zoom_with_max</code> is deprecated and should not be used in newly-written code. Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
405
+ <a name="rsvg-pixbuf-from-file-at-zoom-with-max"></a><h3>rsvg_pixbuf_from_file_at_zoom_with_max ()</h3>
406
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
407
+ rsvg_pixbuf_from_file_at_zoom_with_max
408
+ (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
409
+ <em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
410
+ <em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
411
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
412
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
413
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
414
+ <div class="warning">
415
+ <p><code class="literal">rsvg_pixbuf_from_file_at_zoom_with_max</code> is deprecated and should not be used in newly-written code.</p>
416
+ <p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
335
417
  </div>
336
- <p>
337
- Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em> and returns it. This pixbuf is scaled
338
- from the size indicated by the file by a factor of <em class="parameter"><code>x_zoom</code></em> and <em class="parameter"><code>y_zoom</code></em>. If the
418
+ <p>Loads a new <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
419
+ and returns it. This pixbuf is scaled
420
+ from the size indicated by the file by a factor of <em class="parameter"><code>x_zoom</code></em>
421
+ and <em class="parameter"><code>y_zoom</code></em>
422
+ . If the
339
423
  resulting pixbuf would be larger than max_width/max_heigh it is uniformly scaled
340
424
  down to fit in that rectangle. The caller must assume the reference to the
341
- returned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em> is set and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
342
- </p>
343
- <div class="variablelist"><table border="0" class="variablelist">
425
+ returned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em>
426
+ is set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
427
+ <div class="refsect3">
428
+ <a name="id-1.2.6.5.8.6"></a><h4>Parameters</h4>
429
+ <div class="informaltable"><table width="100%" border="0">
344
430
  <colgroup>
345
- <col align="left" valign="top">
346
- <col>
431
+ <col width="150px" class="parameters_name">
432
+ <col class="parameters_description">
433
+ <col width="200px" class="parameters_annotations">
347
434
  </colgroup>
348
435
  <tbody>
349
436
  <tr>
350
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
351
- <td>A file name</td>
437
+ <td class="parameter_name"><p>file_name</p></td>
438
+ <td class="parameter_description"><p>A file name</p></td>
439
+ <td class="parameter_annotations"> </td>
352
440
  </tr>
353
441
  <tr>
354
- <td><p><span class="term"><em class="parameter"><code>x_zoom</code></em> :</span></p></td>
355
- <td>The horizontal zoom factor</td>
442
+ <td class="parameter_name"><p>x_zoom</p></td>
443
+ <td class="parameter_description"><p>The horizontal zoom factor</p></td>
444
+ <td class="parameter_annotations"> </td>
356
445
  </tr>
357
446
  <tr>
358
- <td><p><span class="term"><em class="parameter"><code>y_zoom</code></em> :</span></p></td>
359
- <td>The vertical zoom factor</td>
447
+ <td class="parameter_name"><p>y_zoom</p></td>
448
+ <td class="parameter_description"><p>The vertical zoom factor</p></td>
449
+ <td class="parameter_annotations"> </td>
360
450
  </tr>
361
451
  <tr>
362
- <td><p><span class="term"><em class="parameter"><code>max_width</code></em> :</span></p></td>
363
- <td>The requested max width</td>
452
+ <td class="parameter_name"><p>max_width</p></td>
453
+ <td class="parameter_description"><p>The requested max width</p></td>
454
+ <td class="parameter_annotations"> </td>
364
455
  </tr>
365
456
  <tr>
366
- <td><p><span class="term"><em class="parameter"><code>max_height</code></em> :</span></p></td>
367
- <td>The requested max heigh</td>
457
+ <td class="parameter_name"><p>max_height</p></td>
458
+ <td class="parameter_description"><p>The requested max heigh</p></td>
459
+ <td class="parameter_annotations"> </td>
368
460
  </tr>
369
461
  <tr>
370
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
371
- <td>return location for errors</td>
372
- </tr>
373
- <tr>
374
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
375
- <td>A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.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>
376
- </td>
462
+ <td class="parameter_name"><p>error</p></td>
463
+ <td class="parameter_description"><p>return location for errors</p></td>
464
+ <td class="parameter_annotations"> </td>
377
465
  </tr>
378
466
  </tbody>
379
467
  </table></div>
380
468
  </div>
469
+ <div class="refsect3">
470
+ <a name="id-1.2.6.5.8.7"></a><h4>Returns</h4>
471
+ <p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
472
+ <p></p>
473
+ </div>
474
+ </div>
475
+ </div>
476
+ <div class="refsect1">
477
+ <a name="rsvg-Using-RSVG-with-GdkPixbuf.other_details"></a><h2>Types and Values</h2>
381
478
  </div>
382
479
  </div>
383
480
  <div class="footer">
384
481
  <hr>
385
- Generated by GTK-Doc V1.19</div>
482
+ Generated by GTK-Doc V1.21</div>
386
483
  </body>
387
484
  </html>