rsvg2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/README +35 -0
  3. data/Rakefile +69 -0
  4. data/ext/rsvg2/depend +6 -0
  5. data/ext/rsvg2/extconf.rb +89 -0
  6. data/ext/rsvg2/rbrsvg.c +206 -0
  7. data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
  8. data/ext/rsvg2/rbrsvghandle.c +496 -0
  9. data/ext/rsvg2/rsvg2.def +2 -0
  10. data/ext/rsvg2/rsvg2.h +70 -0
  11. data/extconf.rb +49 -0
  12. data/lib/2.0/rsvg2.so +0 -0
  13. data/lib/2.1/rsvg2.so +0 -0
  14. data/lib/2.2/rsvg2.so +0 -0
  15. data/lib/rsvg2.rb +33 -0
  16. data/sample/svg-viewer.rb +44 -0
  17. data/sample/svg2.rb +60 -0
  18. data/test/rsvg2-test-utils.rb +23 -0
  19. data/test/run-test.rb +49 -0
  20. data/test/test-handle.rb +91 -0
  21. data/vendor/local/bin/croco-0.6-config +87 -0
  22. data/vendor/local/bin/csslint-0.6.exe +0 -0
  23. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  24. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  25. data/vendor/local/bin/rsvg-convert.exe +0 -0
  26. data/vendor/local/include/libcroco-0.6/libcroco/cr-additional-sel.h +98 -0
  27. data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
  28. data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
  29. data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
  30. data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
  31. data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
  32. data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
  33. data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
  34. data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
  35. data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
  36. data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
  37. data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
  38. data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
  39. data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
  40. data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
  41. data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
  42. data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
  43. data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
  44. data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
  45. data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
  46. data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
  47. data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
  48. data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
  49. data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
  50. data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
  51. data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
  52. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
  53. data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
  54. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
  55. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
  56. data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
  57. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
  58. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  59. data/vendor/local/lib/libcroco-0.6.a +0 -0
  60. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  61. data/vendor/local/lib/libcroco-0.6.la +41 -0
  62. data/vendor/local/lib/librsvg-2.a +0 -0
  63. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  64. data/vendor/local/lib/librsvg-2.la +41 -0
  65. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
  66. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
  67. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
  68. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
  69. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  70. data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
  71. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
  72. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
  74. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
  75. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
  76. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
  77. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
  78. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
  79. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
  80. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
  81. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
  82. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
  83. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
  84. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
  85. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
  86. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
  87. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
  88. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
  89. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
  90. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
  91. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
  92. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
  94. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
  95. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
  96. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
  97. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
  98. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
  99. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
  100. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
  101. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
  103. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
  105. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
  106. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
  107. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
  108. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
  109. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
  110. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
  111. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
  112. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
  113. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
  114. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
  115. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  116. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
  117. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
  118. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  119. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  120. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
  121. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
  122. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  123. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  124. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
  125. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
  126. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
  127. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
  128. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
  129. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
  130. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
  131. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  132. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  133. data/vendor/local/share/license/libcroco/AUTHORS +13 -0
  134. data/vendor/local/share/license/libcroco/COPYING +481 -0
  135. data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
  136. data/vendor/local/share/license/librsvg/AUTHORS +1 -0
  137. data/vendor/local/share/license/librsvg/COPYING +340 -0
  138. data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
  139. data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
  140. metadata +209 -0
