rsvg2 3.1.1-x64-mingw32 → 3.1.2-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 +2 -2
- data/ext/rsvg2/extconf.rb +2 -2
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/2.3/rsvg2.so +0 -0
- data/lib/2.4/rsvg2.so +0 -0
- data/vendor/local/bin/croco-0.6-config +1 -1
- 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/libcroco-0.6/libcroco/libcroco-config.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +2 -2
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.a +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 +3 -3
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +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/libcroco/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +23 -23
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +15 -15
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +17 -17
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +41 -41
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +21 -21
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +11 -11
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +55 -55
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +72 -72
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +19 -19
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +21 -21
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +62 -62
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +17 -17
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +32 -32
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +11 -11
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +33 -33
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +15 -15
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +8 -8
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +7 -7
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +5 -5
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +9 -9
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +16 -23
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +176 -185
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +6 -7
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +5 -6
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +17 -7
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +57 -61
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +77 -83
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +22 -25
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +43 -42
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +4 -5
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +9 -6
- data/vendor/local/share/thumbnailers/librsvg.thumbnailer +4 -0
- metadata +8 -8
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +0 -106
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>RSVG
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>Using RSVG with GdkPixbuf: RSVG Libary Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.0">
|
7
7
|
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
8
|
<link rel="up" href="rsvg.html" title="Part I. API Reference">
|
9
9
|
<link rel="prev" href="rsvg-Using-RSVG-with-cairo.html" title="Using RSVG with cairo">
|
10
10
|
<link rel="next" href="rsvg-Version-check-and-feature-tests.html" title="Version check and feature tests">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (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">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</tr></table></div>
|
35
35
|
<div class="refsect1">
|
36
36
|
<a name="rsvg-Using-RSVG-with-GdkPixbuf.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
38
|
<colgroup>
|
39
39
|
<col width="150px" class="functions_return">
|
40
40
|
<col class="functions_name">
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<tbody>
|
43
43
|
<tr>
|
44
44
|
<td class="function_type">
|
45
|
-
<a href="
|
45
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
46
46
|
</td>
|
47
47
|
<td class="function_name">
|
48
48
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf" title="rsvg_handle_get_pixbuf ()">rsvg_handle_get_pixbuf</a> <span class="c_punctuation">()</span>
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</tr>
|
51
51
|
<tr>
|
52
52
|
<td class="function_type">
|
53
|
-
<a href="
|
53
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
54
54
|
</td>
|
55
55
|
<td class="function_name">
|
56
56
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf-sub" title="rsvg_handle_get_pixbuf_sub ()">rsvg_handle_get_pixbuf_sub</a> <span class="c_punctuation">()</span>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
</tr>
|
59
59
|
<tr>
|
60
60
|
<td class="function_type">
|
61
|
-
<a href="
|
61
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
62
62
|
</td>
|
63
63
|
<td class="function_name">
|
64
64
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file" title="rsvg_pixbuf_from_file ()">rsvg_pixbuf_from_file</a> <span class="c_punctuation">()</span>
|
@@ -66,7 +66,7 @@
|
|
66
66
|
</tr>
|
67
67
|
<tr>
|
68
68
|
<td class="function_type">
|
69
|
-
<a href="
|
69
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
70
70
|
</td>
|
71
71
|
<td class="function_name">
|
72
72
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom" title="rsvg_pixbuf_from_file_at_zoom ()">rsvg_pixbuf_from_file_at_zoom</a> <span class="c_punctuation">()</span>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
</tr>
|
75
75
|
<tr>
|
76
76
|
<td class="function_type">
|
77
|
-
<a href="
|
77
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
78
78
|
</td>
|
79
79
|
<td class="function_name">
|
80
80
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-size" title="rsvg_pixbuf_from_file_at_size ()">rsvg_pixbuf_from_file_at_size</a> <span class="c_punctuation">()</span>
|
@@ -82,7 +82,7 @@
|
|
82
82
|
</tr>
|
83
83
|
<tr>
|
84
84
|
<td class="function_type">
|
85
|
-
<a href="
|
85
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
86
86
|
</td>
|
87
87
|
<td class="function_name">
|
88
88
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-max-size" title="rsvg_pixbuf_from_file_at_max_size ()">rsvg_pixbuf_from_file_at_max_size</a> <span class="c_punctuation">()</span>
|
@@ -90,7 +90,7 @@
|
|
90
90
|
</tr>
|
91
91
|
<tr>
|
92
92
|
<td class="function_type">
|
93
|
-
<a href="
|
93
|
+
<a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
94
94
|
</td>
|
95
95
|
<td class="function_name">
|
96
96
|
<a class="link" href="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom-with-max" title="rsvg_pixbuf_from_file_at_zoom_with_max ()">rsvg_pixbuf_from_file_at_zoom_with_max</a> <span class="c_punctuation">()</span>
|
@@ -108,18 +108,18 @@ cross-platform GTK+ widget toolkit.</p>
|
|
108
108
|
<a name="rsvg-Using-RSVG-with-GdkPixbuf.functions_details"></a><h2>Functions</h2>
|
109
109
|
<div class="refsect2">
|
110
110
|
<a name="rsvg-handle-get-pixbuf"></a><h3>rsvg_handle_get_pixbuf ()</h3>
|
111
|
-
<pre class="programlisting"><a href="
|
111
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
112
112
|
rsvg_handle_get_pixbuf (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
113
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="/usr/share/gtk-doc/html/glibglib-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>
|
120
120
|
<div class="refsect3">
|
121
|
-
<a name="
|
122
|
-
<div class="informaltable"><table width="100%" border="0">
|
121
|
+
<a name="rsvg-handle-get-pixbuf.parameters"></a><h4>Parameters</h4>
|
122
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
123
123
|
<colgroup>
|
124
124
|
<col width="150px" class="parameters_name">
|
125
125
|
<col class="parameters_description">
|
@@ -133,28 +133,28 @@ will be returned. Note that the pixbuf may not be complete until
|
|
133
133
|
</table></div>
|
134
134
|
</div>
|
135
135
|
<div class="refsect3">
|
136
|
-
<a name="
|
136
|
+
<a name="rsvg-handle-get-pixbuf.returns"></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="/usr/share/gtk-doc/html/glibglib-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>
|
142
142
|
<hr>
|
143
143
|
<div class="refsect2">
|
144
144
|
<a name="rsvg-handle-get-pixbuf-sub"></a><h3>rsvg_handle_get_pixbuf_sub ()</h3>
|
145
|
-
<pre class="programlisting"><a href="
|
145
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
146
146
|
rsvg_handle_get_pixbuf_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
147
147
|
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
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="/usr/share/gtk-doc/html/glibglib-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>
|
155
155
|
<div class="refsect3">
|
156
|
-
<a name="
|
157
|
-
<div class="informaltable"><table width="100%" border="0">
|
156
|
+
<a name="rsvg-handle-get-pixbuf-sub.parameters"></a><h4>Parameters</h4>
|
157
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
158
158
|
<colgroup>
|
159
159
|
<col width="150px" class="parameters_name">
|
160
160
|
<col class="parameters_description">
|
@@ -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="/usr/share/gtk-doc/html/glibglib-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>
|
@@ -177,31 +177,31 @@ render the whole SVG. For example, if you have a layer called
|
|
177
177
|
</table></div>
|
178
178
|
</div>
|
179
179
|
<div class="refsect3">
|
180
|
-
<a name="
|
180
|
+
<a name="rsvg-handle-get-pixbuf-sub.returns"></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="/usr/share/gtk-doc/html/glibglib-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
|
-
<p class="since">Since 2.14</p>
|
185
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
186
186
|
</div>
|
187
187
|
<hr>
|
188
188
|
<div class="refsect2">
|
189
189
|
<a name="rsvg-pixbuf-from-file"></a><h3>rsvg_pixbuf_from_file ()</h3>
|
190
|
-
<pre class="programlisting"><a href="
|
191
|
-
rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="/
|
192
|
-
<em class="parameter"><code><a href="/
|
190
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
191
|
+
rsvg_pixbuf_from_file (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
192
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-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>
|
196
196
|
</div>
|
197
|
-
<p>Loads a new <a href="
|
197
|
+
<p>Loads a new <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
|
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="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
202
202
|
<div class="refsect3">
|
203
|
-
<a name="
|
204
|
-
<div class="informaltable"><table width="100%" border="0">
|
203
|
+
<a name="rsvg-pixbuf-from-file.parameters"></a><h4>Parameters</h4>
|
204
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
205
205
|
<colgroup>
|
206
206
|
<col width="150px" class="parameters_name">
|
207
207
|
<col class="parameters_description">
|
@@ -222,34 +222,33 @@ set and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-do
|
|
222
222
|
</table></div>
|
223
223
|
</div>
|
224
224
|
<div class="refsect3">
|
225
|
-
<a name="
|
226
|
-
<p> A newly allocated <a href="
|
227
|
-
<p></p>
|
225
|
+
<a name="rsvg-pixbuf-from-file.returns"></a><h4>Returns</h4>
|
226
|
+
<p> A newly allocated <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
228
227
|
</div>
|
229
228
|
</div>
|
230
229
|
<hr>
|
231
230
|
<div class="refsect2">
|
232
231
|
<a name="rsvg-pixbuf-from-file-at-zoom"></a><h3>rsvg_pixbuf_from_file_at_zoom ()</h3>
|
233
|
-
<pre class="programlisting"><a href="
|
234
|
-
rsvg_pixbuf_from_file_at_zoom (<em class="parameter"><code>const <a href="/
|
232
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
233
|
+
rsvg_pixbuf_from_file_at_zoom (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
235
234
|
<em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
|
236
235
|
<em class="parameter"><code><span class="type">double</span> y_zoom</code></em>,
|
237
|
-
<em class="parameter"><code><a href="/
|
236
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
238
237
|
<div class="warning">
|
239
238
|
<p><code class="literal">rsvg_pixbuf_from_file_at_zoom</code> is deprecated and should not be used in newly-written code.</p>
|
240
239
|
<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>
|
241
240
|
</div>
|
242
|
-
<p>Loads a new <a href="
|
241
|
+
<p>Loads a new <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
|
243
242
|
and returns it. This pixbuf is scaled
|
244
243
|
from the size indicated by the file by a factor of <em class="parameter"><code>x_zoom</code></em>
|
245
244
|
and <em class="parameter"><code>y_zoom</code></em>
|
246
245
|
. The
|
247
246
|
caller must assume the reference to the returned pixbuf. If an error
|
248
247
|
occurred, <em class="parameter"><code>error</code></em>
|
249
|
-
is set and <a href="/
|
248
|
+
is set and <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
250
249
|
<div class="refsect3">
|
251
|
-
<a name="
|
252
|
-
<div class="informaltable"><table width="100%" border="0">
|
250
|
+
<a name="rsvg-pixbuf-from-file-at-zoom.parameters"></a><h4>Parameters</h4>
|
251
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
253
252
|
<colgroup>
|
254
253
|
<col width="150px" class="parameters_name">
|
255
254
|
<col class="parameters_description">
|
@@ -280,24 +279,23 @@ occurred, <em class="parameter"><code>error</code></em>
|
|
280
279
|
</table></div>
|
281
280
|
</div>
|
282
281
|
<div class="refsect3">
|
283
|
-
<a name="
|
284
|
-
<p> A newly allocated <a href="
|
285
|
-
<p></p>
|
282
|
+
<a name="rsvg-pixbuf-from-file-at-zoom.returns"></a><h4>Returns</h4>
|
283
|
+
<p> A newly allocated <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
286
284
|
</div>
|
287
285
|
</div>
|
288
286
|
<hr>
|
289
287
|
<div class="refsect2">
|
290
288
|
<a name="rsvg-pixbuf-from-file-at-size"></a><h3>rsvg_pixbuf_from_file_at_size ()</h3>
|
291
|
-
<pre class="programlisting"><a href="
|
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="/
|
289
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
290
|
+
rsvg_pixbuf_from_file_at_size (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
291
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
292
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
293
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
296
294
|
<div class="warning">
|
297
295
|
<p><code class="literal">rsvg_pixbuf_from_file_at_size</code> is deprecated and should not be used in newly-written code.</p>
|
298
296
|
<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>
|
299
297
|
</div>
|
300
|
-
<p>Loads a new <a href="
|
298
|
+
<p>Loads a new <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
|
301
299
|
and returns it. This pixbuf is scaled
|
302
300
|
from the size indicated to the new size indicated by <em class="parameter"><code>width</code></em>
|
303
301
|
and <em class="parameter"><code>height</code></em>
|
@@ -305,10 +303,10 @@ from the size indicated to the new size indicated by <em class="parameter"><code
|
|
305
303
|
either of these are -1, then the default size of the image being loaded is
|
306
304
|
used. The caller must assume the reference to the returned pixbuf. If an
|
307
305
|
error occurred, <em class="parameter"><code>error</code></em>
|
308
|
-
is set and <a href="/
|
306
|
+
is set and <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
309
307
|
<div class="refsect3">
|
310
|
-
<a name="
|
311
|
-
<div class="informaltable"><table width="100%" border="0">
|
308
|
+
<a name="rsvg-pixbuf-from-file-at-size.parameters"></a><h4>Parameters</h4>
|
309
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
312
310
|
<colgroup>
|
313
311
|
<col width="150px" class="parameters_name">
|
314
312
|
<col class="parameters_description">
|
@@ -339,32 +337,31 @@ error occurred, <em class="parameter"><code>error</code></em>
|
|
339
337
|
</table></div>
|
340
338
|
</div>
|
341
339
|
<div class="refsect3">
|
342
|
-
<a name="
|
343
|
-
<p> A newly allocated <a href="
|
344
|
-
<p></p>
|
340
|
+
<a name="rsvg-pixbuf-from-file-at-size.returns"></a><h4>Returns</h4>
|
341
|
+
<p> A newly allocated <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
345
342
|
</div>
|
346
343
|
</div>
|
347
344
|
<hr>
|
348
345
|
<div class="refsect2">
|
349
346
|
<a name="rsvg-pixbuf-from-file-at-max-size"></a><h3>rsvg_pixbuf_from_file_at_max_size ()</h3>
|
350
|
-
<pre class="programlisting"><a href="
|
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="/
|
347
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
348
|
+
rsvg_pixbuf_from_file_at_max_size (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
349
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
|
350
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
|
351
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
355
352
|
<div class="warning">
|
356
353
|
<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
354
|
<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>
|
358
355
|
</div>
|
359
|
-
<p>Loads a new <a href="
|
356
|
+
<p>Loads a new <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
|
360
357
|
and returns it. This pixbuf is uniformly
|
361
358
|
scaled so that the it fits into a rectangle of size max_width * max_height. The
|
362
359
|
caller must assume the reference to the returned pixbuf. If an error occurred,
|
363
360
|
<em class="parameter"><code>error</code></em>
|
364
|
-
is set and <a href="/
|
361
|
+
is set and <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
365
362
|
<div class="refsect3">
|
366
|
-
<a name="
|
367
|
-
<div class="informaltable"><table width="100%" border="0">
|
363
|
+
<a name="rsvg-pixbuf-from-file-at-max-size.parameters"></a><h4>Parameters</h4>
|
364
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
368
365
|
<colgroup>
|
369
366
|
<col width="150px" class="parameters_name">
|
370
367
|
<col class="parameters_description">
|
@@ -395,27 +392,26 @@ caller must assume the reference to the returned pixbuf. If an error occurred,
|
|
395
392
|
</table></div>
|
396
393
|
</div>
|
397
394
|
<div class="refsect3">
|
398
|
-
<a name="
|
399
|
-
<p> A newly allocated <a href="
|
400
|
-
<p></p>
|
395
|
+
<a name="rsvg-pixbuf-from-file-at-max-size.returns"></a><h4>Returns</h4>
|
396
|
+
<p> A newly allocated <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
401
397
|
</div>
|
402
398
|
</div>
|
403
399
|
<hr>
|
404
400
|
<div class="refsect2">
|
405
401
|
<a name="rsvg-pixbuf-from-file-at-zoom-with-max"></a><h3>rsvg_pixbuf_from_file_at_zoom_with_max ()</h3>
|
406
|
-
<pre class="programlisting"><a href="
|
402
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
407
403
|
rsvg_pixbuf_from_file_at_zoom_with_max
|
408
|
-
(<em class="parameter"><code>const <a href="/
|
404
|
+
(<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
409
405
|
<em class="parameter"><code><span class="type">double</span> x_zoom</code></em>,
|
410
406
|
<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="/
|
407
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> max_width</code></em>,
|
408
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> max_height</code></em>,
|
409
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
414
410
|
<div class="warning">
|
415
411
|
<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
412
|
<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>
|
417
413
|
</div>
|
418
|
-
<p>Loads a new <a href="
|
414
|
+
<p>Loads a new <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> from <em class="parameter"><code>file_name</code></em>
|
419
415
|
and returns it. This pixbuf is scaled
|
420
416
|
from the size indicated by the file by a factor of <em class="parameter"><code>x_zoom</code></em>
|
421
417
|
and <em class="parameter"><code>y_zoom</code></em>
|
@@ -423,10 +419,10 @@ from the size indicated by the file by a factor of <em class="parameter"><code>x
|
|
423
419
|
resulting pixbuf would be larger than max_width/max_heigh it is uniformly scaled
|
424
420
|
down to fit in that rectangle. The caller must assume the reference to the
|
425
421
|
returned pixbuf. If an error occurred, <em class="parameter"><code>error</code></em>
|
426
|
-
is set and <a href="/
|
422
|
+
is set and <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
427
423
|
<div class="refsect3">
|
428
|
-
<a name="
|
429
|
-
<div class="informaltable"><table width="100%" border="0">
|
424
|
+
<a name="rsvg-pixbuf-from-file-at-zoom-with-max.parameters"></a><h4>Parameters</h4>
|
425
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
430
426
|
<colgroup>
|
431
427
|
<col width="150px" class="parameters_name">
|
432
428
|
<col class="parameters_description">
|
@@ -467,9 +463,8 @@ returned pixbuf. If an error occurred, <em class="parameter"><code>error</code><
|
|
467
463
|
</table></div>
|
468
464
|
</div>
|
469
465
|
<div class="refsect3">
|
470
|
-
<a name="
|
471
|
-
<p> A newly allocated <a href="
|
472
|
-
<p></p>
|
466
|
+
<a name="rsvg-pixbuf-from-file-at-zoom-with-max.returns"></a><h4>Returns</h4>
|
467
|
+
<p> A newly allocated <a href="/usr/share/gtk-doc/html/gdk-pixbufgdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
473
468
|
</div>
|
474
469
|
</div>
|
475
470
|
</div>
|
@@ -478,7 +473,6 @@ returned pixbuf. If an error occurred, <em class="parameter"><code>error</code><
|
|
478
473
|
</div>
|
479
474
|
</div>
|
480
475
|
<div class="footer">
|
481
|
-
<hr>
|
482
|
-
Generated by GTK-Doc V1.21</div>
|
476
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
483
477
|
</body>
|
484
478
|
</html>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>RSVG
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>Using RSVG with cairo: RSVG Libary Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.0">
|
7
7
|
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
8
|
<link rel="up" href="rsvg.html" title="Part I. API Reference">
|
9
9
|
<link rel="prev" href="rsvg-Using-RSVG-with-GIO.html" title="Using RSVG with GIO">
|
10
10
|
<link rel="next" href="rsvg-Using-RSVG-with-GdkPixbuf.html" title="Using RSVG with GdkPixbuf">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (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">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="rsvg-Using-RSVG-with-cairo.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a href="/
|
44
|
+
<a href="/usr/share/gtk-doc/html/glibglib-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="/usr/share/gtk-doc/html/glibglib-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,13 +65,13 @@
|
|
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="/usr/share/gtk-doc/html/glibglib-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
|
-
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/
|
70
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairocairo-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>
|
72
72
|
<div class="refsect3">
|
73
|
-
<a name="
|
74
|
-
<div class="informaltable"><table width="100%" border="0">
|
73
|
+
<a name="rsvg-handle-render-cairo.parameters"></a><h4>Parameters</h4>
|
74
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
75
75
|
<colgroup>
|
76
76
|
<col width="150px" class="parameters_name">
|
77
77
|
<col class="parameters_description">
|
@@ -92,23 +92,22 @@ rsvg_handle_render_cairo (<em class="parameter"><code><a class="link" href="Rsvg
|
|
92
92
|
</table></div>
|
93
93
|
</div>
|
94
94
|
<div class="refsect3">
|
95
|
-
<a name="
|
96
|
-
<p> <a href="/
|
97
|
-
<p></p>
|
95
|
+
<a name="rsvg-handle-render-cairo.returns"></a><h4>Returns</h4>
|
96
|
+
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if drawing succeeded.</p>
|
98
97
|
</div>
|
99
|
-
<p class="since">Since 2.14</p>
|
98
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
100
99
|
</div>
|
101
100
|
<hr>
|
102
101
|
<div class="refsect2">
|
103
102
|
<a name="rsvg-handle-render-cairo-sub"></a><h3>rsvg_handle_render_cairo_sub ()</h3>
|
104
|
-
<pre class="programlisting"><a href="/
|
103
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
105
104
|
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
|
-
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/
|
105
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairocairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
107
106
|
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
108
107
|
<p>Draws a subset of a SVG to a Cairo surface</p>
|
109
108
|
<div class="refsect3">
|
110
|
-
<a name="
|
111
|
-
<div class="informaltable"><table width="100%" border="0">
|
109
|
+
<a name="rsvg-handle-render-cairo-sub.parameters"></a><h4>Parameters</h4>
|
110
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
112
111
|
<colgroup>
|
113
112
|
<col width="150px" class="parameters_name">
|
114
113
|
<col class="parameters_description">
|
@@ -127,7 +126,7 @@ rsvg_handle_render_cairo_sub (<em class="parameter"><code><a class="link" href="
|
|
127
126
|
</tr>
|
128
127
|
<tr>
|
129
128
|
<td class="parameter_name"><p>id</p></td>
|
130
|
-
<td class="parameter_description"><p> An element's id within the SVG, or <a href="/
|
129
|
+
<td class="parameter_description"><p> An element's id within the SVG, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to render
|
131
130
|
the whole SVG. For example, if you have a layer called "layer1"
|
132
131
|
that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p></td>
|
133
132
|
<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>
|
@@ -136,11 +135,10 @@ that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p
|
|
136
135
|
</table></div>
|
137
136
|
</div>
|
138
137
|
<div class="refsect3">
|
139
|
-
<a name="
|
140
|
-
<p> <a href="/
|
141
|
-
<p></p>
|
138
|
+
<a name="rsvg-handle-render-cairo-sub.returns"></a><h4>Returns</h4>
|
139
|
+
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if drawing succeeded.</p>
|
142
140
|
</div>
|
143
|
-
<p class="since">Since 2.14</p>
|
141
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
144
142
|
</div>
|
145
143
|
</div>
|
146
144
|
<div class="refsect1">
|
@@ -148,7 +146,6 @@ that you wish to render, pass "#<span class="type">layer1</span>" as the id. </p
|
|
148
146
|
</div>
|
149
147
|
</div>
|
150
148
|
<div class="footer">
|
151
|
-
<hr>
|
152
|
-
Generated by GTK-Doc V1.21</div>
|
149
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
153
150
|
</body>
|
154
151
|
</html>
|