rsvg2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/2.3/rsvg2.so +0 -0
- data/sample/svg2.rb +1 -1
- 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-features.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +1 -0
- 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 +1 -1
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +98 -73
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +3 -3
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +35 -35
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +31 -31
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +7 -7
- metadata +7 -7
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">RSVG Libary Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
For RSVG version 2.40.
|
18
|
+
For RSVG version 2.40.16
|
19
19
|
.
|
20
20
|
The latest version of this documentation can be found on-line at the
|
21
21
|
<a class="ulink" href="http://library.gnome.org/devel/rsvg/index.html" target="_top">GNOME Library</a>.
|
@@ -23,11 +23,11 @@
|
|
23
23
|
<div class="titlepage"><div><div><h1 class="title">
|
24
24
|
<a name="object-tree"></a>Object Hierarchy</h1></div></div></div>
|
25
25
|
<pre class="screen">
|
26
|
-
<a href="
|
26
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
27
27
|
<span class="lineart">╰──</span> <a class="link" href="RsvgHandle.html" title="RsvgHandle">RsvgHandle</a>
|
28
|
-
<a href="
|
28
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
29
29
|
<span class="lineart">╰──</span> <a class="link" href="RsvgHandle.html#RsvgError" title="enum RsvgError">RsvgError</a>
|
30
|
-
<a href="
|
30
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
31
31
|
<span class="lineart">╰──</span> <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags">RsvgHandleFlags</a>
|
32
32
|
</pre>
|
33
33
|
</div>
|
@@ -50,7 +50,7 @@
|
|
50
50
|
<keyword type="function" name="rsvg_init ()" link="RsvgHandle.html#rsvg-init" deprecated="2.36: Use g_type_init()" since="2.9"/>
|
51
51
|
<keyword type="function" name="rsvg_term ()" link="RsvgHandle.html#rsvg-term" deprecated="2.36" since="2.9"/>
|
52
52
|
<keyword type="function" name="rsvg_handle_free ()" link="RsvgHandle.html#rsvg-handle-free" deprecated="Use g_object_unref() instead."/>
|
53
|
-
<keyword type="function" name="rsvg_handle_set_size_callback ()" link="RsvgHandle.html#rsvg-handle-set-size-callback" deprecated="
|
53
|
+
<keyword type="function" name="rsvg_handle_set_size_callback ()" link="RsvgHandle.html#rsvg-handle-set-size-callback" deprecated=""/>
|
54
54
|
<keyword type="enum" name="enum RsvgError" link="RsvgHandle.html#RsvgError"/>
|
55
55
|
<keyword type="struct" name="struct RsvgHandle" link="RsvgHandle.html#RsvgHandle-struct"/>
|
56
56
|
<keyword type="typedef" name="RsvgHandlePrivate" link="RsvgHandle.html#RsvgHandlePrivate"/>
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</tr>
|
51
51
|
<tr>
|
52
52
|
<td class="function_type">
|
53
|
-
<a href="
|
53
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
54
54
|
</td>
|
55
55
|
<td class="function_name">
|
56
56
|
<a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-sync" title="rsvg_handle_read_stream_sync ()">rsvg_handle_read_stream_sync</a> <span class="c_punctuation">()</span>
|
@@ -90,7 +90,7 @@
|
|
90
90
|
</div>
|
91
91
|
<div class="refsect1">
|
92
92
|
<a name="rsvg-Using-RSVG-with-GIO.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
93
|
-
<pre class="screen"> <a href="
|
93
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
94
94
|
<span class="lineart">╰──</span> RsvgHandleFlags
|
95
95
|
</pre>
|
96
96
|
</div>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
<a name="rsvg-handle-set-base-gfile"></a><h3>rsvg_handle_set_base_gfile ()</h3>
|
104
104
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
105
105
|
rsvg_handle_set_base_gfile (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
106
|
-
<em class="parameter"><code><a href="
|
106
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>);</pre>
|
107
107
|
<p>Set the base URI for <em class="parameter"><code>handle</code></em>
|
108
108
|
from <em class="parameter"><code>file</code></em>
|
109
109
|
.
|
@@ -125,7 +125,7 @@ or <a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-s
|
|
125
125
|
</tr>
|
126
126
|
<tr>
|
127
127
|
<td class="parameter_name"><p>base_file</p></td>
|
128
|
-
<td class="parameter_description"><p>a <a href="
|
128
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gio/unstable/GFile.html"><span class="type">GFile</span></a></p></td>
|
129
129
|
<td class="parameter_annotations"> </td>
|
130
130
|
</tr>
|
131
131
|
</tbody>
|
@@ -136,18 +136,18 @@ or <a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-s
|
|
136
136
|
<hr>
|
137
137
|
<div class="refsect2">
|
138
138
|
<a name="rsvg-handle-read-stream-sync"></a><h3>rsvg_handle_read_stream_sync ()</h3>
|
139
|
-
<pre class="programlisting"><a href="
|
139
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
140
140
|
rsvg_handle_read_stream_sync (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
141
|
-
<em class="parameter"><code><a href="
|
142
|
-
<em class="parameter"><code><a href="
|
143
|
-
<em class="parameter"><code><a href="
|
141
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
|
142
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
143
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
144
144
|
<p>Reads <em class="parameter"><code>stream</code></em>
|
145
145
|
and writes the data from it to <em class="parameter"><code>handle</code></em>
|
146
146
|
.</p>
|
147
147
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
148
|
-
is not <a href="
|
148
|
+
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
149
149
|
triggering the cancellable object from another thread. If the
|
150
|
-
operation was cancelled, the error <a href="
|
150
|
+
operation was cancelled, the error <a href="https://developer.gnome.org/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be
|
151
151
|
returned.</p>
|
152
152
|
<div class="refsect3">
|
153
153
|
<a name="id-1.2.4.7.3.6"></a><h4>Parameters</h4>
|
@@ -165,17 +165,17 @@ returned.</p>
|
|
165
165
|
</tr>
|
166
166
|
<tr>
|
167
167
|
<td class="parameter_name"><p>stream</p></td>
|
168
|
-
<td class="parameter_description"><p>a <a href="
|
168
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a></p></td>
|
169
169
|
<td class="parameter_annotations"> </td>
|
170
170
|
</tr>
|
171
171
|
<tr>
|
172
172
|
<td class="parameter_name"><p>cancellable</p></td>
|
173
|
-
<td class="parameter_description"><p> a <a href="
|
173
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
174
174
|
<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>
|
175
175
|
</tr>
|
176
176
|
<tr>
|
177
177
|
<td class="parameter_name"><p>error</p></td>
|
178
|
-
<td class="parameter_description"><p> a location to store a <a href="
|
178
|
+
<td class="parameter_description"><p> a location to store a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
179
179
|
<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>
|
180
180
|
</tr>
|
181
181
|
</tbody>
|
@@ -183,8 +183,8 @@ returned.</p>
|
|
183
183
|
</div>
|
184
184
|
<div class="refsect3">
|
185
185
|
<a name="id-1.2.4.7.3.7"></a><h4>Returns</h4>
|
186
|
-
<p> <a href="
|
187
|
-
succeeded, or <a href="
|
186
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if reading <em class="parameter"><code>stream</code></em>
|
187
|
+
succeeded, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
|
188
188
|
with <em class="parameter"><code>error</code></em>
|
189
189
|
filled in</p>
|
190
190
|
<p></p>
|
@@ -195,16 +195,16 @@ filled in</p>
|
|
195
195
|
<div class="refsect2">
|
196
196
|
<a name="rsvg-handle-new-from-gfile-sync"></a><h3>rsvg_handle_new_from_gfile_sync ()</h3>
|
197
197
|
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
198
|
-
rsvg_handle_new_from_gfile_sync (<em class="parameter"><code><a href="
|
198
|
+
rsvg_handle_new_from_gfile_sync (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
199
199
|
<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>,
|
200
|
-
<em class="parameter"><code><a href="
|
201
|
-
<em class="parameter"><code><a href="
|
200
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
201
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
202
202
|
<p>Creates a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> for <em class="parameter"><code>file</code></em>
|
203
203
|
.</p>
|
204
204
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
205
|
-
is not <a href="
|
205
|
+
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
206
206
|
triggering the cancellable object from another thread. If the
|
207
|
-
operation was cancelled, the error <a href="
|
207
|
+
operation was cancelled, the error <a href="https://developer.gnome.org/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be
|
208
208
|
returned.</p>
|
209
209
|
<div class="refsect3">
|
210
210
|
<a name="id-1.2.4.7.4.6"></a><h4>Parameters</h4>
|
@@ -217,7 +217,7 @@ returned.</p>
|
|
217
217
|
<tbody>
|
218
218
|
<tr>
|
219
219
|
<td class="parameter_name"><p>file</p></td>
|
220
|
-
<td class="parameter_description"><p>a <a href="
|
220
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gio/unstable/GFile.html"><span class="type">GFile</span></a></p></td>
|
221
221
|
<td class="parameter_annotations"> </td>
|
222
222
|
</tr>
|
223
223
|
<tr>
|
@@ -227,12 +227,12 @@ returned.</p>
|
|
227
227
|
</tr>
|
228
228
|
<tr>
|
229
229
|
<td class="parameter_name"><p>cancellable</p></td>
|
230
|
-
<td class="parameter_description"><p> a <a href="
|
230
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
231
231
|
<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>
|
232
232
|
</tr>
|
233
233
|
<tr>
|
234
234
|
<td class="parameter_name"><p>error</p></td>
|
235
|
-
<td class="parameter_description"><p> a location to store a <a href="
|
235
|
+
<td class="parameter_description"><p> a location to store a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
236
236
|
<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>
|
237
237
|
</tr>
|
238
238
|
</tbody>
|
@@ -240,7 +240,7 @@ returned.</p>
|
|
240
240
|
</div>
|
241
241
|
<div class="refsect3">
|
242
242
|
<a name="id-1.2.4.7.4.7"></a><h4>Returns</h4>
|
243
|
-
<p> a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> on success, or <a href="
|
243
|
+
<p> a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> on success, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em>
|
244
244
|
filled in</p>
|
245
245
|
<p></p>
|
246
246
|
</div>
|
@@ -250,17 +250,17 @@ filled in</p>
|
|
250
250
|
<div class="refsect2">
|
251
251
|
<a name="rsvg-handle-new-from-stream-sync"></a><h3>rsvg_handle_new_from_stream_sync ()</h3>
|
252
252
|
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
253
|
-
rsvg_handle_new_from_stream_sync (<em class="parameter"><code><a href="
|
254
|
-
<em class="parameter"><code><a href="
|
253
|
+
rsvg_handle_new_from_stream_sync (<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *input_stream</code></em>,
|
254
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>,
|
255
255
|
<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>,
|
256
|
-
<em class="parameter"><code><a href="
|
257
|
-
<em class="parameter"><code><a href="
|
256
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
257
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
258
258
|
<p>Creates a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> for <em class="parameter"><code>stream</code></em>
|
259
259
|
.</p>
|
260
260
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
261
|
-
is not <a href="
|
261
|
+
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
262
262
|
triggering the cancellable object from another thread. If the
|
263
|
-
operation was cancelled, the error <a href="
|
263
|
+
operation was cancelled, the error <a href="https://developer.gnome.org/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be
|
264
264
|
returned.</p>
|
265
265
|
<div class="refsect3">
|
266
266
|
<a name="id-1.2.4.7.5.6"></a><h4>Parameters</h4>
|
@@ -273,12 +273,12 @@ returned.</p>
|
|
273
273
|
<tbody>
|
274
274
|
<tr>
|
275
275
|
<td class="parameter_name"><p>input_stream</p></td>
|
276
|
-
<td class="parameter_description"><p>a <a href="
|
276
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a></p></td>
|
277
277
|
<td class="parameter_annotations"> </td>
|
278
278
|
</tr>
|
279
279
|
<tr>
|
280
280
|
<td class="parameter_name"><p>base_file</p></td>
|
281
|
-
<td class="parameter_description"><p> a <a href="
|
281
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GFile.html"><span class="type">GFile</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
282
282
|
<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>
|
283
283
|
</tr>
|
284
284
|
<tr>
|
@@ -288,12 +288,12 @@ returned.</p>
|
|
288
288
|
</tr>
|
289
289
|
<tr>
|
290
290
|
<td class="parameter_name"><p>cancellable</p></td>
|
291
|
-
<td class="parameter_description"><p> a <a href="
|
291
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
292
292
|
<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>
|
293
293
|
</tr>
|
294
294
|
<tr>
|
295
295
|
<td class="parameter_name"><p>error</p></td>
|
296
|
-
<td class="parameter_description"><p> a location to store a <a href="
|
296
|
+
<td class="parameter_description"><p> a location to store a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
297
297
|
<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>
|
298
298
|
</tr>
|
299
299
|
</tbody>
|
@@ -301,7 +301,7 @@ returned.</p>
|
|
301
301
|
</div>
|
302
302
|
<div class="refsect3">
|
303
303
|
<a name="id-1.2.4.7.5.7"></a><h4>Returns</h4>
|
304
|
-
<p> a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> on success, or <a href="
|
304
|
+
<p> a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> on success, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em>
|
305
305
|
filled in</p>
|
306
306
|
<p></p>
|
307
307
|
</div>
|
@@ -113,7 +113,7 @@ rsvg_handle_get_pixbuf (<em class="parameter"><code><a class="link" href="RsvgHa
|
|
113
113
|
<p>Returns the pixbuf loaded by <em class="parameter"><code>handle</code></em>
|
114
114
|
. The pixbuf returned will be reffed, so
|
115
115
|
the caller of this function must assume that ref. If insufficient data has
|
116
|
-
been read to create the pixbuf, or an error occurred in loading, then <a href="
|
116
|
+
been read to create the pixbuf, or an error occurred in loading, then <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
117
117
|
will be returned. Note that the pixbuf may not be complete until
|
118
118
|
<em class="parameter"><code>rsvg_handle_close</code></em>
|
119
119
|
has been called.</p>
|
@@ -135,7 +135,7 @@ will be returned. Note that the pixbuf may not be complete until
|
|
135
135
|
<div class="refsect3">
|
136
136
|
<a name="id-1.2.6.5.2.6"></a><h4>Returns</h4>
|
137
137
|
<p> the pixbuf loaded by <em class="parameter"><code>handle</code></em>
|
138
|
-
, or <a href="
|
138
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
139
139
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
140
140
|
</div>
|
141
141
|
</div>
|
@@ -148,7 +148,7 @@ rsvg_handle_get_pixbuf_sub (<em class="parameter"><code><a class="link" href="Rs
|
|
148
148
|
<p>Returns the pixbuf loaded by <em class="parameter"><code>handle</code></em>
|
149
149
|
. The pixbuf returned will be reffed, so
|
150
150
|
the caller of this function must assume that ref. If insufficient data has
|
151
|
-
been read to create the pixbuf, or an error occurred in loading, then <a href="
|
151
|
+
been read to create the pixbuf, or an error occurred in loading, then <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
152
152
|
will be returned. Note that the pixbuf may not be complete until
|
153
153
|
<em class="parameter"><code>rsvg_handle_close</code></em>
|
154
154
|
has been called.</p>
|
@@ -168,7 +168,7 @@ will be returned. Note that the pixbuf may not be complete until
|
|
168
168
|
</tr>
|
169
169
|
<tr>
|
170
170
|
<td class="parameter_name"><p>id</p></td>
|
171
|
-
<td class="parameter_description"><p> The id of an element inside the SVG, or <a href="
|
171
|
+
<td class="parameter_description"><p> The id of an element inside the SVG, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
172
172
|
render the whole SVG. For example, if you have a layer called
|
173
173
|
"layer1" that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p></td>
|
174
174
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
@@ -179,7 +179,7 @@ render the whole SVG. For example, if you have a layer called
|
|
179
179
|
<div class="refsect3">
|
180
180
|
<a name="id-1.2.6.5.3.6"></a><h4>Returns</h4>
|
181
181
|
<p> the pixbuf loaded by <em class="parameter"><code>handle</code></em>
|
182
|
-
, or <a href="
|
182
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
183
183
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
184
184
|
</div>
|
185
185
|
<p class="since">Since 2.14</p>
|
@@ -188,8 +188,8 @@ render the whole SVG. For example, if you have a layer called
|
|
188
188
|
<div class="refsect2">
|
189
189
|
<a name="rsvg-pixbuf-from-file"></a><h3>rsvg_pixbuf_from_file ()</h3>
|
190
190
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
191
|
-
rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="
|
192
|
-
<em class="parameter"><code><a href="
|
191
|
+
rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
192
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
193
193
|
<div class="warning">
|
194
194
|
<p><code class="literal">rsvg_pixbuf_from_file</code> is deprecated and should not be used in newly-written code.</p>
|
195
195
|
<p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
|
@@ -198,7 +198,7 @@ rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="/home/vagrant/
|
|
198
198
|
and returns it. The caller must
|
199
199
|
assume the reference to the reurned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em>
|
200
200
|
is
|
201
|
-
set and <a href="
|
201
|
+
set and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
202
202
|
<div class="refsect3">
|
203
203
|
<a name="id-1.2.6.5.4.6"></a><h4>Parameters</h4>
|
204
204
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -223,7 +223,7 @@ set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-do
|
|
223
223
|
</div>
|
224
224
|
<div class="refsect3">
|
225
225
|
<a name="id-1.2.6.5.4.7"></a><h4>Returns</h4>
|
226
|
-
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
226
|
+
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
227
227
|
<p></p>
|
228
228
|
</div>
|
229
229
|
</div>
|
@@ -231,10 +231,10 @@ set and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-do
|
|
231
231
|
<div class="refsect2">
|
232
232
|
<a name="rsvg-pixbuf-from-file-at-zoom"></a><h3>rsvg_pixbuf_from_file_at_zoom ()</h3>
|
233
233
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
234
|
-
rsvg_pixbuf_from_file_at_zoom (<em class="parameter"><code>const <a href="
|
234
|
+
rsvg_pixbuf_from_file_at_zoom (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
235
235
|
<em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
|
236
236
|
<em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
|
237
|
-
<em class="parameter"><code><a href="
|
237
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
238
238
|
<div class="warning">
|
239
239
|
<p><code class="literal">rsvg_pixbuf_from_file_at_zoom</code> is deprecated and should not be used in newly-written code.</p>
|
240
240
|
<p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
|
@@ -246,7 +246,7 @@ from the size indicated by the file by a factor of <em class="parameter"><code>x
|
|
246
246
|
. The
|
247
247
|
caller must assume the reference to the returned pixbuf. If an error
|
248
248
|
occurred, <em class="parameter"><code>error</code></em>
|
249
|
-
is set and <a href="
|
249
|
+
is set and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
250
250
|
<div class="refsect3">
|
251
251
|
<a name="id-1.2.6.5.5.6"></a><h4>Parameters</h4>
|
252
252
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -281,7 +281,7 @@ occurred, <em class="parameter"><code>error</code></em>
|
|
281
281
|
</div>
|
282
282
|
<div class="refsect3">
|
283
283
|
<a name="id-1.2.6.5.5.7"></a><h4>Returns</h4>
|
284
|
-
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
284
|
+
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
285
285
|
<p></p>
|
286
286
|
</div>
|
287
287
|
</div>
|
@@ -289,10 +289,10 @@ occurred, <em class="parameter"><code>error</code></em>
|
|
289
289
|
<div class="refsect2">
|
290
290
|
<a name="rsvg-pixbuf-from-file-at-size"></a><h3>rsvg_pixbuf_from_file_at_size ()</h3>
|
291
291
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
292
|
-
rsvg_pixbuf_from_file_at_size (<em class="parameter"><code>const <a href="
|
293
|
-
<em class="parameter"><code><a href="
|
294
|
-
<em class="parameter"><code><a href="
|
295
|
-
<em class="parameter"><code><a href="
|
292
|
+
rsvg_pixbuf_from_file_at_size (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
293
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
294
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
295
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
296
296
|
<div class="warning">
|
297
297
|
<p><code class="literal">rsvg_pixbuf_from_file_at_size</code> is deprecated and should not be used in newly-written code.</p>
|
298
298
|
<p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
|
@@ -305,7 +305,7 @@ from the size indicated to the new size indicated by <em class="parameter"><code
|
|
305
305
|
either of these are -1, then the default size of the image being loaded is
|
306
306
|
used. The caller must assume the reference to the returned pixbuf. If an
|
307
307
|
error occurred, <em class="parameter"><code>error</code></em>
|
308
|
-
is set and <a href="
|
308
|
+
is set and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
309
309
|
<div class="refsect3">
|
310
310
|
<a name="id-1.2.6.5.6.6"></a><h4>Parameters</h4>
|
311
311
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -340,7 +340,7 @@ error occurred, <em class="parameter"><code>error</code></em>
|
|
340
340
|
</div>
|
341
341
|
<div class="refsect3">
|
342
342
|
<a name="id-1.2.6.5.6.7"></a><h4>Returns</h4>
|
343
|
-
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
343
|
+
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
344
344
|
<p></p>
|
345
345
|
</div>
|
346
346
|
</div>
|
@@ -348,10 +348,10 @@ error occurred, <em class="parameter"><code>error</code></em>
|
|
348
348
|
<div class="refsect2">
|
349
349
|
<a name="rsvg-pixbuf-from-file-at-max-size"></a><h3>rsvg_pixbuf_from_file_at_max_size ()</h3>
|
350
350
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
351
|
-
rsvg_pixbuf_from_file_at_max_size (<em class="parameter"><code>const <a href="
|
352
|
-
<em class="parameter"><code><a href="
|
353
|
-
<em class="parameter"><code><a href="
|
354
|
-
<em class="parameter"><code><a href="
|
351
|
+
rsvg_pixbuf_from_file_at_max_size (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
352
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
|
353
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
|
354
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
355
355
|
<div class="warning">
|
356
356
|
<p><code class="literal">rsvg_pixbuf_from_file_at_max_size</code> is deprecated and should not be used in newly-written code.</p>
|
357
357
|
<p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
|
@@ -361,7 +361,7 @@ rsvg_pixbuf_from_file_at_max_size (<em class="parameter"><code>const <a href="/h
|
|
361
361
|
scaled so that the it fits into a rectangle of size max_width * max_height. The
|
362
362
|
caller must assume the reference to the returned pixbuf. If an error occurred,
|
363
363
|
<em class="parameter"><code>error</code></em>
|
364
|
-
is set and <a href="
|
364
|
+
is set and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
365
365
|
<div class="refsect3">
|
366
366
|
<a name="id-1.2.6.5.7.6"></a><h4>Parameters</h4>
|
367
367
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -396,7 +396,7 @@ caller must assume the reference to the returned pixbuf. If an error occurred,
|
|
396
396
|
</div>
|
397
397
|
<div class="refsect3">
|
398
398
|
<a name="id-1.2.6.5.7.7"></a><h4>Returns</h4>
|
399
|
-
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
399
|
+
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
400
400
|
<p></p>
|
401
401
|
</div>
|
402
402
|
</div>
|
@@ -405,12 +405,12 @@ caller must assume the reference to the returned pixbuf. If an error occurred,
|
|
405
405
|
<a name="rsvg-pixbuf-from-file-at-zoom-with-max"></a><h3>rsvg_pixbuf_from_file_at_zoom_with_max ()</h3>
|
406
406
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
407
407
|
rsvg_pixbuf_from_file_at_zoom_with_max
|
408
|
-
(<em class="parameter"><code>const <a href="
|
408
|
+
(<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
409
409
|
<em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
|
410
410
|
<em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
|
411
|
-
<em class="parameter"><code><a href="
|
412
|
-
<em class="parameter"><code><a href="
|
413
|
-
<em class="parameter"><code><a href="
|
411
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
|
412
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
|
413
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
414
414
|
<div class="warning">
|
415
415
|
<p><code class="literal">rsvg_pixbuf_from_file_at_zoom_with_max</code> is deprecated and should not be used in newly-written code.</p>
|
416
416
|
<p>Set up a cairo matrix and use <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()"><code class="function">rsvg_handle_new_from_file()</code></a> + <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
|
@@ -423,7 +423,7 @@ from the size indicated by the file by a factor of <em class="parameter"><code>x
|
|
423
423
|
resulting pixbuf would be larger than max_width/max_heigh it is uniformly scaled
|
424
424
|
down to fit in that rectangle. The caller must assume the reference to the
|
425
425
|
returned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em>
|
426
|
-
is set and <a href="
|
426
|
+
is set and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
427
427
|
<div class="refsect3">
|
428
428
|
<a name="id-1.2.6.5.8.6"></a><h4>Parameters</h4>
|
429
429
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -468,7 +468,7 @@ returned pixbuf. If an error occurred, <em class="parameter"><code>error</code><
|
|
468
468
|
</div>
|
469
469
|
<div class="refsect3">
|
470
470
|
<a name="id-1.2.6.5.8.7"></a><h4>Returns</h4>
|
471
|
-
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
471
|
+
<p> A newly allocated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
472
472
|
<p></p>
|
473
473
|
</div>
|
474
474
|
</div>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a href="
|
44
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()">rsvg_handle_render_cairo</a> <span class="c_punctuation">()</span>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="function_type">
|
52
|
-
<a href="
|
52
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
53
53
|
</td>
|
54
54
|
<td class="function_name">
|
55
55
|
<a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo-sub" title="rsvg_handle_render_cairo_sub ()">rsvg_handle_render_cairo_sub</a> <span class="c_punctuation">()</span>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
<a name="rsvg-Using-RSVG-with-cairo.functions_details"></a><h2>Functions</h2>
|
66
66
|
<div class="refsect2">
|
67
67
|
<a name="rsvg-handle-render-cairo"></a><h3>rsvg_handle_render_cairo ()</h3>
|
68
|
-
<pre class="programlisting"><a href="
|
68
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
69
69
|
rsvg_handle_render_cairo (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
70
70
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
|
71
71
|
<p>Draws a SVG to a Cairo surface</p>
|
@@ -93,7 +93,7 @@ rsvg_handle_render_cairo (<em class="parameter"><code><a class="link" href="Rsvg
|
|
93
93
|
</div>
|
94
94
|
<div class="refsect3">
|
95
95
|
<a name="id-1.2.5.5.2.6"></a><h4>Returns</h4>
|
96
|
-
<p> <a href="
|
96
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if drawing succeeded.</p>
|
97
97
|
<p></p>
|
98
98
|
</div>
|
99
99
|
<p class="since">Since 2.14</p>
|
@@ -101,7 +101,7 @@ rsvg_handle_render_cairo (<em class="parameter"><code><a class="link" href="Rsvg
|
|
101
101
|
<hr>
|
102
102
|
<div class="refsect2">
|
103
103
|
<a name="rsvg-handle-render-cairo-sub"></a><h3>rsvg_handle_render_cairo_sub ()</h3>
|
104
|
-
<pre class="programlisting"><a href="
|
104
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
105
105
|
rsvg_handle_render_cairo_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
106
106
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
107
107
|
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
@@ -127,7 +127,7 @@ rsvg_handle_render_cairo_sub (<em class="parameter"><code><a class="link" href="
|
|
127
127
|
</tr>
|
128
128
|
<tr>
|
129
129
|
<td class="parameter_name"><p>id</p></td>
|
130
|
-
<td class="parameter_description"><p> An element's id within the SVG, or <a href="
|
130
|
+
<td class="parameter_description"><p> An element's id within the SVG, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to render
|
131
131
|
the whole SVG. For example, if you have a layer called "layer1"
|
132
132
|
that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p></td>
|
133
133
|
<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>
|
@@ -137,7 +137,7 @@ that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p
|
|
137
137
|
</div>
|
138
138
|
<div class="refsect3">
|
139
139
|
<a name="id-1.2.5.5.3.6"></a><h4>Returns</h4>
|
140
|
-
<p> <a href="
|
140
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if drawing succeeded.</p>
|
141
141
|
<p></p>
|
142
142
|
</div>
|
143
143
|
<p class="since">Since 2.14</p>
|