@@ -0,0 +1,266 @@
1
+ .synopsis, .classsynopsis
2
+ {
3
+ /* tango:aluminium 1/2 */
4
+ background: #eeeeec;
5
+ border: solid 1px #d3d7cf;
6
+ padding: 0.5em;
7
+ }
8
+ .programlisting
9
+ {
10
+ /* tango:sky blue 0/1 */
11
+ background: #e6f3ff;
12
+ border: solid 1px #729fcf;
13
+ padding: 0.5em;
14
+ }
15
+ .variablelist
16
+ {
17
+ padding: 4px;
18
+ margin-left: 3em;
19
+ }
20
+ .variablelist td:first-child
21
+ {
22
+ vertical-align: top;
23
+ }
24
+
25
+ @media screen {
26
+ sup a.footnote
27
+ {
28
+ position: relative;
29
+ top: 0em ! important;
30
+
31
+ }
32
+ /* this is needed so that the local anchors are displayed below the naviagtion */
33
+ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
34
+ {
35
+ display: inline-block;
36
+ position: relative;
37
+ top:-5em;
38
+ }
39
+ /* this seems to be a bug in the xsl style sheets when generating indexes */
40
+ div.index div.index
41
+ {
42
+ top: 0em;
43
+ }
44
+ /* make space for the fixed navigation bar and add space at the bottom so that
45
+ * link targets appear somewhat close to top
46
+ */
47
+ body
48
+ {
49
+ padding-top: 3.2em;
50
+ padding-bottom: 20em;
51
+ }
52
+ /* style and size the navigation bar */
53
+ table.navigation#top
54
+ {
55
+ position: fixed;
56
+ /* tango:scarlet red 0/1 */
57
+ background: #ffe6e6;
58
+ border: solid 1px #ef2929;
59
+ margin-top: 0;
60
+ margin-bottom: 0;
61
+ top: 0;
62
+ left: 0;
63
+ height: 3em;
64
+ z-index: 10;
65
+ }
66
+ .navigation a, .navigation a:visited
67
+ {
68
+ /* tango:scarlet red 3 */
69
+ color: #a40000;
70
+ }
71
+ .navigation a:hover
72
+ {
73
+ /* tango:scarlet red 1 */
74
+ color: #ef2929;
75
+ }
76
+ td.shortcuts
77
+ {
78
+ /* tango:scarlet red 1 */
79
+ color: #ef2929;
80
+ font-size: 80%;
81
+ white-space: nowrap;
82
+ }
83
+ }
84
+ @media print {
85
+ table.navigation {
86
+ visibility: collapse;
87
+ display: none;
88
+ }
89
+ div.titlepage table.navigation {
90
+ visibility: visible;
91
+ display: table;
92
+ /* tango:scarlet red 0/1 */
93
+ background: #ffe6e6;
94
+ border: solid 1px #ef2929;
95
+ margin-top: 0;
96
+ margin-bottom: 0;
97
+ top: 0;
98
+ left: 0;
99
+ height: 3em;
100
+ }
101
+ }
102
+
103
+ .navigation .title
104
+ {
105
+ font-size: 200%;
106
+ }
107
+
108
+ div.gallery-float
109
+ {
110
+ float: left;
111
+ padding: 10px;
112
+ }
113
+ div.gallery-float img
114
+ {
115
+ border-style: none;
116
+ }
117
+ div.gallery-spacer
118
+ {
119
+ clear: both;
120
+ }
121
+
122
+ a, a:visited
123
+ {
124
+ text-decoration: none;
125
+ /* tango:sky blue 2 */
126
+ color: #3465a4;
127
+ }
128
+ a:hover
129
+ {
130
+ text-decoration: underline;
131
+ /* tango:sky blue 1 */
132
+ color: #729fcf;
133
+ }
134
+
135
+ div.table table
136
+ {
137
+ border-collapse: collapse;
138
+ border-spacing: 0px;
139
+ /* tango:aluminium 3 */
140
+ border: solid 1px #babdb6;
141
+ }
142
+
143
+ div.table table td, div.table table th
144
+ {
145
+ /* tango:aluminium 3 */
146
+ border: solid 1px #babdb6;
147
+ padding: 3px;
148
+ vertical-align: top;
149
+ }
150
+
151
+ div.table table th
152
+ {
153
+ /* tango:aluminium 2 */
154
+ background-color: #d3d7cf;
155
+ }
156
+
157
+ hr
158
+ {
159
+ /* tango:aluminium 3 */
160
+ color: #babdb6;
161
+ background: #babdb6;
162
+ border: none 0px;
163
+ height: 1px;
164
+ clear: both;
165
+ }
166
+
167
+ .footer
168
+ {
169
+ padding-top: 3.5em;
170
+ /* tango:aluminium 3 */
171
+ color: #babdb6;
172
+ text-align: center;
173
+ font-size: 80%;
174
+ }
175
+
176
+ .warning
177
+ {
178
+ /* tango:orange 0/1 */
179
+ background: #ffeed9;
180
+ border-color: #ffb04f;
181
+ }
182
+ .note
183
+ {
184
+ /* tango:chameleon 0/0.5 */
185
+ background: #d8ffb2;
186
+ border-color: #abf562;
187
+ }
188
+ .note, .warning
189
+ {
190
+ padding: 0.5em;
191
+ border-width: 1px;
192
+ border-style: solid;
193
+ }
194
+ .note h3, .warning h3
195
+ {
196
+ margin-top: 0.0em
197
+ }
198
+ .note p, .warning p
199
+ {
200
+ margin-bottom: 0.0em
201
+ }
202
+
203
+ /* blob links */
204
+ h2 .extralinks, h3 .extralinks
205
+ {
206
+ float: right;
207
+ /* tango:aluminium 3 */
208
+ color: #babdb6;
209
+ font-size: 80%;
210
+ font-weight: normal;
211
+ }
212
+
213
+ .annotation
214
+ {
215
+ /* tango:aluminium 5 */
216
+ color: #555753;
217
+ font-size: 80%;
218
+ font-weight: normal;
219
+ }
220
+
221
+ /* code listings */
222
+
223
+ .listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */
224
+ .listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */
225
+ .listing_code .programlisting .function { color: #000000; font-weight: bold; }
226
+ .listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */
227
+ .listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */
228
+ .listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
229
+ .listing_code .programlisting .normal { color: #000000; }
230
+ .listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */
231
+ .listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
232
+ .listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */
233
+ .listing_code .programlisting .type { color: #000000; }
234
+ .listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */
235
+ .listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */
236
+
237
+ .listing_frame {
238
+ /* tango:sky blue 1 */
239
+ border: solid 1px #729fcf;
240
+ padding: 0px;
241
+ }
242
+
243
+ .listing_lines, .listing_code {
244
+ margin-top: 0px;
245
+ margin-bottom: 0px;
246
+ padding: 0.5em;
247
+ }
248
+ .listing_lines {
249
+ /* tango:sky blue 0.5 */
250
+ background: #a6c5e3;
251
+ /* tango:aluminium 6 */
252
+ color: #2e3436;
253
+ }
254
+ .listing_code {
255
+ /* tango:sky blue 0 */
256
+ background: #e6f3ff;
257
+ }
258
+ .listing_code .programlisting {
259
+ /* override from previous */
260
+ border: none 0px;
261
+ padding: 0px;
262
+ }
263
+ .listing_lines pre, .listing_code pre {
264
+ margin: 0px;
265
+ }
266
+
@@ -0,0 +1,1420 @@
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>RSVG Libary Reference Manual: RsvgHandle</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="RSVG Libary Reference Manual">
8
+ <link rel="up" href="rsvg.html" title="Part I. API Reference">
9
+ <link rel="prev" href="rsvg.html" title="Part I. API Reference">
10
+ <link rel="next" href="rsvg-Using-RSVG-with-GIO.html" title="Using RSVG with GIO">
11
+ <meta name="generator" content="GTK-Doc V1.21 (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="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="#RsvgHandle.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#RsvgHandle.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
+ <a href="#RsvgHandle.properties" class="shortcut">Properties</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="rsvg.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="rsvg.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="rsvg-Using-RSVG-with-GIO.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="RsvgHandle"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="RsvgHandle.top_of_page"></a>RsvgHandle</span></h2>
32
+ <p>RsvgHandle — Create and manipulate SVG objects</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="RsvgHandle.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="define_keyword">#define</td>
46
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RSVG-ERROR:CAPS" title="RSVG_ERROR">RSVG_ERROR</a></td>
47
+ </tr>
48
+ <tr>
49
+ <td class="function_type">
50
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
51
+ </td>
52
+ <td class="function_name">
53
+ <a class="link" href="RsvgHandle.html#rsvg-error-quark" title="rsvg_error_quark ()">rsvg_error_quark</a> <span class="c_punctuation">()</span>
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td class="function_type">
58
+ <span class="returnvalue">void</span>
59
+ </td>
60
+ <td class="function_name">
61
+ <a class="link" href="RsvgHandle.html#rsvg-cleanup" title="rsvg_cleanup ()">rsvg_cleanup</a> <span class="c_punctuation">()</span>
62
+ </td>
63
+ </tr>
64
+ <tr>
65
+ <td class="function_type">
66
+ <span class="returnvalue">void</span>
67
+ </td>
68
+ <td class="function_name">
69
+ <a class="link" href="RsvgHandle.html#rsvg-set-default-dpi" title="rsvg_set_default_dpi ()">rsvg_set_default_dpi</a> <span class="c_punctuation">()</span>
70
+ </td>
71
+ </tr>
72
+ <tr>
73
+ <td class="function_type">
74
+ <span class="returnvalue">void</span>
75
+ </td>
76
+ <td class="function_name">
77
+ <a class="link" href="RsvgHandle.html#rsvg-set-default-dpi-x-y" title="rsvg_set_default_dpi_x_y ()">rsvg_set_default_dpi_x_y</a> <span class="c_punctuation">()</span>
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td class="function_type">
82
+ <span class="returnvalue">void</span>
83
+ </td>
84
+ <td class="function_name">
85
+ <a class="link" href="RsvgHandle.html#rsvg-handle-set-dpi" title="rsvg_handle_set_dpi ()">rsvg_handle_set_dpi</a> <span class="c_punctuation">()</span>
86
+ </td>
87
+ </tr>
88
+ <tr>
89
+ <td class="function_type">
90
+ <span class="returnvalue">void</span>
91
+ </td>
92
+ <td class="function_name">
93
+ <a class="link" href="RsvgHandle.html#rsvg-handle-set-dpi-x-y" title="rsvg_handle_set_dpi_x_y ()">rsvg_handle_set_dpi_x_y</a> <span class="c_punctuation">()</span>
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <td class="function_type">
98
+ <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
99
+ </td>
100
+ <td class="function_name">
101
+ <a class="link" href="RsvgHandle.html#rsvg-handle-new" title="rsvg_handle_new ()">rsvg_handle_new</a> <span class="c_punctuation">()</span>
102
+ </td>
103
+ </tr>
104
+ <tr>
105
+ <td class="function_type">
106
+ <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
107
+ </td>
108
+ <td class="function_name">
109
+ <a class="link" href="RsvgHandle.html#rsvg-handle-new-with-flags" title="rsvg_handle_new_with_flags ()">rsvg_handle_new_with_flags</a> <span class="c_punctuation">()</span>
110
+ </td>
111
+ </tr>
112
+ <tr>
113
+ <td class="function_type">
114
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
115
+ </td>
116
+ <td class="function_name">
117
+ <a class="link" href="RsvgHandle.html#rsvg-handle-write" title="rsvg_handle_write ()">rsvg_handle_write</a> <span class="c_punctuation">()</span>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td class="function_type">
122
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
123
+ </td>
124
+ <td class="function_name">
125
+ <a class="link" href="RsvgHandle.html#rsvg-handle-close" title="rsvg_handle_close ()">rsvg_handle_close</a> <span class="c_punctuation">()</span>
126
+ </td>
127
+ </tr>
128
+ <tr>
129
+ <td class="function_type">const <span class="returnvalue">char</span> *
130
+ </td>
131
+ <td class="function_name">
132
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-base-uri" title="rsvg_handle_get_base_uri ()">rsvg_handle_get_base_uri</a> <span class="c_punctuation">()</span>
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <td class="function_type">
137
+ <span class="returnvalue">void</span>
138
+ </td>
139
+ <td class="function_name">
140
+ <a class="link" href="RsvgHandle.html#rsvg-handle-set-base-uri" title="rsvg_handle_set_base_uri ()">rsvg_handle_set_base_uri</a> <span class="c_punctuation">()</span>
141
+ </td>
142
+ </tr>
143
+ <tr>
144
+ <td class="function_type">
145
+ <span class="returnvalue">void</span>
146
+ </td>
147
+ <td class="function_name">
148
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-dimensions" title="rsvg_handle_get_dimensions ()">rsvg_handle_get_dimensions</a> <span class="c_punctuation">()</span>
149
+ </td>
150
+ </tr>
151
+ <tr>
152
+ <td class="function_type">
153
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
154
+ </td>
155
+ <td class="function_name">
156
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-dimensions-sub" title="rsvg_handle_get_dimensions_sub ()">rsvg_handle_get_dimensions_sub</a> <span class="c_punctuation">()</span>
157
+ </td>
158
+ </tr>
159
+ <tr>
160
+ <td class="function_type">
161
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
162
+ </td>
163
+ <td class="function_name">
164
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-position-sub" title="rsvg_handle_get_position_sub ()">rsvg_handle_get_position_sub</a> <span class="c_punctuation">()</span>
165
+ </td>
166
+ </tr>
167
+ <tr>
168
+ <td class="function_type">
169
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
170
+ </td>
171
+ <td class="function_name">
172
+ <a class="link" href="RsvgHandle.html#rsvg-handle-has-sub" title="rsvg_handle_has_sub ()">rsvg_handle_has_sub</a> <span class="c_punctuation">()</span>
173
+ </td>
174
+ </tr>
175
+ <tr>
176
+ <td class="function_type">const <span class="returnvalue">char</span> *
177
+ </td>
178
+ <td class="function_name">
179
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-title" title="rsvg_handle_get_title ()">rsvg_handle_get_title</a> <span class="c_punctuation">()</span>
180
+ </td>
181
+ </tr>
182
+ <tr>
183
+ <td class="function_type">const <span class="returnvalue">char</span> *
184
+ </td>
185
+ <td class="function_name">
186
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-desc" title="rsvg_handle_get_desc ()">rsvg_handle_get_desc</a> <span class="c_punctuation">()</span>
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <td class="function_type">const <span class="returnvalue">char</span> *
191
+ </td>
192
+ <td class="function_name">
193
+ <a class="link" href="RsvgHandle.html#rsvg-handle-get-metadata" title="rsvg_handle_get_metadata ()">rsvg_handle_get_metadata</a> <span class="c_punctuation">()</span>
194
+ </td>
195
+ </tr>
196
+ <tr>
197
+ <td class="function_type">
198
+ <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
199
+ </td>
200
+ <td class="function_name">
201
+ <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-data" title="rsvg_handle_new_from_data ()">rsvg_handle_new_from_data</a> <span class="c_punctuation">()</span>
202
+ </td>
203
+ </tr>
204
+ <tr>
205
+ <td class="function_type">
206
+ <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
207
+ </td>
208
+ <td class="function_name">
209
+ <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()">rsvg_handle_new_from_file</a> <span class="c_punctuation">()</span>
210
+ </td>
211
+ </tr>
212
+ <tr>
213
+ <td class="function_type">
214
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
215
+ </td>
216
+ <td class="function_name">
217
+ <a class="link" href="RsvgHandle.html#rsvg-error-get-type" title="rsvg_error_get_type ()">rsvg_error_get_type</a> <span class="c_punctuation">()</span>
218
+ </td>
219
+ </tr>
220
+ <tr>
221
+ <td class="define_keyword">#define</td>
222
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RSVG-TYPE-ERROR:CAPS" title="RSVG_TYPE_ERROR">RSVG_TYPE_ERROR</a></td>
223
+ </tr>
224
+ <tr>
225
+ <td class="function_type">
226
+ <span class="returnvalue">void</span>
227
+ </td>
228
+ <td class="function_name">
229
+ <a class="link" href="RsvgHandle.html#rsvg-init" title="rsvg_init ()">rsvg_init</a> <span class="c_punctuation">()</span>
230
+ </td>
231
+ </tr>
232
+ <tr>
233
+ <td class="function_type">
234
+ <span class="returnvalue">void</span>
235
+ </td>
236
+ <td class="function_name">
237
+ <a class="link" href="RsvgHandle.html#rsvg-term" title="rsvg_term ()">rsvg_term</a> <span class="c_punctuation">()</span>
238
+ </td>
239
+ </tr>
240
+ <tr>
241
+ <td class="function_type">
242
+ <span class="returnvalue">void</span>
243
+ </td>
244
+ <td class="function_name">
245
+ <a class="link" href="RsvgHandle.html#rsvg-handle-free" title="rsvg_handle_free ()">rsvg_handle_free</a> <span class="c_punctuation">()</span>
246
+ </td>
247
+ </tr>
248
+ <tr>
249
+ <td class="function_type">
250
+ <span class="returnvalue">void</span>
251
+ </td>
252
+ <td class="function_name">
253
+ <a class="link" href="RsvgHandle.html#rsvg-handle-set-size-callback" title="rsvg_handle_set_size_callback ()">rsvg_handle_set_size_callback</a> <span class="c_punctuation">()</span>
254
+ </td>
255
+ </tr>
256
+ </tbody>
257
+ </table></div>
258
+ </div>
259
+ <div class="refsect1">
260
+ <a name="RsvgHandle.properties"></a><h2>Properties</h2>
261
+ <div class="informaltable"><table border="0">
262
+ <colgroup>
263
+ <col width="150px" class="properties_type">
264
+ <col width="300px" class="properties_name">
265
+ <col width="200px" class="properties_flags">
266
+ </colgroup>
267
+ <tbody>
268
+ <tr>
269
+ <td class="property_type">
270
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
271
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--base-uri" title="The “base-uri” property">base-uri</a></td>
272
+ <td class="property_flags">Read / Write / Construct</td>
273
+ </tr>
274
+ <tr>
275
+ <td class="property_type">
276
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
277
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--desc" title="The “desc” property">desc</a></td>
278
+ <td class="property_flags">Read</td>
279
+ </tr>
280
+ <tr>
281
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
282
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--dpi-x" title="The “dpi-x” property">dpi-x</a></td>
283
+ <td class="property_flags">Read / Write / Construct</td>
284
+ </tr>
285
+ <tr>
286
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
287
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--dpi-y" title="The “dpi-y” property">dpi-y</a></td>
288
+ <td class="property_flags">Read / Write / Construct</td>
289
+ </tr>
290
+ <tr>
291
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
292
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--em" title="The “em” property">em</a></td>
293
+ <td class="property_flags">Read</td>
294
+ </tr>
295
+ <tr>
296
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
297
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--ex" title="The “ex” property">ex</a></td>
298
+ <td class="property_flags">Read</td>
299
+ </tr>
300
+ <tr>
301
+ <td class="property_type"><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></td>
302
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--flags" title="The “flags” property">flags</a></td>
303
+ <td class="property_flags">Read / Write / Construct Only</td>
304
+ </tr>
305
+ <tr>
306
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
307
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--height" title="The “height” property">height</a></td>
308
+ <td class="property_flags">Read</td>
309
+ </tr>
310
+ <tr>
311
+ <td class="property_type">
312
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
313
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--metadata" title="The “metadata” property">metadata</a></td>
314
+ <td class="property_flags">Read</td>
315
+ </tr>
316
+ <tr>
317
+ <td class="property_type">
318
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
319
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--title" title="The “title” property">title</a></td>
320
+ <td class="property_flags">Read</td>
321
+ </tr>
322
+ <tr>
323
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
324
+ <td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--width" title="The “width” property">width</a></td>
325
+ <td class="property_flags">Read</td>
326
+ </tr>
327
+ </tbody>
328
+ </table></div>
329
+ </div>
330
+ <div class="refsect1">
331
+ <a name="RsvgHandle.other"></a><h2>Types and Values</h2>
332
+ <div class="informaltable"><table width="100%" border="0">
333
+ <colgroup>
334
+ <col width="150px" class="name">
335
+ <col class="description">
336
+ </colgroup>
337
+ <tbody>
338
+ <tr>
339
+ <td class="datatype_keyword">enum</td>
340
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgError" title="enum RsvgError">RsvgError</a></td>
341
+ </tr>
342
+ <tr>
343
+ <td class="datatype_keyword">struct</td>
344
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandle-struct" title="struct RsvgHandle">RsvgHandle</a></td>
345
+ </tr>
346
+ <tr>
347
+ <td class="typedef_keyword">typedef</td>
348
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandlePrivate" title="RsvgHandlePrivate">RsvgHandlePrivate</a></td>
349
+ </tr>
350
+ <tr>
351
+ <td class="datatype_keyword">struct</td>
352
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandleClass" title="struct RsvgHandleClass">RsvgHandleClass</a></td>
353
+ </tr>
354
+ <tr>
355
+ <td class="datatype_keyword">struct</td>
356
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData">RsvgDimensionData</a></td>
357
+ </tr>
358
+ <tr>
359
+ <td class="datatype_keyword">struct</td>
360
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData">RsvgPositionData</a></td>
361
+ </tr>
362
+ </tbody>
363
+ </table></div>
364
+ </div>
365
+ <div class="refsect1">
366
+ <a name="RsvgHandle.object-hierarchy"></a><h2>Object Hierarchy</h2>
367
+ <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
368
+ <span class="lineart">╰──</span> RsvgError
369
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
370
+ <span class="lineart">╰──</span> RsvgHandle
371
+ </pre>
372
+ </div>
373
+ <div class="refsect1">
374
+ <a name="RsvgHandle.description"></a><h2>Description</h2>
375
+ <p>librsvg is a component used within software applications to enable
376
+ support for SVG-format scalable graphics. In contrast to raster
377
+ formats, scalable vector graphics provide users and artists a way
378
+ to create, view, and provide imagery that is not limited to the
379
+ pixel or dot density that an output device is capable of.</p>
380
+ <p>Many software developers use the librsvg library to render
381
+ SVG graphics. It is lightweight and portable.</p>
382
+ </div>
383
+ <div class="refsect1">
384
+ <a name="RsvgHandle.functions_details"></a><h2>Functions</h2>
385
+ <div class="refsect2">
386
+ <a name="RSVG-ERROR:CAPS"></a><h3>RSVG_ERROR</h3>
387
+ <pre class="programlisting">#define RSVG_ERROR</pre>
388
+ </div>
389
+ <hr>
390
+ <div class="refsect2">
391
+ <a name="rsvg-error-quark"></a><h3>rsvg_error_quark ()</h3>
392
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
393
+ rsvg_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
394
+ <p>The error domain for RSVG</p>
395
+ <div class="refsect3">
396
+ <a name="id-1.2.3.8.3.5"></a><h4>Returns</h4>
397
+ <p> The error domain</p>
398
+ <p></p>
399
+ </div>
400
+ </div>
401
+ <hr>
402
+ <div class="refsect2">
403
+ <a name="rsvg-cleanup"></a><h3>rsvg_cleanup ()</h3>
404
+ <pre class="programlisting"><span class="returnvalue">void</span>
405
+ rsvg_cleanup (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
406
+ <p>This function should not be called from normal programs.
407
+ See <code class="function">xmlCleanupParser()</code> for more information.</p>
408
+ <p class="since">Since 2.36</p>
409
+ </div>
410
+ <hr>
411
+ <div class="refsect2">
412
+ <a name="rsvg-set-default-dpi"></a><h3>rsvg_set_default_dpi ()</h3>
413
+ <pre class="programlisting"><span class="returnvalue">void</span>
414
+ rsvg_set_default_dpi (<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
415
+ <p>Sets the DPI for the all future outgoing pixbufs. Common values are
416
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to <em class="parameter"><code>dpi</code></em>
417
+ will
418
+ reset the DPI to whatever the default value happens to be.</p>
419
+ <div class="refsect3">
420
+ <a name="id-1.2.3.8.5.5"></a><h4>Parameters</h4>
421
+ <div class="informaltable"><table width="100%" border="0">
422
+ <colgroup>
423
+ <col width="150px" class="parameters_name">
424
+ <col class="parameters_description">
425
+ <col width="200px" class="parameters_annotations">
426
+ </colgroup>
427
+ <tbody><tr>
428
+ <td class="parameter_name"><p>dpi</p></td>
429
+ <td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
430
+ <td class="parameter_annotations"> </td>
431
+ </tr></tbody>
432
+ </table></div>
433
+ </div>
434
+ <p class="since">Since 2.8</p>
435
+ </div>
436
+ <hr>
437
+ <div class="refsect2">
438
+ <a name="rsvg-set-default-dpi-x-y"></a><h3>rsvg_set_default_dpi_x_y ()</h3>
439
+ <pre class="programlisting"><span class="returnvalue">void</span>
440
+ rsvg_set_default_dpi_x_y (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
441
+ <em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
442
+ <p>Sets the DPI for the all future outgoing pixbufs. Common values are
443
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to <em class="parameter"><code>dpi</code></em>
444
+ will
445
+ reset the DPI to whatever the default value happens to be.</p>
446
+ <div class="refsect3">
447
+ <a name="id-1.2.3.8.6.5"></a><h4>Parameters</h4>
448
+ <div class="informaltable"><table width="100%" border="0">
449
+ <colgroup>
450
+ <col width="150px" class="parameters_name">
451
+ <col class="parameters_description">
452
+ <col width="200px" class="parameters_annotations">
453
+ </colgroup>
454
+ <tbody>
455
+ <tr>
456
+ <td class="parameter_name"><p>dpi_x</p></td>
457
+ <td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
458
+ <td class="parameter_annotations"> </td>
459
+ </tr>
460
+ <tr>
461
+ <td class="parameter_name"><p>dpi_y</p></td>
462
+ <td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
463
+ <td class="parameter_annotations"> </td>
464
+ </tr>
465
+ </tbody>
466
+ </table></div>
467
+ </div>
468
+ <p class="since">Since 2.8</p>
469
+ </div>
470
+ <hr>
471
+ <div class="refsect2">
472
+ <a name="rsvg-handle-set-dpi"></a><h3>rsvg_handle_set_dpi ()</h3>
473
+ <pre class="programlisting"><span class="returnvalue">void</span>
474
+ rsvg_handle_set_dpi (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
475
+ <em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
476
+ <p>Sets the DPI for the outgoing pixbuf. Common values are
477
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to <em class="parameter"><code>dpi</code></em>
478
+ will
479
+ reset the DPI to whatever the default value happens to be.</p>
480
+ <div class="refsect3">
481
+ <a name="id-1.2.3.8.7.5"></a><h4>Parameters</h4>
482
+ <div class="informaltable"><table width="100%" border="0">
483
+ <colgroup>
484
+ <col width="150px" class="parameters_name">
485
+ <col class="parameters_description">
486
+ <col width="200px" class="parameters_annotations">
487
+ </colgroup>
488
+ <tbody>
489
+ <tr>
490
+ <td class="parameter_name"><p>handle</p></td>
491
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
492
+ <td class="parameter_annotations"> </td>
493
+ </tr>
494
+ <tr>
495
+ <td class="parameter_name"><p>dpi</p></td>
496
+ <td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
497
+ <td class="parameter_annotations"> </td>
498
+ </tr>
499
+ </tbody>
500
+ </table></div>
501
+ </div>
502
+ <p class="since">Since 2.8</p>
503
+ </div>
504
+ <hr>
505
+ <div class="refsect2">
506
+ <a name="rsvg-handle-set-dpi-x-y"></a><h3>rsvg_handle_set_dpi_x_y ()</h3>
507
+ <pre class="programlisting"><span class="returnvalue">void</span>
508
+ rsvg_handle_set_dpi_x_y (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
509
+ <em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
510
+ <em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
511
+ <p>Sets the DPI for the outgoing pixbuf. Common values are
512
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to <span class="type">dpi_x</span> or <em class="parameter"><code>dpi_y</code></em>
513
+ will
514
+ reset the DPI to whatever the default value happens to be.</p>
515
+ <div class="refsect3">
516
+ <a name="id-1.2.3.8.8.5"></a><h4>Parameters</h4>
517
+ <div class="informaltable"><table width="100%" border="0">
518
+ <colgroup>
519
+ <col width="150px" class="parameters_name">
520
+ <col class="parameters_description">
521
+ <col width="200px" class="parameters_annotations">
522
+ </colgroup>
523
+ <tbody>
524
+ <tr>
525
+ <td class="parameter_name"><p>handle</p></td>
526
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
527
+ <td class="parameter_annotations"> </td>
528
+ </tr>
529
+ <tr>
530
+ <td class="parameter_name"><p>dpi_x</p></td>
531
+ <td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
532
+ <td class="parameter_annotations"> </td>
533
+ </tr>
534
+ <tr>
535
+ <td class="parameter_name"><p>dpi_y</p></td>
536
+ <td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
537
+ <td class="parameter_annotations"> </td>
538
+ </tr>
539
+ </tbody>
540
+ </table></div>
541
+ </div>
542
+ <p class="since">Since 2.8</p>
543
+ </div>
544
+ <hr>
545
+ <div class="refsect2">
546
+ <a name="rsvg-handle-new"></a><h3>rsvg_handle_new ()</h3>
547
+ <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
548
+ rsvg_handle_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
549
+ <p>Returns a new rsvg handle. Must be freed with <em class="parameter"><code>g_object_unref</code></em>
550
+ . This
551
+ handle can be used for dynamically loading an image. You need to feed it
552
+ data using <em class="parameter"><code>rsvg_handle_write</code></em>
553
+ , then call <em class="parameter"><code>rsvg_handle_close</code></em>
554
+ when done.
555
+ Afterwords, you can render it using Cairo or get a GdkPixbuf from it. When
556
+ finished, free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. No more than one image can be loaded
557
+ with one handle.</p>
558
+ <div class="refsect3">
559
+ <a name="id-1.2.3.8.9.5"></a><h4>Returns</h4>
560
+ <p> A new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p>
561
+ <p></p>
562
+ </div>
563
+ </div>
564
+ <hr>
565
+ <div class="refsect2">
566
+ <a name="rsvg-handle-new-with-flags"></a><h3>rsvg_handle_new_with_flags ()</h3>
567
+ <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
568
+ rsvg_handle_new_with_flags (<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>);</pre>
569
+ <p>Creates a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> with flags <em class="parameter"><code>flags</code></em>
570
+ .</p>
571
+ <div class="refsect3">
572
+ <a name="id-1.2.3.8.10.5"></a><h4>Parameters</h4>
573
+ <div class="informaltable"><table width="100%" border="0">
574
+ <colgroup>
575
+ <col width="150px" class="parameters_name">
576
+ <col class="parameters_description">
577
+ <col width="200px" class="parameters_annotations">
578
+ </colgroup>
579
+ <tbody><tr>
580
+ <td class="parameter_name"><p>flags</p></td>
581
+ <td class="parameter_description"><p>flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></p></td>
582
+ <td class="parameter_annotations"> </td>
583
+ </tr></tbody>
584
+ </table></div>
585
+ </div>
586
+ <div class="refsect3">
587
+ <a name="id-1.2.3.8.10.6"></a><h4>Returns</h4>
588
+ <p> a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>. </p>
589
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
590
+ </div>
591
+ <p class="since">Since 2.36</p>
592
+ </div>
593
+ <hr>
594
+ <div class="refsect2">
595
+ <a name="rsvg-handle-write"></a><h3>rsvg_handle_write ()</h3>
596
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
597
+ rsvg_handle_write (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
598
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
599
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
600
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
601
+ <p>Loads the next <em class="parameter"><code>count</code></em>
602
+ bytes of the image. This will return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data
603
+ was loaded successful, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case,
604
+ the loader will be closed, and will not accept further writes. If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
605
+ returned, <em class="parameter"><code>error</code></em>
606
+ will be set to an error from the <a class="link" href="RsvgHandle.html#RsvgError" title="enum RsvgError"><span class="type">RsvgError</span></a> domain. Errors
607
+ from <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#GIOErrorEnum"><span class="type">GIOErrorEnum</span></a> are also possible.</p>
608
+ <div class="refsect3">
609
+ <a name="id-1.2.3.8.11.5"></a><h4>Parameters</h4>
610
+ <div class="informaltable"><table width="100%" border="0">
611
+ <colgroup>
612
+ <col width="150px" class="parameters_name">
613
+ <col class="parameters_description">
614
+ <col width="200px" class="parameters_annotations">
615
+ </colgroup>
616
+ <tbody>
617
+ <tr>
618
+ <td class="parameter_name"><p>handle</p></td>
619
+ <td class="parameter_description"><p>an <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
620
+ <td class="parameter_annotations"> </td>
621
+ </tr>
622
+ <tr>
623
+ <td class="parameter_name"><p>buf</p></td>
624
+ <td class="parameter_description"><p> pointer to svg data. </p></td>
625
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
626
+ </tr>
627
+ <tr>
628
+ <td class="parameter_name"><p>count</p></td>
629
+ <td class="parameter_description"><p>length of the <em class="parameter"><code>buf</code></em>
630
+ buffer in bytes</p></td>
631
+ <td class="parameter_annotations"> </td>
632
+ </tr>
633
+ <tr>
634
+ <td class="parameter_name"><p>error</p></td>
635
+ <td class="parameter_description"><p> a location to store a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
636
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
637
+ </tr>
638
+ </tbody>
639
+ </table></div>
640
+ </div>
641
+ <div class="refsect3">
642
+ <a name="id-1.2.3.8.11.6"></a><h4>Returns</h4>
643
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
644
+ <p></p>
645
+ </div>
646
+ </div>
647
+ <hr>
648
+ <div class="refsect2">
649
+ <a name="rsvg-handle-close"></a><h3>rsvg_handle_close ()</h3>
650
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
651
+ rsvg_handle_close (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
652
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
653
+ <p>Closes <em class="parameter"><code>handle</code></em>
654
+ , to indicate that loading the image is complete. This will
655
+ return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the loader closed successfully. Note that <em class="parameter"><code>handle</code></em>
656
+ isn't
657
+ freed until <em class="parameter"><code>g_object_unref</code></em>
658
+ is called.</p>
659
+ <div class="refsect3">
660
+ <a name="id-1.2.3.8.12.5"></a><h4>Parameters</h4>
661
+ <div class="informaltable"><table width="100%" border="0">
662
+ <colgroup>
663
+ <col width="150px" class="parameters_name">
664
+ <col class="parameters_description">
665
+ <col width="200px" class="parameters_annotations">
666
+ </colgroup>
667
+ <tbody>
668
+ <tr>
669
+ <td class="parameter_name"><p>handle</p></td>
670
+ <td class="parameter_description"><p>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
671
+ <td class="parameter_annotations"> </td>
672
+ </tr>
673
+ <tr>
674
+ <td class="parameter_name"><p>error</p></td>
675
+ <td class="parameter_description"><p> a location to store a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
676
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
677
+ </tr>
678
+ </tbody>
679
+ </table></div>
680
+ </div>
681
+ <div class="refsect3">
682
+ <a name="id-1.2.3.8.12.6"></a><h4>Returns</h4>
683
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
684
+ <p></p>
685
+ </div>
686
+ </div>
687
+ <hr>
688
+ <div class="refsect2">
689
+ <a name="rsvg-handle-get-base-uri"></a><h3>rsvg_handle_get_base_uri ()</h3>
690
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
691
+ rsvg_handle_get_base_uri (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
692
+ <p>Gets the base uri for this <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>.</p>
693
+ <div class="refsect3">
694
+ <a name="id-1.2.3.8.13.5"></a><h4>Parameters</h4>
695
+ <div class="informaltable"><table width="100%" border="0">
696
+ <colgroup>
697
+ <col width="150px" class="parameters_name">
698
+ <col class="parameters_description">
699
+ <col width="200px" class="parameters_annotations">
700
+ </colgroup>
701
+ <tbody><tr>
702
+ <td class="parameter_name"><p>handle</p></td>
703
+ <td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
704
+ <td class="parameter_annotations"> </td>
705
+ </tr></tbody>
706
+ </table></div>
707
+ </div>
708
+ <div class="refsect3">
709
+ <a name="id-1.2.3.8.13.6"></a><h4>Returns</h4>
710
+ <p> the base uri, possibly null</p>
711
+ <p></p>
712
+ </div>
713
+ <p class="since">Since 2.8</p>
714
+ </div>
715
+ <hr>
716
+ <div class="refsect2">
717
+ <a name="rsvg-handle-set-base-uri"></a><h3>rsvg_handle_set_base_uri ()</h3>
718
+ <pre class="programlisting"><span class="returnvalue">void</span>
719
+ rsvg_handle_set_base_uri (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
720
+ <em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>);</pre>
721
+ <p>Set the base URI for this SVG. This can only be called before <a class="link" href="RsvgHandle.html#rsvg-handle-write" title="rsvg_handle_write ()"><code class="function">rsvg_handle_write()</code></a>
722
+ has been called.</p>
723
+ <div class="refsect3">
724
+ <a name="id-1.2.3.8.14.5"></a><h4>Parameters</h4>
725
+ <div class="informaltable"><table width="100%" border="0">
726
+ <colgroup>
727
+ <col width="150px" class="parameters_name">
728
+ <col class="parameters_description">
729
+ <col width="200px" class="parameters_annotations">
730
+ </colgroup>
731
+ <tbody>
732
+ <tr>
733
+ <td class="parameter_name"><p>handle</p></td>
734
+ <td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
735
+ <td class="parameter_annotations"> </td>
736
+ </tr>
737
+ <tr>
738
+ <td class="parameter_name"><p>base_uri</p></td>
739
+ <td class="parameter_description"><p>The base uri</p></td>
740
+ <td class="parameter_annotations"> </td>
741
+ </tr>
742
+ </tbody>
743
+ </table></div>
744
+ </div>
745
+ <p class="since">Since 2.9</p>
746
+ </div>
747
+ <hr>
748
+ <div class="refsect2">
749
+ <a name="rsvg-handle-get-dimensions"></a><h3>rsvg_handle_get_dimensions ()</h3>
750
+ <pre class="programlisting"><span class="returnvalue">void</span>
751
+ rsvg_handle_get_dimensions (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
752
+ <em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>);</pre>
753
+ <p>Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.</p>
754
+ <div class="refsect3">
755
+ <a name="id-1.2.3.8.15.5"></a><h4>Parameters</h4>
756
+ <div class="informaltable"><table width="100%" border="0">
757
+ <colgroup>
758
+ <col width="150px" class="parameters_name">
759
+ <col class="parameters_description">
760
+ <col width="200px" class="parameters_annotations">
761
+ </colgroup>
762
+ <tbody>
763
+ <tr>
764
+ <td class="parameter_name"><p>handle</p></td>
765
+ <td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
766
+ <td class="parameter_annotations"> </td>
767
+ </tr>
768
+ <tr>
769
+ <td class="parameter_name"><p>dimension_data</p></td>
770
+ <td class="parameter_description"><p> A place to store the SVG's size. </p></td>
771
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
772
+ </tr>
773
+ </tbody>
774
+ </table></div>
775
+ </div>
776
+ <p class="since">Since 2.14</p>
777
+ </div>
778
+ <hr>
779
+ <div class="refsect2">
780
+ <a name="rsvg-handle-get-dimensions-sub"></a><h3>rsvg_handle_get_dimensions_sub ()</h3>
781
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
782
+ rsvg_handle_get_dimensions_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
783
+ <em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>,
784
+ <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
785
+ <p>Get the size of a subelement of the SVG file. Do not call from within the size_func callback, because an infinite loop will occur.</p>
786
+ <div class="refsect3">
787
+ <a name="id-1.2.3.8.16.5"></a><h4>Parameters</h4>
788
+ <div class="informaltable"><table width="100%" border="0">
789
+ <colgroup>
790
+ <col width="150px" class="parameters_name">
791
+ <col class="parameters_description">
792
+ <col width="200px" class="parameters_annotations">
793
+ </colgroup>
794
+ <tbody>
795
+ <tr>
796
+ <td class="parameter_name"><p>handle</p></td>
797
+ <td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
798
+ <td class="parameter_annotations"> </td>
799
+ </tr>
800
+ <tr>
801
+ <td class="parameter_name"><p>dimension_data</p></td>
802
+ <td class="parameter_description"><p> A place to store the SVG's size. </p></td>
803
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
804
+ </tr>
805
+ <tr>
806
+ <td class="parameter_name"><p>id</p></td>
807
+ <td class="parameter_description"><p> An element's id within the SVG, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to get
808
+ the dimension of the whole SVG. For example, if you have a layer
809
+ called "layer1" for that you want to get the dimension, pass
810
+ "<span class="type">layer1</span>" as the id. </p></td>
811
+ <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>
812
+ </tr>
813
+ </tbody>
814
+ </table></div>
815
+ </div>
816
+ <p class="since">Since 2.22</p>
817
+ </div>
818
+ <hr>
819
+ <div class="refsect2">
820
+ <a name="rsvg-handle-get-position-sub"></a><h3>rsvg_handle_get_position_sub ()</h3>
821
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
822
+ rsvg_handle_get_position_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
823
+ <em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData"><span class="type">RsvgPositionData</span></a> *position_data</code></em>,
824
+ <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
825
+ <p>Get the position of a subelement of the SVG file. Do not call from within
826
+ the size_func callback, because an infinite loop will occur.</p>
827
+ <div class="refsect3">
828
+ <a name="id-1.2.3.8.17.5"></a><h4>Parameters</h4>
829
+ <div class="informaltable"><table width="100%" border="0">
830
+ <colgroup>
831
+ <col width="150px" class="parameters_name">
832
+ <col class="parameters_description">
833
+ <col width="200px" class="parameters_annotations">
834
+ </colgroup>
835
+ <tbody>
836
+ <tr>
837
+ <td class="parameter_name"><p>handle</p></td>
838
+ <td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
839
+ <td class="parameter_annotations"> </td>
840
+ </tr>
841
+ <tr>
842
+ <td class="parameter_name"><p>position_data</p></td>
843
+ <td class="parameter_description"><p> A place to store the SVG fragment's position. </p></td>
844
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
845
+ </tr>
846
+ <tr>
847
+ <td class="parameter_name"><p>id</p></td>
848
+ <td class="parameter_description"><p>An element's id within the SVG.
849
+ For example, if you have a layer called "layer1" for that you want to get
850
+ the position, pass "#<span class="type">layer1</span>" as the id.</p></td>
851
+ <td class="parameter_annotations"> </td>
852
+ </tr>
853
+ </tbody>
854
+ </table></div>
855
+ </div>
856
+ <p class="since">Since 2.22</p>
857
+ </div>
858
+ <hr>
859
+ <div class="refsect2">
860
+ <a name="rsvg-handle-has-sub"></a><h3>rsvg_handle_has_sub ()</h3>
861
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
862
+ rsvg_handle_has_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
863
+ <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
864
+ <p>Checks whether the element <em class="parameter"><code>id</code></em>
865
+ exists in the SVG document.</p>
866
+ <div class="refsect3">
867
+ <a name="id-1.2.3.8.18.5"></a><h4>Parameters</h4>
868
+ <div class="informaltable"><table width="100%" border="0">
869
+ <colgroup>
870
+ <col width="150px" class="parameters_name">
871
+ <col class="parameters_description">
872
+ <col width="200px" class="parameters_annotations">
873
+ </colgroup>
874
+ <tbody>
875
+ <tr>
876
+ <td class="parameter_name"><p>handle</p></td>
877
+ <td class="parameter_description"><p>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
878
+ <td class="parameter_annotations"> </td>
879
+ </tr>
880
+ <tr>
881
+ <td class="parameter_name"><p>id</p></td>
882
+ <td class="parameter_description"><p>an element's id within the SVG</p></td>
883
+ <td class="parameter_annotations"> </td>
884
+ </tr>
885
+ </tbody>
886
+ </table></div>
887
+ </div>
888
+ <div class="refsect3">
889
+ <a name="id-1.2.3.8.18.6"></a><h4>Returns</h4>
890
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>id</code></em>
891
+ exists in the SVG document</p>
892
+ <p></p>
893
+ </div>
894
+ <p class="since">Since 2.22</p>
895
+ </div>
896
+ <hr>
897
+ <div class="refsect2">
898
+ <a name="rsvg-handle-get-title"></a><h3>rsvg_handle_get_title ()</h3>
899
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
900
+ rsvg_handle_get_title (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
901
+ <div class="warning"><p><code class="literal">rsvg_handle_get_title</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
902
+ <p>Returns the SVG's title in UTF-8 or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
903
+ of this title if you wish to use it after <em class="parameter"><code>handle</code></em>
904
+ has been freed.</p>
905
+ <div class="refsect3">
906
+ <a name="id-1.2.3.8.19.7"></a><h4>Parameters</h4>
907
+ <div class="informaltable"><table width="100%" border="0">
908
+ <colgroup>
909
+ <col width="150px" class="parameters_name">
910
+ <col class="parameters_description">
911
+ <col width="200px" class="parameters_annotations">
912
+ </colgroup>
913
+ <tbody><tr>
914
+ <td class="parameter_name"><p>handle</p></td>
915
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
916
+ <td class="parameter_annotations"> </td>
917
+ </tr></tbody>
918
+ </table></div>
919
+ </div>
920
+ <div class="refsect3">
921
+ <a name="id-1.2.3.8.19.8"></a><h4>Returns</h4>
922
+ <p> The SVG's title. </p>
923
+ <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
924
+ </div>
925
+ <p class="since">Since 2.4</p>
926
+ </div>
927
+ <hr>
928
+ <div class="refsect2">
929
+ <a name="rsvg-handle-get-desc"></a><h3>rsvg_handle_get_desc ()</h3>
930
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
931
+ rsvg_handle_get_desc (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
932
+ <div class="warning"><p><code class="literal">rsvg_handle_get_desc</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
933
+ <p>Returns the SVG's description in UTF-8 or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
934
+ of this description if you wish to use it after <em class="parameter"><code>handle</code></em>
935
+ has been freed.</p>
936
+ <div class="refsect3">
937
+ <a name="id-1.2.3.8.20.7"></a><h4>Parameters</h4>
938
+ <div class="informaltable"><table width="100%" border="0">
939
+ <colgroup>
940
+ <col width="150px" class="parameters_name">
941
+ <col class="parameters_description">
942
+ <col width="200px" class="parameters_annotations">
943
+ </colgroup>
944
+ <tbody><tr>
945
+ <td class="parameter_name"><p>handle</p></td>
946
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
947
+ <td class="parameter_annotations"> </td>
948
+ </tr></tbody>
949
+ </table></div>
950
+ </div>
951
+ <div class="refsect3">
952
+ <a name="id-1.2.3.8.20.8"></a><h4>Returns</h4>
953
+ <p> The SVG's description. </p>
954
+ <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
955
+ </div>
956
+ <p class="since">Since 2.4</p>
957
+ </div>
958
+ <hr>
959
+ <div class="refsect2">
960
+ <a name="rsvg-handle-get-metadata"></a><h3>rsvg_handle_get_metadata ()</h3>
961
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
962
+ rsvg_handle_get_metadata (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
963
+ <div class="warning"><p><code class="literal">rsvg_handle_get_metadata</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
964
+ <p>Returns the SVG's metadata in UTF-8 or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
965
+ of this metadata if you wish to use it after <em class="parameter"><code>handle</code></em>
966
+ has been freed.</p>
967
+ <div class="refsect3">
968
+ <a name="id-1.2.3.8.21.7"></a><h4>Parameters</h4>
969
+ <div class="informaltable"><table width="100%" border="0">
970
+ <colgroup>
971
+ <col width="150px" class="parameters_name">
972
+ <col class="parameters_description">
973
+ <col width="200px" class="parameters_annotations">
974
+ </colgroup>
975
+ <tbody><tr>
976
+ <td class="parameter_name"><p>handle</p></td>
977
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
978
+ <td class="parameter_annotations"> </td>
979
+ </tr></tbody>
980
+ </table></div>
981
+ </div>
982
+ <div class="refsect3">
983
+ <a name="id-1.2.3.8.21.8"></a><h4>Returns</h4>
984
+ <p> The SVG's title. </p>
985
+ <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
986
+ </div>
987
+ <p class="since">Since 2.9</p>
988
+ </div>
989
+ <hr>
990
+ <div class="refsect2">
991
+ <a name="rsvg-handle-new-from-data"></a><h3>rsvg_handle_new_from_data ()</h3>
992
+ <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
993
+ rsvg_handle_new_from_data (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
994
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> data_len</code></em>,
995
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
996
+ <p>Loads the SVG specified by <em class="parameter"><code>data</code></em>
997
+ .</p>
998
+ <div class="refsect3">
999
+ <a name="id-1.2.3.8.22.5"></a><h4>Parameters</h4>
1000
+ <div class="informaltable"><table width="100%" border="0">
1001
+ <colgroup>
1002
+ <col width="150px" class="parameters_name">
1003
+ <col class="parameters_description">
1004
+ <col width="200px" class="parameters_annotations">
1005
+ </colgroup>
1006
+ <tbody>
1007
+ <tr>
1008
+ <td class="parameter_name"><p>data</p></td>
1009
+ <td class="parameter_description"><p> The SVG data. </p></td>
1010
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_len]</span></td>
1011
+ </tr>
1012
+ <tr>
1013
+ <td class="parameter_name"><p>data_len</p></td>
1014
+ <td class="parameter_description"><p>The length of <em class="parameter"><code>data</code></em>
1015
+ , in bytes</p></td>
1016
+ <td class="parameter_annotations"> </td>
1017
+ </tr>
1018
+ <tr>
1019
+ <td class="parameter_name"><p>error</p></td>
1020
+ <td class="parameter_description"><p>return location for errors</p></td>
1021
+ <td class="parameter_annotations"> </td>
1022
+ </tr>
1023
+ </tbody>
1024
+ </table></div>
1025
+ </div>
1026
+ <div class="refsect3">
1027
+ <a name="id-1.2.3.8.22.6"></a><h4>Returns</h4>
1028
+ <p> A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
1029
+ <p></p>
1030
+ </div>
1031
+ <p class="since">Since 2.14</p>
1032
+ </div>
1033
+ <hr>
1034
+ <div class="refsect2">
1035
+ <a name="rsvg-handle-new-from-file"></a><h3>rsvg_handle_new_from_file ()</h3>
1036
+ <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
1037
+ rsvg_handle_new_from_file (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
1038
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1039
+ <p>Loads the SVG specified by <em class="parameter"><code>file_name</code></em>
1040
+ .</p>
1041
+ <div class="refsect3">
1042
+ <a name="id-1.2.3.8.23.5"></a><h4>Parameters</h4>
1043
+ <div class="informaltable"><table width="100%" border="0">
1044
+ <colgroup>
1045
+ <col width="150px" class="parameters_name">
1046
+ <col class="parameters_description">
1047
+ <col width="200px" class="parameters_annotations">
1048
+ </colgroup>
1049
+ <tbody>
1050
+ <tr>
1051
+ <td class="parameter_name"><p>file_name</p></td>
1052
+ <td class="parameter_description"><p>The file name to load. If built with gnome-vfs, can be a URI.</p></td>
1053
+ <td class="parameter_annotations"> </td>
1054
+ </tr>
1055
+ <tr>
1056
+ <td class="parameter_name"><p>error</p></td>
1057
+ <td class="parameter_description"><p>return location for errors</p></td>
1058
+ <td class="parameter_annotations"> </td>
1059
+ </tr>
1060
+ </tbody>
1061
+ </table></div>
1062
+ </div>
1063
+ <div class="refsect3">
1064
+ <a name="id-1.2.3.8.23.6"></a><h4>Returns</h4>
1065
+ <p> A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
1066
+ <p></p>
1067
+ </div>
1068
+ <p class="since">Since 2.14</p>
1069
+ </div>
1070
+ <hr>
1071
+ <div class="refsect2">
1072
+ <a name="rsvg-error-get-type"></a><h3>rsvg_error_get_type ()</h3>
1073
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
1074
+ rsvg_error_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1075
+ </div>
1076
+ <hr>
1077
+ <div class="refsect2">
1078
+ <a name="RSVG-TYPE-ERROR:CAPS"></a><h3>RSVG_TYPE_ERROR</h3>
1079
+ <pre class="programlisting">#define RSVG_TYPE_ERROR</pre>
1080
+ </div>
1081
+ <hr>
1082
+ <div class="refsect2">
1083
+ <a name="rsvg-init"></a><h3>rsvg_init ()</h3>
1084
+ <pre class="programlisting"><span class="returnvalue">void</span>
1085
+ rsvg_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1086
+ <div class="warning">
1087
+ <p><code class="literal">rsvg_init</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p>
1088
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-init"><code class="function">g_type_init()</code></a></p>
1089
+ </div>
1090
+ <p>Initializes librsvg</p>
1091
+ <p class="since">Since 2.9</p>
1092
+ </div>
1093
+ <hr>
1094
+ <div class="refsect2">
1095
+ <a name="rsvg-term"></a><h3>rsvg_term ()</h3>
1096
+ <pre class="programlisting"><span class="returnvalue">void</span>
1097
+ rsvg_term (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1098
+ <div class="warning"><p><code class="literal">rsvg_term</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
1099
+ <p>This function does nothing.</p>
1100
+ <p class="since">Since 2.9</p>
1101
+ </div>
1102
+ <hr>
1103
+ <div class="refsect2">
1104
+ <a name="rsvg-handle-free"></a><h3>rsvg_handle_free ()</h3>
1105
+ <pre class="programlisting"><span class="returnvalue">void</span>
1106
+ rsvg_handle_free (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
1107
+ <div class="warning">
1108
+ <p><code class="literal">rsvg_handle_free</code> is deprecated and should not be used in newly-written code.</p>
1109
+ <p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
1110
+ </div>
1111
+ <p>Frees <em class="parameter"><code>handle</code></em>
1112
+ .</p>
1113
+ <div class="refsect3">
1114
+ <a name="id-1.2.3.8.28.6"></a><h4>Parameters</h4>
1115
+ <div class="informaltable"><table width="100%" border="0">
1116
+ <colgroup>
1117
+ <col width="150px" class="parameters_name">
1118
+ <col class="parameters_description">
1119
+ <col width="200px" class="parameters_annotations">
1120
+ </colgroup>
1121
+ <tbody><tr>
1122
+ <td class="parameter_name"><p>handle</p></td>
1123
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
1124
+ <td class="parameter_annotations"> </td>
1125
+ </tr></tbody>
1126
+ </table></div>
1127
+ </div>
1128
+ </div>
1129
+ <hr>
1130
+ <div class="refsect2">
1131
+ <a name="rsvg-handle-set-size-callback"></a><h3>rsvg_handle_set_size_callback ()</h3>
1132
+ <pre class="programlisting"><span class="returnvalue">void</span>
1133
+ rsvg_handle_set_size_callback (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
1134
+ <em class="parameter"><code><span class="type">RsvgSizeFunc</span> size_func</code></em>,
1135
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1136
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_destroy</code></em>);</pre>
1137
+ <div class="warning">
1138
+ <p><code class="literal">rsvg_handle_set_size_callback</code> is deprecated and should not be used in newly-written code.</p>
1139
+ <p>Set up a cairo matrix and use <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>
1140
+ </div>
1141
+ <p>Sets the sizing function for the <em class="parameter"><code>handle</code></em>
1142
+ . This function is called right
1143
+ after the size of the image has been loaded. The size of the image is passed
1144
+ in to the function, which may then modify these values to set the real size
1145
+ of the generated pixbuf. If the image has no associated size, then the size
1146
+ arguments are set to -1.</p>
1147
+ <div class="refsect3">
1148
+ <a name="id-1.2.3.8.29.6"></a><h4>Parameters</h4>
1149
+ <div class="informaltable"><table width="100%" border="0">
1150
+ <colgroup>
1151
+ <col width="150px" class="parameters_name">
1152
+ <col class="parameters_description">
1153
+ <col width="200px" class="parameters_annotations">
1154
+ </colgroup>
1155
+ <tbody>
1156
+ <tr>
1157
+ <td class="parameter_name"><p>handle</p></td>
1158
+ <td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
1159
+ <td class="parameter_annotations"> </td>
1160
+ </tr>
1161
+ <tr>
1162
+ <td class="parameter_name"><p>size_func</p></td>
1163
+ <td class="parameter_description"><p> A sizing function, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1164
+ <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>
1165
+ </tr>
1166
+ <tr>
1167
+ <td class="parameter_name"><p>user_data</p></td>
1168
+ <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>size_func</code></em>
1169
+ , or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1170
+ <td class="parameter_annotations"> </td>
1171
+ </tr>
1172
+ <tr>
1173
+ <td class="parameter_name"><p>user_data_destroy</p></td>
1174
+ <td class="parameter_description"><p>Destroy function for <em class="parameter"><code>user_data</code></em>
1175
+ , or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1176
+ <td class="parameter_annotations"> </td>
1177
+ </tr>
1178
+ </tbody>
1179
+ </table></div>
1180
+ </div>
1181
+ </div>
1182
+ </div>
1183
+ <div class="refsect1">
1184
+ <a name="RsvgHandle.other_details"></a><h2>Types and Values</h2>
1185
+ <div class="refsect2">
1186
+ <a name="RsvgError"></a><h3>enum RsvgError</h3>
1187
+ <p>An enumeration representing possible errors</p>
1188
+ <div class="refsect3">
1189
+ <a name="id-1.2.3.9.2.4"></a><h4>Members</h4>
1190
+ <div class="informaltable"><table width="100%" border="0">
1191
+ <colgroup>
1192
+ <col width="300px" class="enum_members_name">
1193
+ <col class="enum_members_description">
1194
+ <col width="200px" class="enum_members_annotations">
1195
+ </colgroup>
1196
+ <tbody><tr>
1197
+ <td class="enum_member_name"><p><a name="RSVG-ERROR-FAILED:CAPS"></a>RSVG_ERROR_FAILED</p></td>
1198
+ <td class="enum_member_description">
1199
+ <p>the request failed</p>
1200
+ </td>
1201
+ <td class="enum_member_annotations"> </td>
1202
+ </tr></tbody>
1203
+ </table></div>
1204
+ </div>
1205
+ </div>
1206
+ <hr>
1207
+ <div class="refsect2">
1208
+ <a name="RsvgHandle-struct"></a><h3>struct RsvgHandle</h3>
1209
+ <pre class="programlisting">struct RsvgHandle;</pre>
1210
+ <p>The <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> is an object representing the parsed form of a SVG</p>
1211
+ </div>
1212
+ <hr>
1213
+ <div class="refsect2">
1214
+ <a name="RsvgHandlePrivate"></a><h3>RsvgHandlePrivate</h3>
1215
+ </div>
1216
+ <hr>
1217
+ <div class="refsect2">
1218
+ <a name="RsvgHandleClass"></a><h3>struct RsvgHandleClass</h3>
1219
+ <pre class="programlisting">struct RsvgHandleClass {
1220
+ GObjectClass parent;
1221
+ };
1222
+ </pre>
1223
+ <p>Class structure for <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p>
1224
+ <div class="refsect3">
1225
+ <a name="id-1.2.3.9.5.5"></a><h4>Members</h4>
1226
+ <div class="informaltable"><table width="100%" border="0">
1227
+ <colgroup>
1228
+ <col width="300px" class="struct_members_name">
1229
+ <col class="struct_members_description">
1230
+ <col width="200px" class="struct_members_annotations">
1231
+ </colgroup>
1232
+ <tbody><tr>
1233
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="RsvgHandleClass.parent"></a>parent</code></em>;</p></td>
1234
+ <td class="struct_member_description"><p>parent class</p></td>
1235
+ <td class="struct_member_annotations"> </td>
1236
+ </tr></tbody>
1237
+ </table></div>
1238
+ </div>
1239
+ </div>
1240
+ <hr>
1241
+ <div class="refsect2">
1242
+ <a name="RsvgDimensionData"></a><h3>struct RsvgDimensionData</h3>
1243
+ <pre class="programlisting">struct RsvgDimensionData {
1244
+ int width;
1245
+ int height;
1246
+ gdouble em;
1247
+ gdouble ex;
1248
+ };
1249
+ </pre>
1250
+ <div class="refsect3">
1251
+ <a name="id-1.2.3.9.6.4"></a><h4>Members</h4>
1252
+ <div class="informaltable"><table width="100%" border="0">
1253
+ <colgroup>
1254
+ <col width="300px" class="struct_members_name">
1255
+ <col class="struct_members_description">
1256
+ <col width="200px" class="struct_members_annotations">
1257
+ </colgroup>
1258
+ <tbody>
1259
+ <tr>
1260
+ <td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgDimensionData.width"></a>width</code></em>;</p></td>
1261
+ <td class="struct_member_description"><p>SVG's width, in pixels</p></td>
1262
+ <td class="struct_member_annotations"> </td>
1263
+ </tr>
1264
+ <tr>
1265
+ <td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgDimensionData.height"></a>height</code></em>;</p></td>
1266
+ <td class="struct_member_description"><p>SVG's height, in pixels</p></td>
1267
+ <td class="struct_member_annotations"> </td>
1268
+ </tr>
1269
+ <tr>
1270
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="RsvgDimensionData.em"></a>em</code></em>;</p></td>
1271
+ <td class="struct_member_description"><p>em</p></td>
1272
+ <td class="struct_member_annotations"> </td>
1273
+ </tr>
1274
+ <tr>
1275
+ <td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="RsvgDimensionData.ex"></a>ex</code></em>;</p></td>
1276
+ <td class="struct_member_description"><p>ex</p></td>
1277
+ <td class="struct_member_annotations"> </td>
1278
+ </tr>
1279
+ </tbody>
1280
+ </table></div>
1281
+ </div>
1282
+ </div>
1283
+ <hr>
1284
+ <div class="refsect2">
1285
+ <a name="RsvgPositionData"></a><h3>struct RsvgPositionData</h3>
1286
+ <pre class="programlisting">struct RsvgPositionData {
1287
+ int x;
1288
+ int y;
1289
+ };
1290
+ </pre>
1291
+ <p>Position of an SVG fragment.</p>
1292
+ <div class="refsect3">
1293
+ <a name="id-1.2.3.9.7.5"></a><h4>Members</h4>
1294
+ <div class="informaltable"><table width="100%" border="0">
1295
+ <colgroup>
1296
+ <col width="300px" class="struct_members_name">
1297
+ <col class="struct_members_description">
1298
+ <col width="200px" class="struct_members_annotations">
1299
+ </colgroup>
1300
+ <tbody>
1301
+ <tr>
1302
+ <td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgPositionData.x"></a>x</code></em>;</p></td>
1303
+ <td class="struct_member_description"><p>position on the x axis</p></td>
1304
+ <td class="struct_member_annotations"> </td>
1305
+ </tr>
1306
+ <tr>
1307
+ <td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgPositionData.y"></a>y</code></em>;</p></td>
1308
+ <td class="struct_member_description"><p>position on the y axis</p></td>
1309
+ <td class="struct_member_annotations"> </td>
1310
+ </tr>
1311
+ </tbody>
1312
+ </table></div>
1313
+ </div>
1314
+ </div>
1315
+ </div>
1316
+ <div class="refsect1">
1317
+ <a name="RsvgHandle.property-details"></a><h2>Property Details</h2>
1318
+ <div class="refsect2">
1319
+ <a name="RsvgHandle--base-uri"></a><h3>The <code class="literal">“base-uri”</code> property</h3>
1320
+ <pre class="programlisting"> “base-uri” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
1321
+ <p>Base URI.</p>
1322
+ <p>Flags: Read / Write / Construct</p>
1323
+ <p>Default value: NULL</p>
1324
+ </div>
1325
+ <hr>
1326
+ <div class="refsect2">
1327
+ <a name="RsvgHandle--desc"></a><h3>The <code class="literal">“desc”</code> property</h3>
1328
+ <pre class="programlisting"> “desc” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
1329
+ <p>SVG's description</p>
1330
+ <div class="warning"><p><code class="literal">RsvgHandle:desc</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
1331
+ <p>Flags: Read</p>
1332
+ <p>Default value: NULL</p>
1333
+ </div>
1334
+ <hr>
1335
+ <div class="refsect2">
1336
+ <a name="RsvgHandle--dpi-x"></a><h3>The <code class="literal">“dpi-x”</code> property</h3>
1337
+ <pre class="programlisting"> “dpi-x” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
1338
+ <p>Horizontal resolution.</p>
1339
+ <p>Flags: Read / Write / Construct</p>
1340
+ <p>Allowed values: &gt;= 0</p>
1341
+ <p>Default value: 90</p>
1342
+ </div>
1343
+ <hr>
1344
+ <div class="refsect2">
1345
+ <a name="RsvgHandle--dpi-y"></a><h3>The <code class="literal">“dpi-y”</code> property</h3>
1346
+ <pre class="programlisting"> “dpi-y” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
1347
+ <p>Vertical resolution.</p>
1348
+ <p>Flags: Read / Write / Construct</p>
1349
+ <p>Allowed values: &gt;= 0</p>
1350
+ <p>Default value: 90</p>
1351
+ </div>
1352
+ <hr>
1353
+ <div class="refsect2">
1354
+ <a name="RsvgHandle--em"></a><h3>The <code class="literal">“em”</code> property</h3>
1355
+ <pre class="programlisting"> “em” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
1356
+ <p>em.</p>
1357
+ <p>Flags: Read</p>
1358
+ <p>Allowed values: &gt;= 0</p>
1359
+ <p>Default value: 0</p>
1360
+ </div>
1361
+ <hr>
1362
+ <div class="refsect2">
1363
+ <a name="RsvgHandle--ex"></a><h3>The <code class="literal">“ex”</code> property</h3>
1364
+ <pre class="programlisting"> “ex” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
1365
+ <p>ex.</p>
1366
+ <p>Flags: Read</p>
1367
+ <p>Allowed values: &gt;= 0</p>
1368
+ <p>Default value: 0</p>
1369
+ </div>
1370
+ <hr>
1371
+ <div class="refsect2">
1372
+ <a name="RsvgHandle--flags"></a><h3>The <code class="literal">“flags”</code> property</h3>
1373
+ <pre class="programlisting"> “flags” <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></pre>
1374
+ <p>Flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>.</p>
1375
+ <p>Flags: Read / Write / Construct Only</p>
1376
+ <p class="since">Since 2.36</p>
1377
+ </div>
1378
+ <hr>
1379
+ <div class="refsect2">
1380
+ <a name="RsvgHandle--height"></a><h3>The <code class="literal">“height”</code> property</h3>
1381
+ <pre class="programlisting"> “height” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
1382
+ <p>Image height.</p>
1383
+ <p>Flags: Read</p>
1384
+ <p>Allowed values: &gt;= 0</p>
1385
+ <p>Default value: 0</p>
1386
+ </div>
1387
+ <hr>
1388
+ <div class="refsect2">
1389
+ <a name="RsvgHandle--metadata"></a><h3>The <code class="literal">“metadata”</code> property</h3>
1390
+ <pre class="programlisting"> “metadata” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
1391
+ <p>SVG's description</p>
1392
+ <div class="warning"><p><code class="literal">RsvgHandle:metadata</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
1393
+ <p>Flags: Read</p>
1394
+ <p>Default value: NULL</p>
1395
+ </div>
1396
+ <hr>
1397
+ <div class="refsect2">
1398
+ <a name="RsvgHandle--title"></a><h3>The <code class="literal">“title”</code> property</h3>
1399
+ <pre class="programlisting"> “title” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
1400
+ <p>SVG's description</p>
1401
+ <div class="warning"><p><code class="literal">RsvgHandle:title</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
1402
+ <p>Flags: Read</p>
1403
+ <p>Default value: NULL</p>
1404
+ </div>
1405
+ <hr>
1406
+ <div class="refsect2">
1407
+ <a name="RsvgHandle--width"></a><h3>The <code class="literal">“width”</code> property</h3>
1408
+ <pre class="programlisting"> “width” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
1409
+ <p>Image width.</p>
1410
+ <p>Flags: Read</p>
1411
+ <p>Allowed values: &gt;= 0</p>
1412
+ <p>Default value: 0</p>
1413
+ </div>
1414
+ </div>
1415
+ </div>
1416
+ <div class="footer">
1417
+ <hr>
1418
+ Generated by GTK-Doc V1.21</div>
1419
+ </body>
1420
+ </html>