rsvg2 3.2.3-x64-mingw32 → 3.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -2
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +1 -1
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +3 -3
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +13 -9
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +5 -5
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/doc/librsvg/COMPILING.md +266 -0
- data/vendor/local/share/doc/librsvg/CONTRIBUTING.md +152 -0
- data/vendor/local/share/doc/librsvg/README.md +162 -0
- data/vendor/local/share/doc/librsvg/code-of-conduct.md +74 -0
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +49 -32
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +6 -6
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +65 -108
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/ch01.html +54 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +35 -19
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +14 -10
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +10 -14
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +46 -55
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/{RsvgHandle.html → rsvg-RsvgHandle.html} +252 -338
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +35 -42
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +38 -34
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +13 -13
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +13 -13
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +61 -15
- data/vendor/local/share/man/man1/rsvg-convert.1 +33 -16
- metadata +14 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +0 -54
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +0 -42
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +0 -46
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +0 -45
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +0 -38
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +0 -53
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +0 -52
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +0 -99
@@ -2,39 +2,37 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>RsvgHandle:
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets
|
7
|
-
<link rel="home" href="index.html" title="
|
5
|
+
<title>RsvgHandle: Librsvg Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
7
|
+
<link rel="home" href="index.html" title="Librsvg Reference Manual">
|
8
8
|
<link rel="up" href="rsvg.html" title="Part I. API Reference">
|
9
|
-
<link rel="prev" href="
|
9
|
+
<link rel="prev" href="ch01.html" title="Overview of Librsvg's API">
|
10
10
|
<link rel="next" href="rsvg-Using-RSVG-with-GIO.html" title="Using RSVG with GIO">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts">
|
17
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
|
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>
|
18
|
+
<a href="#rsvg-RsvgHandle.description" class="shortcut">Description</a></span>
|
21
19
|
</td>
|
22
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
21
|
<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="
|
22
|
+
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
23
|
<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
24
|
</tr></table>
|
27
25
|
<div class="refentry">
|
28
|
-
<a name="RsvgHandle"></a><div class="titlepage"></div>
|
26
|
+
<a name="rsvg-RsvgHandle"></a><div class="titlepage"></div>
|
29
27
|
<div class="refnamediv"><table width="100%"><tr>
|
30
28
|
<td valign="top">
|
31
|
-
<h2><span class="refentrytitle"><a name="RsvgHandle.top_of_page"></a>RsvgHandle</span></h2>
|
32
|
-
<p>RsvgHandle —
|
29
|
+
<h2><span class="refentrytitle"><a name="rsvg-RsvgHandle.top_of_page"></a>RsvgHandle</span></h2>
|
30
|
+
<p>RsvgHandle — Loads SVG data into memory.</p>
|
33
31
|
</td>
|
34
32
|
<td class="gallery_image" valign="top" align="right"></td>
|
35
33
|
</tr></table></div>
|
36
34
|
<div class="refsect1">
|
37
|
-
<a name="RsvgHandle.functions"></a><h2>Functions</h2>
|
35
|
+
<a name="rsvg-RsvgHandle.functions"></a><h2>Functions</h2>
|
38
36
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
39
37
|
<colgroup>
|
40
38
|
<col width="150px" class="functions_return">
|
@@ -46,7 +44,7 @@
|
|
46
44
|
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
47
45
|
</td>
|
48
46
|
<td class="function_name">
|
49
|
-
<a
|
47
|
+
<a href="rsvg-RsvgHandle.html#rsvg-error-quark">rsvg_error_quark</a> <span class="c_punctuation">()</span>
|
50
48
|
</td>
|
51
49
|
</tr>
|
52
50
|
<tr>
|
@@ -54,7 +52,7 @@
|
|
54
52
|
<span class="returnvalue">void</span>
|
55
53
|
</td>
|
56
54
|
<td class="function_name">
|
57
|
-
<a
|
55
|
+
<a href="rsvg-RsvgHandle.html#rsvg-cleanup">rsvg_cleanup</a> <span class="c_punctuation">()</span>
|
58
56
|
</td>
|
59
57
|
</tr>
|
60
58
|
<tr>
|
@@ -62,7 +60,7 @@
|
|
62
60
|
<span class="returnvalue">void</span>
|
63
61
|
</td>
|
64
62
|
<td class="function_name">
|
65
|
-
<a
|
63
|
+
<a href="rsvg-RsvgHandle.html#rsvg-set-default-dpi">rsvg_set_default_dpi</a> <span class="c_punctuation">()</span>
|
66
64
|
</td>
|
67
65
|
</tr>
|
68
66
|
<tr>
|
@@ -70,7 +68,7 @@
|
|
70
68
|
<span class="returnvalue">void</span>
|
71
69
|
</td>
|
72
70
|
<td class="function_name">
|
73
|
-
<a
|
71
|
+
<a href="rsvg-RsvgHandle.html#rsvg-set-default-dpi-x-y">rsvg_set_default_dpi_x_y</a> <span class="c_punctuation">()</span>
|
74
72
|
</td>
|
75
73
|
</tr>
|
76
74
|
<tr>
|
@@ -78,7 +76,7 @@
|
|
78
76
|
<span class="returnvalue">void</span>
|
79
77
|
</td>
|
80
78
|
<td class="function_name">
|
81
|
-
<a
|
79
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi">rsvg_handle_set_dpi</a> <span class="c_punctuation">()</span>
|
82
80
|
</td>
|
83
81
|
</tr>
|
84
82
|
<tr>
|
@@ -86,23 +84,23 @@
|
|
86
84
|
<span class="returnvalue">void</span>
|
87
85
|
</td>
|
88
86
|
<td class="function_name">
|
89
|
-
<a
|
87
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi-x-y">rsvg_handle_set_dpi_x_y</a> <span class="c_punctuation">()</span>
|
90
88
|
</td>
|
91
89
|
</tr>
|
92
90
|
<tr>
|
93
91
|
<td class="function_type">
|
94
|
-
<a
|
92
|
+
<a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
95
93
|
</td>
|
96
94
|
<td class="function_name">
|
97
|
-
<a
|
95
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-new">rsvg_handle_new</a> <span class="c_punctuation">()</span>
|
98
96
|
</td>
|
99
97
|
</tr>
|
100
98
|
<tr>
|
101
99
|
<td class="function_type">
|
102
|
-
<a
|
100
|
+
<a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
103
101
|
</td>
|
104
102
|
<td class="function_name">
|
105
|
-
<a
|
103
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-new-with-flags">rsvg_handle_new_with_flags</a> <span class="c_punctuation">()</span>
|
106
104
|
</td>
|
107
105
|
</tr>
|
108
106
|
<tr>
|
@@ -110,7 +108,7 @@
|
|
110
108
|
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
109
|
</td>
|
112
110
|
<td class="function_name">
|
113
|
-
<a
|
111
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-write">rsvg_handle_write</a> <span class="c_punctuation">()</span>
|
114
112
|
</td>
|
115
113
|
</tr>
|
116
114
|
<tr>
|
@@ -118,14 +116,14 @@
|
|
118
116
|
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
119
117
|
</td>
|
120
118
|
<td class="function_name">
|
121
|
-
<a
|
119
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-close">rsvg_handle_close</a> <span class="c_punctuation">()</span>
|
122
120
|
</td>
|
123
121
|
</tr>
|
124
122
|
<tr>
|
125
123
|
<td class="function_type">const <span class="returnvalue">char</span> *
|
126
124
|
</td>
|
127
125
|
<td class="function_name">
|
128
|
-
<a
|
126
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-base-uri">rsvg_handle_get_base_uri</a> <span class="c_punctuation">()</span>
|
129
127
|
</td>
|
130
128
|
</tr>
|
131
129
|
<tr>
|
@@ -133,7 +131,7 @@
|
|
133
131
|
<span class="returnvalue">void</span>
|
134
132
|
</td>
|
135
133
|
<td class="function_name">
|
136
|
-
<a
|
134
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-base-uri">rsvg_handle_set_base_uri</a> <span class="c_punctuation">()</span>
|
137
135
|
</td>
|
138
136
|
</tr>
|
139
137
|
<tr>
|
@@ -141,7 +139,7 @@
|
|
141
139
|
<span class="returnvalue">void</span>
|
142
140
|
</td>
|
143
141
|
<td class="function_name">
|
144
|
-
<a
|
142
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-dimensions">rsvg_handle_get_dimensions</a> <span class="c_punctuation">()</span>
|
145
143
|
</td>
|
146
144
|
</tr>
|
147
145
|
<tr>
|
@@ -149,7 +147,7 @@
|
|
149
147
|
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
150
148
|
</td>
|
151
149
|
<td class="function_name">
|
152
|
-
<a
|
150
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-dimensions-sub">rsvg_handle_get_dimensions_sub</a> <span class="c_punctuation">()</span>
|
153
151
|
</td>
|
154
152
|
</tr>
|
155
153
|
<tr>
|
@@ -157,7 +155,7 @@
|
|
157
155
|
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
158
156
|
</td>
|
159
157
|
<td class="function_name">
|
160
|
-
<a
|
158
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-position-sub">rsvg_handle_get_position_sub</a> <span class="c_punctuation">()</span>
|
161
159
|
</td>
|
162
160
|
</tr>
|
163
161
|
<tr>
|
@@ -165,44 +163,44 @@
|
|
165
163
|
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
166
164
|
</td>
|
167
165
|
<td class="function_name">
|
168
|
-
<a
|
166
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-has-sub">rsvg_handle_has_sub</a> <span class="c_punctuation">()</span>
|
169
167
|
</td>
|
170
168
|
</tr>
|
171
169
|
<tr>
|
172
170
|
<td class="function_type">const <span class="returnvalue">char</span> *
|
173
171
|
</td>
|
174
172
|
<td class="function_name">
|
175
|
-
<a
|
173
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-title">rsvg_handle_get_title</a> <span class="c_punctuation">()</span>
|
176
174
|
</td>
|
177
175
|
</tr>
|
178
176
|
<tr>
|
179
177
|
<td class="function_type">const <span class="returnvalue">char</span> *
|
180
178
|
</td>
|
181
179
|
<td class="function_name">
|
182
|
-
<a
|
180
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-desc">rsvg_handle_get_desc</a> <span class="c_punctuation">()</span>
|
183
181
|
</td>
|
184
182
|
</tr>
|
185
183
|
<tr>
|
186
184
|
<td class="function_type">const <span class="returnvalue">char</span> *
|
187
185
|
</td>
|
188
186
|
<td class="function_name">
|
189
|
-
<a
|
187
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-get-metadata">rsvg_handle_get_metadata</a> <span class="c_punctuation">()</span>
|
190
188
|
</td>
|
191
189
|
</tr>
|
192
190
|
<tr>
|
193
191
|
<td class="function_type">
|
194
|
-
<a
|
192
|
+
<a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
195
193
|
</td>
|
196
194
|
<td class="function_name">
|
197
|
-
<a
|
195
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-new-from-data">rsvg_handle_new_from_data</a> <span class="c_punctuation">()</span>
|
198
196
|
</td>
|
199
197
|
</tr>
|
200
198
|
<tr>
|
201
199
|
<td class="function_type">
|
202
|
-
<a
|
200
|
+
<a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
203
201
|
</td>
|
204
202
|
<td class="function_name">
|
205
|
-
<a
|
203
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-new-from-file">rsvg_handle_new_from_file</a> <span class="c_punctuation">()</span>
|
206
204
|
</td>
|
207
205
|
</tr>
|
208
206
|
<tr>
|
@@ -210,7 +208,7 @@
|
|
210
208
|
<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
|
211
209
|
</td>
|
212
210
|
<td class="function_name">
|
213
|
-
<a
|
211
|
+
<a href="rsvg-RsvgHandle.html#rsvg-error-get-type">rsvg_error_get_type</a> <span class="c_punctuation">()</span>
|
214
212
|
</td>
|
215
213
|
</tr>
|
216
214
|
<tr>
|
@@ -218,7 +216,7 @@
|
|
218
216
|
<span class="returnvalue">void</span>
|
219
217
|
</td>
|
220
218
|
<td class="function_name">
|
221
|
-
<a
|
219
|
+
<a href="rsvg-RsvgHandle.html#rsvg-init">rsvg_init</a> <span class="c_punctuation">()</span>
|
222
220
|
</td>
|
223
221
|
</tr>
|
224
222
|
<tr>
|
@@ -226,7 +224,7 @@
|
|
226
224
|
<span class="returnvalue">void</span>
|
227
225
|
</td>
|
228
226
|
<td class="function_name">
|
229
|
-
<a
|
227
|
+
<a href="rsvg-RsvgHandle.html#rsvg-term">rsvg_term</a> <span class="c_punctuation">()</span>
|
230
228
|
</td>
|
231
229
|
</tr>
|
232
230
|
<tr>
|
@@ -234,7 +232,7 @@
|
|
234
232
|
<span class="returnvalue">void</span>
|
235
233
|
</td>
|
236
234
|
<td class="function_name">
|
237
|
-
<a
|
235
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-free">rsvg_handle_free</a> <span class="c_punctuation">()</span>
|
238
236
|
</td>
|
239
237
|
</tr>
|
240
238
|
<tr>
|
@@ -242,85 +240,14 @@
|
|
242
240
|
<span class="returnvalue">void</span>
|
243
241
|
</td>
|
244
242
|
<td class="function_name">
|
245
|
-
<a
|
243
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-size-callback">rsvg_handle_set_size_callback</a> <span class="c_punctuation">()</span>
|
246
244
|
</td>
|
247
245
|
</tr>
|
248
246
|
</tbody>
|
249
247
|
</table></div>
|
250
248
|
</div>
|
251
249
|
<div class="refsect1">
|
252
|
-
<a name="RsvgHandle.
|
253
|
-
<div class="informaltable"><table class="informaltable" border="0">
|
254
|
-
<colgroup>
|
255
|
-
<col width="150px" class="properties_type">
|
256
|
-
<col width="300px" class="properties_name">
|
257
|
-
<col width="200px" class="properties_flags">
|
258
|
-
</colgroup>
|
259
|
-
<tbody>
|
260
|
-
<tr>
|
261
|
-
<td class="property_type">
|
262
|
-
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
263
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--base-uri" title="The “base-uri” property">base-uri</a></td>
|
264
|
-
<td class="property_flags">Read / Write / Construct</td>
|
265
|
-
</tr>
|
266
|
-
<tr>
|
267
|
-
<td class="property_type">
|
268
|
-
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
269
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--desc" title="The “desc” property">desc</a></td>
|
270
|
-
<td class="property_flags">Read</td>
|
271
|
-
</tr>
|
272
|
-
<tr>
|
273
|
-
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
274
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--dpi-x" title="The “dpi-x” property">dpi-x</a></td>
|
275
|
-
<td class="property_flags">Read / Write / Construct</td>
|
276
|
-
</tr>
|
277
|
-
<tr>
|
278
|
-
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
279
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--dpi-y" title="The “dpi-y” property">dpi-y</a></td>
|
280
|
-
<td class="property_flags">Read / Write / Construct</td>
|
281
|
-
</tr>
|
282
|
-
<tr>
|
283
|
-
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
284
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--em" title="The “em” property">em</a></td>
|
285
|
-
<td class="property_flags">Read</td>
|
286
|
-
</tr>
|
287
|
-
<tr>
|
288
|
-
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
289
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--ex" title="The “ex” property">ex</a></td>
|
290
|
-
<td class="property_flags">Read</td>
|
291
|
-
</tr>
|
292
|
-
<tr>
|
293
|
-
<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>
|
294
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--flags" title="The “flags” property">flags</a></td>
|
295
|
-
<td class="property_flags">Read / Write / Construct Only</td>
|
296
|
-
</tr>
|
297
|
-
<tr>
|
298
|
-
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
299
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--height" title="The “height” property">height</a></td>
|
300
|
-
<td class="property_flags">Read</td>
|
301
|
-
</tr>
|
302
|
-
<tr>
|
303
|
-
<td class="property_type">
|
304
|
-
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
305
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--metadata" title="The “metadata” property">metadata</a></td>
|
306
|
-
<td class="property_flags">Read</td>
|
307
|
-
</tr>
|
308
|
-
<tr>
|
309
|
-
<td class="property_type">
|
310
|
-
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
311
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--title" title="The “title” property">title</a></td>
|
312
|
-
<td class="property_flags">Read</td>
|
313
|
-
</tr>
|
314
|
-
<tr>
|
315
|
-
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
316
|
-
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--width" title="The “width” property">width</a></td>
|
317
|
-
<td class="property_flags">Read</td>
|
318
|
-
</tr>
|
319
|
-
</tbody>
|
320
|
-
</table></div>
|
321
|
-
</div>
|
322
|
-
<div class="refsect1">
|
323
|
-
<a name="RsvgHandle.other"></a><h2>Types and Values</h2>
|
250
|
+
<a name="rsvg-RsvgHandle.other"></a><h2>Types and Values</h2>
|
324
251
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
325
252
|
<colgroup>
|
326
253
|
<col width="150px" class="name">
|
@@ -329,59 +256,119 @@
|
|
329
256
|
<tbody>
|
330
257
|
<tr>
|
331
258
|
<td class="datatype_keyword">enum</td>
|
332
|
-
<td class="function_name"><a
|
259
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RsvgError">RsvgError</a></td>
|
333
260
|
</tr>
|
334
261
|
<tr>
|
335
262
|
<td class="define_keyword">#define</td>
|
336
|
-
<td class="function_name"><a
|
263
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RSVG-ERROR:CAPS">RSVG_ERROR</a></td>
|
337
264
|
</tr>
|
338
265
|
<tr>
|
339
266
|
<td class="datatype_keyword">struct</td>
|
340
|
-
<td class="function_name"><a
|
267
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RsvgHandle">RsvgHandle</a></td>
|
341
268
|
</tr>
|
342
269
|
<tr>
|
343
270
|
<td class="typedef_keyword">typedef</td>
|
344
|
-
<td class="function_name"><a
|
271
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RsvgHandlePrivate">RsvgHandlePrivate</a></td>
|
345
272
|
</tr>
|
346
273
|
<tr>
|
347
274
|
<td class="datatype_keyword">struct</td>
|
348
|
-
<td class="function_name"><a
|
275
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RsvgHandleClass">RsvgHandleClass</a></td>
|
349
276
|
</tr>
|
350
277
|
<tr>
|
351
278
|
<td class="datatype_keyword">struct</td>
|
352
|
-
<td class="function_name"><a
|
279
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RsvgDimensionData">RsvgDimensionData</a></td>
|
353
280
|
</tr>
|
354
281
|
<tr>
|
355
282
|
<td class="datatype_keyword">struct</td>
|
356
|
-
<td class="function_name"><a
|
283
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RsvgPositionData">RsvgPositionData</a></td>
|
357
284
|
</tr>
|
358
285
|
<tr>
|
359
286
|
<td class="define_keyword">#define</td>
|
360
|
-
<td class="function_name"><a
|
287
|
+
<td class="function_name"><a href="rsvg-RsvgHandle.html#RSVG-TYPE-ERROR:CAPS">RSVG_TYPE_ERROR</a></td>
|
361
288
|
</tr>
|
362
289
|
</tbody>
|
363
290
|
</table></div>
|
364
291
|
</div>
|
365
292
|
<div class="refsect1">
|
366
|
-
<a name="RsvgHandle.
|
367
|
-
<
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
293
|
+
<a name="rsvg-RsvgHandle.description"></a><h2>Description</h2>
|
294
|
+
<p>This is the main entry point into the librsvg library. An RsvgHandle is an
|
295
|
+
object that represents SVG data in memory. Your program creates an
|
296
|
+
RsvgHandle from an SVG file, or from a memory buffer that contains SVG data,
|
297
|
+
or in the most general form, from a <a href="/usr/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> that will provide SVG data.</p>
|
298
|
+
<p>Librsvg supports reading SVG 1.1 data. It also
|
299
|
+
supports SVGZ files, which is just an SVG stream compressed with the GZIP
|
300
|
+
algorithm.</p>
|
301
|
+
<div class="refsect2">
|
302
|
+
<a name="id-1.2.4.5.4"></a><h3>The "base file" and resolving references to external files</h3>
|
303
|
+
<p>When you load an SVG, librsvg needs to know the location of the "base file"
|
304
|
+
for it. This is so that librsvg can determine the location of referenced
|
305
|
+
entities. For example, say you have an SVG in <code class="filename">/foo/bar/foo.svg</code>
|
306
|
+
and that it has an image element like this:</p>
|
307
|
+
<div class="informalexample"><pre class="programlisting">
|
308
|
+
<image xlink:href="resources/foo.png" .../>
|
309
|
+
</pre></div>
|
310
|
+
<p></p>
|
311
|
+
<p>In this case, librsvg needs to know the location of the toplevel
|
312
|
+
<code class="filename">/foo/bar/foo.svg</code> so that it can generate the appropriate
|
313
|
+
reference to <code class="filename">/foo/bar/resources/foo.png</code>.</p>
|
314
|
+
<div class="refsect3">
|
315
|
+
<a name="id-1.2.4.5.4.6"></a><h4>Security and locations of referenced files</h4>
|
316
|
+
<p>When processing an SVG, librsvg will only load referenced files if they are
|
317
|
+
in the same directory as the base file, or in a subdirectory of it. That is,
|
318
|
+
if the base file is <code class="filename">/foo/bar/baz.svg</code>, then librsvg will
|
319
|
+
only try to load referenced files (from SVG's "image" element, for example,
|
320
|
+
or from content included through XML entities) if those files are in
|
321
|
+
<code class="filename">/foo/bar/*</code> or in
|
322
|
+
<code class="filename">/foo/bar/*/.../*</code>. This is so that malicious
|
323
|
+
SVG files cannot include files that are in a directory above.</p>
|
324
|
+
</div>
|
325
|
+
</div>
|
326
|
+
<hr>
|
327
|
+
<div class="refsect2">
|
328
|
+
<a name="id-1.2.4.5.5"></a><h3>Loading an SVG with GIO</h3>
|
329
|
+
<p>If you have a <a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> that stands for an SVG file, you can simply call
|
330
|
+
<a href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-gfile-sync"><code class="function">rsvg_handle_new_from_gfile_sync()</code></a> to load an RsvgHandle from it.</p>
|
331
|
+
<p>Alternatively, if you have a <a href="/usr/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a>, you can use
|
332
|
+
<a href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-stream-sync"><code class="function">rsvg_handle_new_from_stream_sync()</code></a>.</p>
|
333
|
+
<p>Both of those methods allow specifying a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, so the loading
|
334
|
+
process can be cancelled from another thread.</p>
|
335
|
+
</div>
|
336
|
+
<hr>
|
337
|
+
<div class="refsect2">
|
338
|
+
<a name="id-1.2.4.5.6"></a><h3>Loading an SVG without GIO</h3>
|
339
|
+
<p>You can load an RsvgHandle from a simple filename or URI with
|
340
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-new-from-file"><code class="function">rsvg_handle_new_from_file()</code></a>. Note that this is a blocking operation; there
|
341
|
+
is no way to cancel it if loading a remote URI takes a long time.</p>
|
342
|
+
<p>Alternatively, you can create an empty RsvgHandle with <a href="rsvg-RsvgHandle.html#rsvg-handle-new"><code class="function">rsvg_handle_new()</code></a> or
|
343
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-new-with-flags"><code class="function">rsvg_handle_new_with_flags()</code></a>. The first function is equivalent to using
|
344
|
+
<a href="rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAGS-NONE:CAPS"><span class="type">RSVG_HANDLE_FLAGS_NONE</span></a> on the second one. These functions give you back an
|
345
|
+
empty RsvgHandle, which is ready for you to feed it SVG data. You can do
|
346
|
+
this with <a href="rsvg-RsvgHandle.html#rsvg-handle-write"><code class="function">rsvg_handle_write()</code></a> and <a href="rsvg-RsvgHandle.html#rsvg-handle-close"><code class="function">rsvg_handle_close()</code></a>.</p>
|
347
|
+
</div>
|
348
|
+
<hr>
|
349
|
+
<div class="refsect2">
|
350
|
+
<a name="id-1.2.4.5.7"></a><h3>Resolution of the rendered image (dots per inch, or DPI)</h3>
|
351
|
+
<p>SVG images can contain dimensions like "<code class="literal">5 cm</code>" or
|
352
|
+
"<code class="literal">2 pt</code>" that must be converted from physical units into
|
353
|
+
device units. To do this, librsvg needs to know the actual dots per inch
|
354
|
+
(DPI) of your target device. You can call <a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi"><code class="function">rsvg_handle_set_dpi()</code></a> or
|
355
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi-x-y"><code class="function">rsvg_handle_set_dpi_x_y()</code></a> on an RsvgHandle to set the DPI before rendering
|
356
|
+
it.</p>
|
357
|
+
</div>
|
358
|
+
<hr>
|
359
|
+
<div class="refsect2">
|
360
|
+
<a name="id-1.2.4.5.8"></a><h3>Rendering</h3>
|
361
|
+
<p>The preferred way to render an already-loaded RsvgHandle is to use
|
362
|
+
<a href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo"><code class="function">rsvg_handle_render_cairo()</code></a>. Please see its documentation for details.</p>
|
363
|
+
<p>Alternatively, you can use <a href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf"><code class="function">rsvg_handle_get_pixbuf()</code></a> to directly obtain a
|
364
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> with the rendered image. This is simple, but it does not let you
|
365
|
+
control the size at which the SVG will be rendered. It will just be rendered
|
366
|
+
at the size which <a href="rsvg-RsvgHandle.html#rsvg-handle-get-dimensions"><code class="function">rsvg_handle_get_dimensions()</code></a> would return, which depends on
|
367
|
+
the dimensions that librsvg is able to compute from the SVG data.</p>
|
372
368
|
</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
369
|
</div>
|
383
370
|
<div class="refsect1">
|
384
|
-
<a name="RsvgHandle.functions_details"></a><h2>Functions</h2>
|
371
|
+
<a name="rsvg-RsvgHandle.functions_details"></a><h2>Functions</h2>
|
385
372
|
<div class="refsect2">
|
386
373
|
<a name="rsvg-error-quark"></a><h3>rsvg_error_quark ()</h3>
|
387
374
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
@@ -399,17 +386,22 @@ rsvg_error_quark (<em class="parameter"><code><span class="type">void</span></co
|
|
399
386
|
rsvg_cleanup (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
400
387
|
<p>This function should not be called from normal programs.
|
401
388
|
See <code class="function">xmlCleanupParser()</code> for more information.</p>
|
402
|
-
<p class="since">Since:
|
389
|
+
<p class="since">Since: 2.36</p>
|
403
390
|
</div>
|
404
391
|
<hr>
|
405
392
|
<div class="refsect2">
|
406
393
|
<a name="rsvg-set-default-dpi"></a><h3>rsvg_set_default_dpi ()</h3>
|
407
394
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
408
395
|
rsvg_set_default_dpi (<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
|
409
|
-
<
|
410
|
-
|
411
|
-
|
412
|
-
|
396
|
+
<div class="warning">
|
397
|
+
<p><code class="literal">rsvg_set_default_dpi</code> has been deprecated since version 2.42.3 and should not be used in newly-written code.</p>
|
398
|
+
<p>This function used to set a global default DPI. However,
|
399
|
+
it only worked if it was called before any <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> objects had been
|
400
|
+
created; it would not work after that. To avoid global mutable state, please
|
401
|
+
use <a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi"><code class="function">rsvg_handle_set_dpi()</code></a> instead.</p>
|
402
|
+
</div>
|
403
|
+
<p>Do not use this function. Create an <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> and call
|
404
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi"><code class="function">rsvg_handle_set_dpi()</code></a> on it instead.</p>
|
413
405
|
<div class="refsect3">
|
414
406
|
<a name="rsvg-set-default-dpi.parameters"></a><h4>Parameters</h4>
|
415
407
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -425,7 +417,7 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
425
417
|
</tr></tbody>
|
426
418
|
</table></div>
|
427
419
|
</div>
|
428
|
-
<p class="since">Since:
|
420
|
+
<p class="since">Since: 2.8</p>
|
429
421
|
</div>
|
430
422
|
<hr>
|
431
423
|
<div class="refsect2">
|
@@ -433,10 +425,15 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
433
425
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
434
426
|
rsvg_set_default_dpi_x_y (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
435
427
|
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
|
436
|
-
<
|
437
|
-
|
438
|
-
|
439
|
-
|
428
|
+
<div class="warning">
|
429
|
+
<p><code class="literal">rsvg_set_default_dpi_x_y</code> has been deprecated since version 2.42.3 and should not be used in newly-written code.</p>
|
430
|
+
<p>This function used to set a global default DPI. However,
|
431
|
+
it only worked if it was called before any <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> objects had been
|
432
|
+
created; it would not work after that. To avoid global mutable state, please
|
433
|
+
use <a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi"><code class="function">rsvg_handle_set_dpi()</code></a> instead.</p>
|
434
|
+
</div>
|
435
|
+
<p>Do not use this function. Create an <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> and call
|
436
|
+
<a href="rsvg-RsvgHandle.html#rsvg-handle-set-dpi-x-y"><code class="function">rsvg_handle_set_dpi_x_y()</code></a> on it instead.</p>
|
440
437
|
<div class="refsect3">
|
441
438
|
<a name="rsvg-set-default-dpi-x-y.parameters"></a><h4>Parameters</h4>
|
442
439
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -459,13 +456,13 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
459
456
|
</tbody>
|
460
457
|
</table></div>
|
461
458
|
</div>
|
462
|
-
<p class="since">Since:
|
459
|
+
<p class="since">Since: 2.8</p>
|
463
460
|
</div>
|
464
461
|
<hr>
|
465
462
|
<div class="refsect2">
|
466
463
|
<a name="rsvg-handle-set-dpi"></a><h3>rsvg_handle_set_dpi ()</h3>
|
467
464
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
468
|
-
rsvg_handle_set_dpi (<em class="parameter"><code><a
|
465
|
+
rsvg_handle_set_dpi (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
469
466
|
<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
|
470
467
|
<p>Sets the DPI for the outgoing pixbuf. Common values are
|
471
468
|
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
@@ -482,7 +479,7 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
482
479
|
<tbody>
|
483
480
|
<tr>
|
484
481
|
<td class="parameter_name"><p>handle</p></td>
|
485
|
-
<td class="parameter_description"><p>An <a
|
482
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
486
483
|
<td class="parameter_annotations"> </td>
|
487
484
|
</tr>
|
488
485
|
<tr>
|
@@ -493,13 +490,13 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
493
490
|
</tbody>
|
494
491
|
</table></div>
|
495
492
|
</div>
|
496
|
-
<p class="since">Since:
|
493
|
+
<p class="since">Since: 2.8</p>
|
497
494
|
</div>
|
498
495
|
<hr>
|
499
496
|
<div class="refsect2">
|
500
497
|
<a name="rsvg-handle-set-dpi-x-y"></a><h3>rsvg_handle_set_dpi_x_y ()</h3>
|
501
498
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
502
|
-
rsvg_handle_set_dpi_x_y (<em class="parameter"><code><a
|
499
|
+
rsvg_handle_set_dpi_x_y (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
503
500
|
<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
504
501
|
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
|
505
502
|
<p>Sets the DPI for the outgoing pixbuf. Common values are
|
@@ -517,7 +514,7 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
517
514
|
<tbody>
|
518
515
|
<tr>
|
519
516
|
<td class="parameter_name"><p>handle</p></td>
|
520
|
-
<td class="parameter_description"><p>An <a
|
517
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
521
518
|
<td class="parameter_annotations"> </td>
|
522
519
|
</tr>
|
523
520
|
<tr>
|
@@ -533,12 +530,12 @@ reset the DPI to whatever the default value happens to be.</p>
|
|
533
530
|
</tbody>
|
534
531
|
</table></div>
|
535
532
|
</div>
|
536
|
-
<p class="since">Since:
|
533
|
+
<p class="since">Since: 2.8</p>
|
537
534
|
</div>
|
538
535
|
<hr>
|
539
536
|
<div class="refsect2">
|
540
537
|
<a name="rsvg-handle-new"></a><h3>rsvg_handle_new ()</h3>
|
541
|
-
<pre class="programlisting"><a
|
538
|
+
<pre class="programlisting"><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
542
539
|
rsvg_handle_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
543
540
|
<p>Returns a new rsvg handle. Must be freed with <em class="parameter"><code>g_object_unref</code></em>
|
544
541
|
. This
|
@@ -547,19 +544,19 @@ data using <em class="parameter"><code>rsvg_handle_write</code></em>
|
|
547
544
|
, then call <em class="parameter"><code>rsvg_handle_close</code></em>
|
548
545
|
when done.
|
549
546
|
Afterwords, you can render it using Cairo or get a GdkPixbuf from it. When
|
550
|
-
finished, free with <a href="/usr/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
|
547
|
+
finished, free with <a href="/usr/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
|
551
548
|
with one handle.</p>
|
552
549
|
<div class="refsect3">
|
553
550
|
<a name="rsvg-handle-new.returns"></a><h4>Returns</h4>
|
554
|
-
<p> A new <a
|
551
|
+
<p> A new <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p>
|
555
552
|
</div>
|
556
553
|
</div>
|
557
554
|
<hr>
|
558
555
|
<div class="refsect2">
|
559
556
|
<a name="rsvg-handle-new-with-flags"></a><h3>rsvg_handle_new_with_flags ()</h3>
|
560
|
-
<pre class="programlisting"><a
|
561
|
-
rsvg_handle_new_with_flags (<em class="parameter"><code><a
|
562
|
-
<p>Creates a new <a
|
557
|
+
<pre class="programlisting"><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
558
|
+
rsvg_handle_new_with_flags (<em class="parameter"><code><a href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>);</pre>
|
559
|
+
<p>Creates a new <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> with flags <em class="parameter"><code>flags</code></em>
|
563
560
|
.</p>
|
564
561
|
<div class="refsect3">
|
565
562
|
<a name="rsvg-handle-new-with-flags.parameters"></a><h4>Parameters</h4>
|
@@ -571,23 +568,23 @@ rsvg_handle_new_with_flags (<em class="parameter"><code><a class="link" href="rs
|
|
571
568
|
</colgroup>
|
572
569
|
<tbody><tr>
|
573
570
|
<td class="parameter_name"><p>flags</p></td>
|
574
|
-
<td class="parameter_description"><p>flags from <a
|
571
|
+
<td class="parameter_description"><p>flags from <a href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></p></td>
|
575
572
|
<td class="parameter_annotations"> </td>
|
576
573
|
</tr></tbody>
|
577
574
|
</table></div>
|
578
575
|
</div>
|
579
576
|
<div class="refsect3">
|
580
577
|
<a name="rsvg-handle-new-with-flags.returns"></a><h4>Returns</h4>
|
581
|
-
<p>a new <a
|
578
|
+
<p>a new <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a>. </p>
|
582
579
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
583
580
|
</div>
|
584
|
-
<p class="since">Since:
|
581
|
+
<p class="since">Since: 2.36</p>
|
585
582
|
</div>
|
586
583
|
<hr>
|
587
584
|
<div class="refsect2">
|
588
585
|
<a name="rsvg-handle-write"></a><h3>rsvg_handle_write ()</h3>
|
589
586
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
590
|
-
rsvg_handle_write (<em class="parameter"><code><a
|
587
|
+
rsvg_handle_write (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
591
588
|
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
|
592
589
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
593
590
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -596,7 +593,7 @@ rsvg_handle_write (<em class="parameter"><code><a class="link" href="RsvgHandle.
|
|
596
593
|
was loaded successful, and <a href="/usr/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,
|
597
594
|
the loader will be closed, and will not accept further writes. If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
|
598
595
|
returned, <em class="parameter"><code>error</code></em>
|
599
|
-
will be set to an error from the <a
|
596
|
+
will be set to an error from the <a href="rsvg-RsvgHandle.html#RsvgError"><span class="type">RsvgError</span></a> domain. Errors
|
600
597
|
from <a href="/usr/share/gtk-doc/html/gio/gio-GIOError.html#GIOErrorEnum"><span class="type">GIOErrorEnum</span></a> are also possible.</p>
|
601
598
|
<div class="refsect3">
|
602
599
|
<a name="rsvg-handle-write.parameters"></a><h4>Parameters</h4>
|
@@ -609,7 +606,7 @@ from <a href="/usr/share/gtk-doc/html/gio/gio-GIOError.html#GIOErrorEnum"><span
|
|
609
606
|
<tbody>
|
610
607
|
<tr>
|
611
608
|
<td class="parameter_name"><p>handle</p></td>
|
612
|
-
<td class="parameter_description"><p>an <a
|
609
|
+
<td class="parameter_description"><p>an <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
613
610
|
<td class="parameter_annotations"> </td>
|
614
611
|
</tr>
|
615
612
|
<tr>
|
@@ -640,7 +637,7 @@ buffer in bytes</p></td>
|
|
640
637
|
<div class="refsect2">
|
641
638
|
<a name="rsvg-handle-close"></a><h3>rsvg_handle_close ()</h3>
|
642
639
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
643
|
-
rsvg_handle_close (<em class="parameter"><code><a
|
640
|
+
rsvg_handle_close (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
644
641
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
645
642
|
<p>Closes <em class="parameter"><code>handle</code></em>
|
646
643
|
, to indicate that loading the image is complete. This will
|
@@ -659,7 +656,7 @@ freed until <em class="parameter"><code>g_object_unref</code></em>
|
|
659
656
|
<tbody>
|
660
657
|
<tr>
|
661
658
|
<td class="parameter_name"><p>handle</p></td>
|
662
|
-
<td class="parameter_description"><p>a <a
|
659
|
+
<td class="parameter_description"><p>a <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
663
660
|
<td class="parameter_annotations"> </td>
|
664
661
|
</tr>
|
665
662
|
<tr>
|
@@ -679,8 +676,8 @@ freed until <em class="parameter"><code>g_object_unref</code></em>
|
|
679
676
|
<div class="refsect2">
|
680
677
|
<a name="rsvg-handle-get-base-uri"></a><h3>rsvg_handle_get_base_uri ()</h3>
|
681
678
|
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
682
|
-
rsvg_handle_get_base_uri (<em class="parameter"><code><a
|
683
|
-
<p>Gets the base uri for this <a
|
679
|
+
rsvg_handle_get_base_uri (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
680
|
+
<p>Gets the base uri for this <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a>.</p>
|
684
681
|
<div class="refsect3">
|
685
682
|
<a name="rsvg-handle-get-base-uri.parameters"></a><h4>Parameters</h4>
|
686
683
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -691,7 +688,7 @@ rsvg_handle_get_base_uri (<em class="parameter"><code><a class="link" href="Rsvg
|
|
691
688
|
</colgroup>
|
692
689
|
<tbody><tr>
|
693
690
|
<td class="parameter_name"><p>handle</p></td>
|
694
|
-
<td class="parameter_description"><p>A <a
|
691
|
+
<td class="parameter_description"><p>A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
695
692
|
<td class="parameter_annotations"> </td>
|
696
693
|
</tr></tbody>
|
697
694
|
</table></div>
|
@@ -700,15 +697,15 @@ rsvg_handle_get_base_uri (<em class="parameter"><code><a class="link" href="Rsvg
|
|
700
697
|
<a name="rsvg-handle-get-base-uri.returns"></a><h4>Returns</h4>
|
701
698
|
<p> the base uri, possibly null</p>
|
702
699
|
</div>
|
703
|
-
<p class="since">Since:
|
700
|
+
<p class="since">Since: 2.8</p>
|
704
701
|
</div>
|
705
702
|
<hr>
|
706
703
|
<div class="refsect2">
|
707
704
|
<a name="rsvg-handle-set-base-uri"></a><h3>rsvg_handle_set_base_uri ()</h3>
|
708
705
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
709
|
-
rsvg_handle_set_base_uri (<em class="parameter"><code><a
|
706
|
+
rsvg_handle_set_base_uri (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
710
707
|
<em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>);</pre>
|
711
|
-
<p>Set the base URI for this SVG. This can only be called before <a
|
708
|
+
<p>Set the base URI for this SVG. This can only be called before <a href="rsvg-RsvgHandle.html#rsvg-handle-write"><code class="function">rsvg_handle_write()</code></a>
|
712
709
|
has been called.</p>
|
713
710
|
<div class="refsect3">
|
714
711
|
<a name="rsvg-handle-set-base-uri.parameters"></a><h4>Parameters</h4>
|
@@ -721,7 +718,7 @@ has been called.</p>
|
|
721
718
|
<tbody>
|
722
719
|
<tr>
|
723
720
|
<td class="parameter_name"><p>handle</p></td>
|
724
|
-
<td class="parameter_description"><p>A <a
|
721
|
+
<td class="parameter_description"><p>A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
725
722
|
<td class="parameter_annotations"> </td>
|
726
723
|
</tr>
|
727
724
|
<tr>
|
@@ -732,14 +729,14 @@ has been called.</p>
|
|
732
729
|
</tbody>
|
733
730
|
</table></div>
|
734
731
|
</div>
|
735
|
-
<p class="since">Since:
|
732
|
+
<p class="since">Since: 2.9</p>
|
736
733
|
</div>
|
737
734
|
<hr>
|
738
735
|
<div class="refsect2">
|
739
736
|
<a name="rsvg-handle-get-dimensions"></a><h3>rsvg_handle_get_dimensions ()</h3>
|
740
737
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
741
|
-
rsvg_handle_get_dimensions (<em class="parameter"><code><a
|
742
|
-
<em class="parameter"><code><a
|
738
|
+
rsvg_handle_get_dimensions (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
739
|
+
<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>);</pre>
|
743
740
|
<p>Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.</p>
|
744
741
|
<div class="refsect3">
|
745
742
|
<a name="rsvg-handle-get-dimensions.parameters"></a><h4>Parameters</h4>
|
@@ -752,7 +749,7 @@ rsvg_handle_get_dimensions (<em class="parameter"><code><a class="link" href="Rs
|
|
752
749
|
<tbody>
|
753
750
|
<tr>
|
754
751
|
<td class="parameter_name"><p>handle</p></td>
|
755
|
-
<td class="parameter_description"><p>A <a
|
752
|
+
<td class="parameter_description"><p>A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
756
753
|
<td class="parameter_annotations"> </td>
|
757
754
|
</tr>
|
758
755
|
<tr>
|
@@ -763,16 +760,17 @@ rsvg_handle_get_dimensions (<em class="parameter"><code><a class="link" href="Rs
|
|
763
760
|
</tbody>
|
764
761
|
</table></div>
|
765
762
|
</div>
|
766
|
-
<p class="since">Since:
|
763
|
+
<p class="since">Since: 2.14</p>
|
767
764
|
</div>
|
768
765
|
<hr>
|
769
766
|
<div class="refsect2">
|
770
767
|
<a name="rsvg-handle-get-dimensions-sub"></a><h3>rsvg_handle_get_dimensions_sub ()</h3>
|
771
768
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
772
|
-
rsvg_handle_get_dimensions_sub (<em class="parameter"><code><a
|
773
|
-
<em class="parameter"><code><a
|
769
|
+
rsvg_handle_get_dimensions_sub (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
770
|
+
<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>,
|
774
771
|
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
775
|
-
<p>Get the size of a subelement of the SVG file. Do not call from within the
|
772
|
+
<p>Get the size of a subelement of the SVG file. Do not call from within the
|
773
|
+
size_func callback, because an infinite loop will occur.</p>
|
776
774
|
<div class="refsect3">
|
777
775
|
<a name="rsvg-handle-get-dimensions-sub.parameters"></a><h4>Parameters</h4>
|
778
776
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -784,7 +782,7 @@ rsvg_handle_get_dimensions_sub (<em class="parameter"><code><a class="link" href
|
|
784
782
|
<tbody>
|
785
783
|
<tr>
|
786
784
|
<td class="parameter_name"><p>handle</p></td>
|
787
|
-
<td class="parameter_description"><p>A <a
|
785
|
+
<td class="parameter_description"><p>A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
788
786
|
<td class="parameter_annotations"> </td>
|
789
787
|
</tr>
|
790
788
|
<tr>
|
@@ -794,23 +792,21 @@ rsvg_handle_get_dimensions_sub (<em class="parameter"><code><a class="link" href
|
|
794
792
|
</tr>
|
795
793
|
<tr>
|
796
794
|
<td class="parameter_name"><p>id</p></td>
|
797
|
-
<td class="parameter_description"><p>An element's id within the SVG,
|
798
|
-
|
799
|
-
called "layer1" for that you want to get the dimension, pass
|
800
|
-
"<span class="type">layer1</span>" as the id. </p></td>
|
795
|
+
<td class="parameter_description"><p>An element's id within the SVG, starting with "##", for
|
796
|
+
example, "#<span class="type">layer1</span>"; or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the whole SVG. </p></td>
|
801
797
|
<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>
|
802
798
|
</tr>
|
803
799
|
</tbody>
|
804
800
|
</table></div>
|
805
801
|
</div>
|
806
|
-
<p class="since">Since:
|
802
|
+
<p class="since">Since: 2.22</p>
|
807
803
|
</div>
|
808
804
|
<hr>
|
809
805
|
<div class="refsect2">
|
810
806
|
<a name="rsvg-handle-get-position-sub"></a><h3>rsvg_handle_get_position_sub ()</h3>
|
811
807
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
812
|
-
rsvg_handle_get_position_sub (<em class="parameter"><code><a
|
813
|
-
<em class="parameter"><code><a
|
808
|
+
rsvg_handle_get_position_sub (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
809
|
+
<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgPositionData"><span class="type">RsvgPositionData</span></a> *position_data</code></em>,
|
814
810
|
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
815
811
|
<p>Get the position of a subelement of the SVG file. Do not call from within
|
816
812
|
the size_func callback, because an infinite loop will occur.</p>
|
@@ -825,7 +821,7 @@ the size_func callback, because an infinite loop will occur.</p>
|
|
825
821
|
<tbody>
|
826
822
|
<tr>
|
827
823
|
<td class="parameter_name"><p>handle</p></td>
|
828
|
-
<td class="parameter_description"><p>A <a
|
824
|
+
<td class="parameter_description"><p>A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
829
825
|
<td class="parameter_annotations"> </td>
|
830
826
|
</tr>
|
831
827
|
<tr>
|
@@ -835,21 +831,20 @@ the size_func callback, because an infinite loop will occur.</p>
|
|
835
831
|
</tr>
|
836
832
|
<tr>
|
837
833
|
<td class="parameter_name"><p>id</p></td>
|
838
|
-
<td class="parameter_description"><p>An element's id within the SVG
|
839
|
-
|
840
|
-
the
|
841
|
-
<td class="parameter_annotations"> </td>
|
834
|
+
<td class="parameter_description"><p>An element's id within the SVG, starting with "##", for
|
835
|
+
example, "#<span class="type">layer1</span>"; or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the whole SVG. </p></td>
|
836
|
+
<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>
|
842
837
|
</tr>
|
843
838
|
</tbody>
|
844
839
|
</table></div>
|
845
840
|
</div>
|
846
|
-
<p class="since">Since:
|
841
|
+
<p class="since">Since: 2.22</p>
|
847
842
|
</div>
|
848
843
|
<hr>
|
849
844
|
<div class="refsect2">
|
850
845
|
<a name="rsvg-handle-has-sub"></a><h3>rsvg_handle_has_sub ()</h3>
|
851
846
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
852
|
-
rsvg_handle_has_sub (<em class="parameter"><code><a
|
847
|
+
rsvg_handle_has_sub (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
853
848
|
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
854
849
|
<p>Checks whether the element <em class="parameter"><code>id</code></em>
|
855
850
|
exists in the SVG document.</p>
|
@@ -864,12 +859,12 @@ rsvg_handle_has_sub (<em class="parameter"><code><a class="link" href="RsvgHandl
|
|
864
859
|
<tbody>
|
865
860
|
<tr>
|
866
861
|
<td class="parameter_name"><p>handle</p></td>
|
867
|
-
<td class="parameter_description"><p>a <a
|
862
|
+
<td class="parameter_description"><p>a <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
868
863
|
<td class="parameter_annotations"> </td>
|
869
864
|
</tr>
|
870
865
|
<tr>
|
871
866
|
<td class="parameter_name"><p>id</p></td>
|
872
|
-
<td class="parameter_description"><p>an element's id within the SVG</p></td>
|
867
|
+
<td class="parameter_description"><p>an element's id within the SVG, starting with "##", for example, "#<span class="type">layer1</span>".</p></td>
|
873
868
|
<td class="parameter_annotations"> </td>
|
874
869
|
</tr>
|
875
870
|
</tbody>
|
@@ -880,13 +875,13 @@ rsvg_handle_has_sub (<em class="parameter"><code><a class="link" href="RsvgHandl
|
|
880
875
|
<p> <a href="/usr/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>
|
881
876
|
exists in the SVG document</p>
|
882
877
|
</div>
|
883
|
-
<p class="since">Since:
|
878
|
+
<p class="since">Since: 2.22</p>
|
884
879
|
</div>
|
885
880
|
<hr>
|
886
881
|
<div class="refsect2">
|
887
882
|
<a name="rsvg-handle-get-title"></a><h3>rsvg_handle_get_title ()</h3>
|
888
883
|
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
889
|
-
rsvg_handle_get_title (<em class="parameter"><code><a
|
884
|
+
rsvg_handle_get_title (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
890
885
|
<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>
|
891
886
|
<p>Returns the SVG's title in UTF-8 or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
|
892
887
|
of this title if you wish to use it after <em class="parameter"><code>handle</code></em>
|
@@ -901,7 +896,7 @@ of this title if you wish to use it after <em class="parameter"><code>handle</co
|
|
901
896
|
</colgroup>
|
902
897
|
<tbody><tr>
|
903
898
|
<td class="parameter_name"><p>handle</p></td>
|
904
|
-
<td class="parameter_description"><p>An <a
|
899
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
905
900
|
<td class="parameter_annotations"> </td>
|
906
901
|
</tr></tbody>
|
907
902
|
</table></div>
|
@@ -911,13 +906,13 @@ of this title if you wish to use it after <em class="parameter"><code>handle</co
|
|
911
906
|
<p>The SVG's title. </p>
|
912
907
|
<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>
|
913
908
|
</div>
|
914
|
-
<p class="since">Since:
|
909
|
+
<p class="since">Since: 2.4</p>
|
915
910
|
</div>
|
916
911
|
<hr>
|
917
912
|
<div class="refsect2">
|
918
913
|
<a name="rsvg-handle-get-desc"></a><h3>rsvg_handle_get_desc ()</h3>
|
919
914
|
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
920
|
-
rsvg_handle_get_desc (<em class="parameter"><code><a
|
915
|
+
rsvg_handle_get_desc (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
921
916
|
<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>
|
922
917
|
<p>Returns the SVG's description in UTF-8 or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
|
923
918
|
of this description if you wish to use it after <em class="parameter"><code>handle</code></em>
|
@@ -932,7 +927,7 @@ of this description if you wish to use it after <em class="parameter"><code>hand
|
|
932
927
|
</colgroup>
|
933
928
|
<tbody><tr>
|
934
929
|
<td class="parameter_name"><p>handle</p></td>
|
935
|
-
<td class="parameter_description"><p>An <a
|
930
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
936
931
|
<td class="parameter_annotations"> </td>
|
937
932
|
</tr></tbody>
|
938
933
|
</table></div>
|
@@ -942,17 +937,14 @@ of this description if you wish to use it after <em class="parameter"><code>hand
|
|
942
937
|
<p>The SVG's description. </p>
|
943
938
|
<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>
|
944
939
|
</div>
|
945
|
-
<p class="since">Since:
|
940
|
+
<p class="since">Since: 2.4</p>
|
946
941
|
</div>
|
947
942
|
<hr>
|
948
943
|
<div class="refsect2">
|
949
944
|
<a name="rsvg-handle-get-metadata"></a><h3>rsvg_handle_get_metadata ()</h3>
|
950
945
|
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
951
|
-
rsvg_handle_get_metadata (<em class="parameter"><code><a
|
946
|
+
rsvg_handle_get_metadata (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
952
947
|
<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>
|
953
|
-
<p>Returns the SVG's metadata in UTF-8 or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
|
954
|
-
of this metadata if you wish to use it after <em class="parameter"><code>handle</code></em>
|
955
|
-
has been freed.</p>
|
956
948
|
<div class="refsect3">
|
957
949
|
<a name="rsvg-handle-get-metadata.parameters"></a><h4>Parameters</h4>
|
958
950
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -963,22 +955,22 @@ of this metadata if you wish to use it after <em class="parameter"><code>handle<
|
|
963
955
|
</colgroup>
|
964
956
|
<tbody><tr>
|
965
957
|
<td class="parameter_name"><p>handle</p></td>
|
966
|
-
<td class="parameter_description"><p>An <a
|
958
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
967
959
|
<td class="parameter_annotations"> </td>
|
968
960
|
</tr></tbody>
|
969
961
|
</table></div>
|
970
962
|
</div>
|
971
963
|
<div class="refsect3">
|
972
964
|
<a name="rsvg-handle-get-metadata.returns"></a><h4>Returns</h4>
|
973
|
-
<p>
|
965
|
+
<p>This function always returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>. </p>
|
974
966
|
<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>
|
975
967
|
</div>
|
976
|
-
<p class="since">Since:
|
968
|
+
<p class="since">Since: 2.9</p>
|
977
969
|
</div>
|
978
970
|
<hr>
|
979
971
|
<div class="refsect2">
|
980
972
|
<a name="rsvg-handle-new-from-data"></a><h3>rsvg_handle_new_from_data ()</h3>
|
981
|
-
<pre class="programlisting"><a
|
973
|
+
<pre class="programlisting"><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
982
974
|
rsvg_handle_new_from_data (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
|
983
975
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> data_len</code></em>,
|
984
976
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -1014,14 +1006,14 @@ rsvg_handle_new_from_data (<em class="parameter"><code>const <a href="/usr/share
|
|
1014
1006
|
</div>
|
1015
1007
|
<div class="refsect3">
|
1016
1008
|
<a name="rsvg-handle-new-from-data.returns"></a><h4>Returns</h4>
|
1017
|
-
<p> A <a
|
1009
|
+
<p> A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
|
1018
1010
|
</div>
|
1019
|
-
<p class="since">Since:
|
1011
|
+
<p class="since">Since: 2.14</p>
|
1020
1012
|
</div>
|
1021
1013
|
<hr>
|
1022
1014
|
<div class="refsect2">
|
1023
1015
|
<a name="rsvg-handle-new-from-file"></a><h3>rsvg_handle_new_from_file ()</h3>
|
1024
|
-
<pre class="programlisting"><a
|
1016
|
+
<pre class="programlisting"><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
1025
1017
|
rsvg_handle_new_from_file (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
1026
1018
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1027
1019
|
<p>Loads the SVG specified by <em class="parameter"><code>file_name</code></em>
|
@@ -1050,9 +1042,9 @@ rsvg_handle_new_from_file (<em class="parameter"><code>const <a href="/usr/share
|
|
1050
1042
|
</div>
|
1051
1043
|
<div class="refsect3">
|
1052
1044
|
<a name="rsvg-handle-new-from-file.returns"></a><h4>Returns</h4>
|
1053
|
-
<p> A <a
|
1045
|
+
<p> A <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
|
1054
1046
|
</div>
|
1055
|
-
<p class="since">Since:
|
1047
|
+
<p class="since">Since: 2.14</p>
|
1056
1048
|
</div>
|
1057
1049
|
<hr>
|
1058
1050
|
<div class="refsect2">
|
@@ -1067,25 +1059,28 @@ rsvg_error_get_type (<em class="parameter"><code><span class="type">void</span><
|
|
1067
1059
|
rsvg_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1068
1060
|
<div class="warning">
|
1069
1061
|
<p><code class="literal">rsvg_init</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p>
|
1070
|
-
<p>
|
1062
|
+
<p>There is no need to initialize librsvg.</p>
|
1071
1063
|
</div>
|
1072
|
-
<p>
|
1073
|
-
<p class="since">Since:
|
1064
|
+
<p>This function does nothing.</p>
|
1065
|
+
<p class="since">Since: 2.9</p>
|
1074
1066
|
</div>
|
1075
1067
|
<hr>
|
1076
1068
|
<div class="refsect2">
|
1077
1069
|
<a name="rsvg-term"></a><h3>rsvg_term ()</h3>
|
1078
1070
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1079
1071
|
rsvg_term (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1080
|
-
<div class="warning"
|
1072
|
+
<div class="warning">
|
1073
|
+
<p><code class="literal">rsvg_term</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p>
|
1074
|
+
<p>There is no need to de-initialize librsvg.</p>
|
1075
|
+
</div>
|
1081
1076
|
<p>This function does nothing.</p>
|
1082
|
-
<p class="since">Since:
|
1077
|
+
<p class="since">Since: 2.9</p>
|
1083
1078
|
</div>
|
1084
1079
|
<hr>
|
1085
1080
|
<div class="refsect2">
|
1086
1081
|
<a name="rsvg-handle-free"></a><h3>rsvg_handle_free ()</h3>
|
1087
1082
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1088
|
-
rsvg_handle_free (<em class="parameter"><code><a
|
1083
|
+
rsvg_handle_free (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
1089
1084
|
<div class="warning">
|
1090
1085
|
<p><code class="literal">rsvg_handle_free</code> is deprecated and should not be used in newly-written code.</p>
|
1091
1086
|
<p>Use <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
|
@@ -1102,7 +1097,7 @@ rsvg_handle_free (<em class="parameter"><code><a class="link" href="RsvgHandle.h
|
|
1102
1097
|
</colgroup>
|
1103
1098
|
<tbody><tr>
|
1104
1099
|
<td class="parameter_name"><p>handle</p></td>
|
1105
|
-
<td class="parameter_description"><p>An <a
|
1100
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
1106
1101
|
<td class="parameter_annotations"> </td>
|
1107
1102
|
</tr></tbody>
|
1108
1103
|
</table></div>
|
@@ -1112,14 +1107,14 @@ rsvg_handle_free (<em class="parameter"><code><a class="link" href="RsvgHandle.h
|
|
1112
1107
|
<div class="refsect2">
|
1113
1108
|
<a name="rsvg-handle-set-size-callback"></a><h3>rsvg_handle_set_size_callback ()</h3>
|
1114
1109
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1115
|
-
rsvg_handle_set_size_callback (<em class="parameter"><code><a
|
1110
|
+
rsvg_handle_set_size_callback (<em class="parameter"><code><a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
1116
1111
|
<em class="parameter"><code><span class="type">RsvgSizeFunc</span> size_func</code></em>,
|
1117
1112
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
1118
1113
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_destroy</code></em>);</pre>
|
1119
1114
|
<div class="warning">
|
1120
1115
|
<p><code class="literal">rsvg_handle_set_size_callback</code> is deprecated and should not be used in newly-written code.</p>
|
1121
|
-
<p>Set up a cairo matrix and use <a
|
1122
|
-
You can call <a
|
1116
|
+
<p>Set up a cairo matrix and use <a href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo"><code class="function">rsvg_handle_render_cairo()</code></a> instead.
|
1117
|
+
You can call <a href="rsvg-RsvgHandle.html#rsvg-handle-get-dimensions"><code class="function">rsvg_handle_get_dimensions()</code></a> to figure out the size of your SVG,
|
1123
1118
|
and then scale it to the desired size via Cairo. For example, the following
|
1124
1119
|
code renders an SVG at a specified size, scaled proportionally from whatever
|
1125
1120
|
original size it may have had:</p>
|
@@ -1162,7 +1157,7 @@ arguments are set to -1.</p>
|
|
1162
1157
|
<tbody>
|
1163
1158
|
<tr>
|
1164
1159
|
<td class="parameter_name"><p>handle</p></td>
|
1165
|
-
<td class="parameter_description"><p>An <a
|
1160
|
+
<td class="parameter_description"><p>An <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
1166
1161
|
<td class="parameter_annotations"> </td>
|
1167
1162
|
</tr>
|
1168
1163
|
<tr>
|
@@ -1188,7 +1183,7 @@ arguments are set to -1.</p>
|
|
1188
1183
|
</div>
|
1189
1184
|
</div>
|
1190
1185
|
<div class="refsect1">
|
1191
|
-
<a name="RsvgHandle.other_details"></a><h2>Types and Values</h2>
|
1186
|
+
<a name="rsvg-RsvgHandle.other_details"></a><h2>Types and Values</h2>
|
1192
1187
|
<div class="refsect2">
|
1193
1188
|
<a name="RsvgError"></a><h3>enum RsvgError</h3>
|
1194
1189
|
<p>An enumeration representing possible errors</p>
|
@@ -1217,9 +1212,27 @@ arguments are set to -1.</p>
|
|
1217
1212
|
</div>
|
1218
1213
|
<hr>
|
1219
1214
|
<div class="refsect2">
|
1220
|
-
<a name="RsvgHandle
|
1221
|
-
<pre class="programlisting">struct RsvgHandle
|
1222
|
-
|
1215
|
+
<a name="RsvgHandle"></a><h3>struct RsvgHandle</h3>
|
1216
|
+
<pre class="programlisting">struct RsvgHandle {
|
1217
|
+
GObject parent;
|
1218
|
+
};
|
1219
|
+
</pre>
|
1220
|
+
<p>Lets you load SVG data and render it.</p>
|
1221
|
+
<div class="refsect3">
|
1222
|
+
<a name="RsvgHandle.members"></a><h4>Members</h4>
|
1223
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1224
|
+
<colgroup>
|
1225
|
+
<col width="300px" class="struct_members_name">
|
1226
|
+
<col class="struct_members_description">
|
1227
|
+
<col width="200px" class="struct_members_annotations">
|
1228
|
+
</colgroup>
|
1229
|
+
<tbody><tr>
|
1230
|
+
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> <em class="structfield"><code><a name="RsvgHandle.parent"></a>parent</code></em>;</p></td>
|
1231
|
+
<td class="struct_member_description"><p>parent instance</p></td>
|
1232
|
+
<td class="struct_member_annotations"> </td>
|
1233
|
+
</tr></tbody>
|
1234
|
+
</table></div>
|
1235
|
+
</div>
|
1223
1236
|
</div>
|
1224
1237
|
<hr>
|
1225
1238
|
<div class="refsect2">
|
@@ -1232,7 +1245,7 @@ arguments are set to -1.</p>
|
|
1232
1245
|
GObjectClass parent;
|
1233
1246
|
};
|
1234
1247
|
</pre>
|
1235
|
-
<p>Class structure for <a
|
1248
|
+
<p>Class structure for <a href="rsvg-RsvgHandle.html#RsvgHandle"><span class="type">RsvgHandle</span></a>.</p>
|
1236
1249
|
<div class="refsect3">
|
1237
1250
|
<a name="RsvgHandleClass.members"></a><h4>Members</h4>
|
1238
1251
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1330,107 +1343,8 @@ arguments are set to -1.</p>
|
|
1330
1343
|
<pre class="programlisting">#define RSVG_TYPE_ERROR</pre>
|
1331
1344
|
</div>
|
1332
1345
|
</div>
|
1333
|
-
<div class="refsect1">
|
1334
|
-
<a name="RsvgHandle.property-details"></a><h2>Property Details</h2>
|
1335
|
-
<div class="refsect2">
|
1336
|
-
<a name="RsvgHandle--base-uri"></a><h3>The <code class="literal">“base-uri”</code> property</h3>
|
1337
|
-
<pre class="programlisting"> “base-uri” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1338
|
-
<p>Base URI.</p>
|
1339
|
-
<p>Flags: Read / Write / Construct</p>
|
1340
|
-
<p>Default value: NULL</p>
|
1341
|
-
</div>
|
1342
|
-
<hr>
|
1343
|
-
<div class="refsect2">
|
1344
|
-
<a name="RsvgHandle--desc"></a><h3>The <code class="literal">“desc”</code> property</h3>
|
1345
|
-
<pre class="programlisting"> “desc” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1346
|
-
<p>SVG's description</p>
|
1347
|
-
<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>
|
1348
|
-
<p>Flags: Read</p>
|
1349
|
-
<p>Default value: NULL</p>
|
1350
|
-
</div>
|
1351
|
-
<hr>
|
1352
|
-
<div class="refsect2">
|
1353
|
-
<a name="RsvgHandle--dpi-x"></a><h3>The <code class="literal">“dpi-x”</code> property</h3>
|
1354
|
-
<pre class="programlisting"> “dpi-x” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1355
|
-
<p>Horizontal resolution.</p>
|
1356
|
-
<p>Flags: Read / Write / Construct</p>
|
1357
|
-
<p>Allowed values: >= 0</p>
|
1358
|
-
<p>Default value: 90</p>
|
1359
|
-
</div>
|
1360
|
-
<hr>
|
1361
|
-
<div class="refsect2">
|
1362
|
-
<a name="RsvgHandle--dpi-y"></a><h3>The <code class="literal">“dpi-y”</code> property</h3>
|
1363
|
-
<pre class="programlisting"> “dpi-y” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1364
|
-
<p>Vertical resolution.</p>
|
1365
|
-
<p>Flags: Read / Write / Construct</p>
|
1366
|
-
<p>Allowed values: >= 0</p>
|
1367
|
-
<p>Default value: 90</p>
|
1368
|
-
</div>
|
1369
|
-
<hr>
|
1370
|
-
<div class="refsect2">
|
1371
|
-
<a name="RsvgHandle--em"></a><h3>The <code class="literal">“em”</code> property</h3>
|
1372
|
-
<pre class="programlisting"> “em” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1373
|
-
<p>em.</p>
|
1374
|
-
<p>Flags: Read</p>
|
1375
|
-
<p>Allowed values: >= 0</p>
|
1376
|
-
<p>Default value: 0</p>
|
1377
|
-
</div>
|
1378
|
-
<hr>
|
1379
|
-
<div class="refsect2">
|
1380
|
-
<a name="RsvgHandle--ex"></a><h3>The <code class="literal">“ex”</code> property</h3>
|
1381
|
-
<pre class="programlisting"> “ex” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1382
|
-
<p>ex.</p>
|
1383
|
-
<p>Flags: Read</p>
|
1384
|
-
<p>Allowed values: >= 0</p>
|
1385
|
-
<p>Default value: 0</p>
|
1386
|
-
</div>
|
1387
|
-
<hr>
|
1388
|
-
<div class="refsect2">
|
1389
|
-
<a name="RsvgHandle--flags"></a><h3>The <code class="literal">“flags”</code> property</h3>
|
1390
|
-
<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>
|
1391
|
-
<p>Flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>.</p>
|
1392
|
-
<p>Flags: Read / Write / Construct Only</p>
|
1393
|
-
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
1394
|
-
</div>
|
1395
|
-
<hr>
|
1396
|
-
<div class="refsect2">
|
1397
|
-
<a name="RsvgHandle--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
1398
|
-
<pre class="programlisting"> “height” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1399
|
-
<p>Image height.</p>
|
1400
|
-
<p>Flags: Read</p>
|
1401
|
-
<p>Allowed values: >= 0</p>
|
1402
|
-
<p>Default value: 0</p>
|
1403
|
-
</div>
|
1404
|
-
<hr>
|
1405
|
-
<div class="refsect2">
|
1406
|
-
<a name="RsvgHandle--metadata"></a><h3>The <code class="literal">“metadata”</code> property</h3>
|
1407
|
-
<pre class="programlisting"> “metadata” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1408
|
-
<p>SVG's description</p>
|
1409
|
-
<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>
|
1410
|
-
<p>Flags: Read</p>
|
1411
|
-
<p>Default value: NULL</p>
|
1412
|
-
</div>
|
1413
|
-
<hr>
|
1414
|
-
<div class="refsect2">
|
1415
|
-
<a name="RsvgHandle--title"></a><h3>The <code class="literal">“title”</code> property</h3>
|
1416
|
-
<pre class="programlisting"> “title” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1417
|
-
<p>SVG's description</p>
|
1418
|
-
<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>
|
1419
|
-
<p>Flags: Read</p>
|
1420
|
-
<p>Default value: NULL</p>
|
1421
|
-
</div>
|
1422
|
-
<hr>
|
1423
|
-
<div class="refsect2">
|
1424
|
-
<a name="RsvgHandle--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
1425
|
-
<pre class="programlisting"> “width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1426
|
-
<p>Image width.</p>
|
1427
|
-
<p>Flags: Read</p>
|
1428
|
-
<p>Allowed values: >= 0</p>
|
1429
|
-
<p>Default value: 0</p>
|
1430
|
-
</div>
|
1431
|
-
</div>
|
1432
1346
|
</div>
|
1433
1347
|
<div class="footer">
|
1434
|
-
<hr>Generated by GTK-Doc V1.
|
1348
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
1435
1349
|
</body>
|
1436
1350
|
</html>
|