rsvg2 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README +35 -0
- data/Rakefile +69 -0
- data/ext/rsvg2/depend +6 -0
- data/ext/rsvg2/extconf.rb +89 -0
- data/ext/rsvg2/rbrsvg.c +206 -0
- data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
- data/ext/rsvg2/rbrsvghandle.c +496 -0
- data/ext/rsvg2/rsvg2.def +2 -0
- data/ext/rsvg2/rsvg2.h +70 -0
- data/extconf.rb +49 -0
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/rsvg2.rb +33 -0
- data/sample/svg-viewer.rb +44 -0
- data/sample/svg2.rb +60 -0
- data/test/rsvg2-test-utils.rb +23 -0
- data/test/run-test.rb +49 -0
- data/test/test-handle.rb +91 -0
- data/vendor/local/bin/croco-0.6-config +87 -0
- 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/cr-additional-sel.h +98 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
- 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/libcroco-0.6.la +41 -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 +41 -0
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
- data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- data/vendor/local/share/license/libcroco/AUTHORS +13 -0
- data/vendor/local/share/license/libcroco/COPYING +481 -0
- data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
- data/vendor/local/share/license/librsvg/AUTHORS +1 -0
- data/vendor/local/share/license/librsvg/COPYING +340 -0
- data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
- data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
- metadata +209 -0
Binary file
|
Binary file
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>RSVG Libary Reference Manual: Appendix A. Licence</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="RSVG Libary Reference Manual">
|
9
|
+
<link rel="prev" href="annotation-glossary.html" title="Annotation Glossary">
|
10
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
11
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
12
|
+
</head>
|
13
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
14
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
15
|
+
<td width="100%" align="left" class="shortcuts"></td>
|
16
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
17
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
18
|
+
<td><a accesskey="p" href="annotation-glossary.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
19
|
+
<td><img src="right-insensitive.png" width="16" height="16" border="0"></td>
|
20
|
+
</tr></table>
|
21
|
+
<div class="appendix">
|
22
|
+
<div class="titlepage"><div><div><h1 class="title">
|
23
|
+
<a name="licence"></a>Appendix A. Licence</h1></div></div></div>
|
24
|
+
<p>
|
25
|
+
This library is free software; you can redistribute it and/or
|
26
|
+
modify it under the terms of the <em class="citetitle">GNU General Public
|
27
|
+
Licence</em> as published by the Free Software Foundation; either
|
28
|
+
version 2 of the Licence, or (at your option) any later version.
|
29
|
+
</p>
|
30
|
+
<p>
|
31
|
+
This library is distributed in the hope that it will be useful,
|
32
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
33
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
34
|
+
<em class="citetitle">GNU General Public Licence</em> for
|
35
|
+
more details.
|
36
|
+
</p>
|
37
|
+
<p>
|
38
|
+
You may obtain a copy of the <em class="citetitle">GNU General Public Licence</em>
|
39
|
+
from the Free Software Foundation at
|
40
|
+
<a class="ulink" href="http://www.gnu.org/licences/" target="_top">GNU Licences web site</a>
|
41
|
+
or by writing to:
|
42
|
+
|
43
|
+
</p>
|
44
|
+
<div class="address"><p><br>
|
45
|
+
The Free Software Foundation, Inc.,<br>
|
46
|
+
<span class="street">51 Franklin St</span> – Fifth Floor,<br>
|
47
|
+
<span class="city">Boston</span>, <span class="state">MA</span> <span class="postcode">02110-1301</span>,<br>
|
48
|
+
<span class="country">USA</span><br>
|
49
|
+
</p></div>
|
50
|
+
<p>
|
51
|
+
</p>
|
52
|
+
</div>
|
53
|
+
<div class="footer">
|
54
|
+
<hr>
|
55
|
+
Generated by GTK-Doc V1.21</div>
|
56
|
+
</body>
|
57
|
+
</html>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>RSVG Libary Reference Manual: Object Hierarchy</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="RSVG Libary Reference Manual">
|
9
|
+
<link rel="prev" href="rsvg-Version-check-and-feature-tests.html" title="Version check and feature tests">
|
10
|
+
<link rel="next" href="api-index-full.html" title="API Index">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts"></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
|
+
<td><a accesskey="p" href="rsvg-Version-check-and-feature-tests.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h1 class="title">
|
24
|
+
<a name="object-tree"></a>Object Hierarchy</h1></div></div></div>
|
25
|
+
<pre class="screen">
|
26
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
27
|
+
<span class="lineart">╰──</span> <a class="link" href="RsvgHandle.html" title="RsvgHandle">RsvgHandle</a>
|
28
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
29
|
+
<span class="lineart">╰──</span> <a class="link" href="RsvgHandle.html#RsvgError" title="enum RsvgError">RsvgError</a>
|
30
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
31
|
+
<span class="lineart">╰──</span> <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags">RsvgHandleFlags</a>
|
32
|
+
</pre>
|
33
|
+
</div>
|
34
|
+
<div class="footer">
|
35
|
+
<hr>
|
36
|
+
Generated by GTK-Doc V1.21</div>
|
37
|
+
</body>
|
38
|
+
</html>
|
Binary file
|
Binary file
|
@@ -0,0 +1,94 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
+
<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
|
3
|
+
<book xmlns="http://www.devhelp.net/book" title="RSVG Libary Reference Manual" link="index.html" author="" name="rsvg" version="2" language="c">
|
4
|
+
<chapters>
|
5
|
+
<sub name="API Reference" link="rsvg.html">
|
6
|
+
<sub name="RsvgHandle" link="RsvgHandle.html"/>
|
7
|
+
<sub name="Using RSVG with GIO" link="rsvg-Using-RSVG-with-GIO.html"/>
|
8
|
+
<sub name="Using RSVG with cairo" link="rsvg-Using-RSVG-with-cairo.html"/>
|
9
|
+
<sub name="Using RSVG with GdkPixbuf" link="rsvg-Using-RSVG-with-GdkPixbuf.html"/>
|
10
|
+
<sub name="Version check and feature tests" link="rsvg-Version-check-and-feature-tests.html"/>
|
11
|
+
</sub>
|
12
|
+
<sub name="Object Hierarchy" link="object-tree.html"/>
|
13
|
+
<sub name="API Index" link="api-index-full.html"/>
|
14
|
+
<sub name="Index of deprecated symbols" link="api-index-deprecated.html"/>
|
15
|
+
<sub name="Index of new symbols in 2.4" link="api-index-2-4.html"/>
|
16
|
+
<sub name="Index of new symbols in 2.8" link="api-index-2-8.html"/>
|
17
|
+
<sub name="Index of new symbols in 2.9" link="api-index-2-9.html"/>
|
18
|
+
<sub name="Index of new symbols in 2.14" link="api-index-2-14.html"/>
|
19
|
+
<sub name="Index of new symbols in 2.22" link="api-index-2-22.html"/>
|
20
|
+
<sub name="Index of new symbols in 2.32" link="api-index-2-32.html"/>
|
21
|
+
<sub name="Index of new symbols in 2.32" link="api-index-2-36.html"/>
|
22
|
+
<sub name="Annotation Glossary" link="annotation-glossary.html"/>
|
23
|
+
<sub name="Licence" link="licence.html"/>
|
24
|
+
</chapters>
|
25
|
+
<functions>
|
26
|
+
<keyword type="macro" name="RSVG_ERROR" link="RsvgHandle.html#RSVG-ERROR:CAPS"/>
|
27
|
+
<keyword type="function" name="rsvg_error_quark ()" link="RsvgHandle.html#rsvg-error-quark"/>
|
28
|
+
<keyword type="function" name="rsvg_cleanup ()" link="RsvgHandle.html#rsvg-cleanup" since="2.36"/>
|
29
|
+
<keyword type="function" name="rsvg_set_default_dpi ()" link="RsvgHandle.html#rsvg-set-default-dpi" since="2.8"/>
|
30
|
+
<keyword type="function" name="rsvg_set_default_dpi_x_y ()" link="RsvgHandle.html#rsvg-set-default-dpi-x-y" since="2.8"/>
|
31
|
+
<keyword type="function" name="rsvg_handle_set_dpi ()" link="RsvgHandle.html#rsvg-handle-set-dpi" since="2.8"/>
|
32
|
+
<keyword type="function" name="rsvg_handle_set_dpi_x_y ()" link="RsvgHandle.html#rsvg-handle-set-dpi-x-y" since="2.8"/>
|
33
|
+
<keyword type="function" name="rsvg_handle_new ()" link="RsvgHandle.html#rsvg-handle-new"/>
|
34
|
+
<keyword type="function" name="rsvg_handle_new_with_flags ()" link="RsvgHandle.html#rsvg-handle-new-with-flags" since="2.36"/>
|
35
|
+
<keyword type="function" name="rsvg_handle_write ()" link="RsvgHandle.html#rsvg-handle-write"/>
|
36
|
+
<keyword type="function" name="rsvg_handle_close ()" link="RsvgHandle.html#rsvg-handle-close"/>
|
37
|
+
<keyword type="function" name="rsvg_handle_get_base_uri ()" link="RsvgHandle.html#rsvg-handle-get-base-uri" since="2.8"/>
|
38
|
+
<keyword type="function" name="rsvg_handle_set_base_uri ()" link="RsvgHandle.html#rsvg-handle-set-base-uri" since="2.9"/>
|
39
|
+
<keyword type="function" name="rsvg_handle_get_dimensions ()" link="RsvgHandle.html#rsvg-handle-get-dimensions" since="2.14"/>
|
40
|
+
<keyword type="function" name="rsvg_handle_get_dimensions_sub ()" link="RsvgHandle.html#rsvg-handle-get-dimensions-sub" since="2.22"/>
|
41
|
+
<keyword type="function" name="rsvg_handle_get_position_sub ()" link="RsvgHandle.html#rsvg-handle-get-position-sub" since="2.22"/>
|
42
|
+
<keyword type="function" name="rsvg_handle_has_sub ()" link="RsvgHandle.html#rsvg-handle-has-sub" since="2.22"/>
|
43
|
+
<keyword type="function" name="rsvg_handle_get_title ()" link="RsvgHandle.html#rsvg-handle-get-title" deprecated="2.36" since="2.4"/>
|
44
|
+
<keyword type="function" name="rsvg_handle_get_desc ()" link="RsvgHandle.html#rsvg-handle-get-desc" deprecated="2.36" since="2.4"/>
|
45
|
+
<keyword type="function" name="rsvg_handle_get_metadata ()" link="RsvgHandle.html#rsvg-handle-get-metadata" deprecated="2.36" since="2.9"/>
|
46
|
+
<keyword type="function" name="rsvg_handle_new_from_data ()" link="RsvgHandle.html#rsvg-handle-new-from-data" since="2.14"/>
|
47
|
+
<keyword type="function" name="rsvg_handle_new_from_file ()" link="RsvgHandle.html#rsvg-handle-new-from-file" since="2.14"/>
|
48
|
+
<keyword type="function" name="rsvg_error_get_type ()" link="RsvgHandle.html#rsvg-error-get-type"/>
|
49
|
+
<keyword type="macro" name="RSVG_TYPE_ERROR" link="RsvgHandle.html#RSVG-TYPE-ERROR:CAPS"/>
|
50
|
+
<keyword type="function" name="rsvg_init ()" link="RsvgHandle.html#rsvg-init" deprecated="2.36: Use g_type_init()" since="2.9"/>
|
51
|
+
<keyword type="function" name="rsvg_term ()" link="RsvgHandle.html#rsvg-term" deprecated="2.36" since="2.9"/>
|
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="Set up a cairo matrix and use rsvg_handle_render_cairo() instead."/>
|
54
|
+
<keyword type="enum" name="enum RsvgError" link="RsvgHandle.html#RsvgError"/>
|
55
|
+
<keyword type="struct" name="struct RsvgHandle" link="RsvgHandle.html#RsvgHandle-struct"/>
|
56
|
+
<keyword type="typedef" name="RsvgHandlePrivate" link="RsvgHandle.html#RsvgHandlePrivate"/>
|
57
|
+
<keyword type="struct" name="struct RsvgHandleClass" link="RsvgHandle.html#RsvgHandleClass"/>
|
58
|
+
<keyword type="struct" name="struct RsvgDimensionData" link="RsvgHandle.html#RsvgDimensionData"/>
|
59
|
+
<keyword type="struct" name="struct RsvgPositionData" link="RsvgHandle.html#RsvgPositionData"/>
|
60
|
+
<keyword type="property" name="The “base-uri” property" link="RsvgHandle.html#RsvgHandle--base-uri"/>
|
61
|
+
<keyword type="property" name="The “desc” property" link="RsvgHandle.html#RsvgHandle--desc"/>
|
62
|
+
<keyword type="property" name="The “dpi-x” property" link="RsvgHandle.html#RsvgHandle--dpi-x"/>
|
63
|
+
<keyword type="property" name="The “dpi-y” property" link="RsvgHandle.html#RsvgHandle--dpi-y"/>
|
64
|
+
<keyword type="property" name="The “em” property" link="RsvgHandle.html#RsvgHandle--em"/>
|
65
|
+
<keyword type="property" name="The “ex” property" link="RsvgHandle.html#RsvgHandle--ex"/>
|
66
|
+
<keyword type="property" name="The “flags” property" link="RsvgHandle.html#RsvgHandle--flags"/>
|
67
|
+
<keyword type="property" name="The “height” property" link="RsvgHandle.html#RsvgHandle--height"/>
|
68
|
+
<keyword type="property" name="The “metadata” property" link="RsvgHandle.html#RsvgHandle--metadata"/>
|
69
|
+
<keyword type="property" name="The “title” property" link="RsvgHandle.html#RsvgHandle--title"/>
|
70
|
+
<keyword type="property" name="The “width” property" link="RsvgHandle.html#RsvgHandle--width"/>
|
71
|
+
<keyword type="function" name="rsvg_handle_set_base_gfile ()" link="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-set-base-gfile" since="2.32"/>
|
72
|
+
<keyword type="function" name="rsvg_handle_read_stream_sync ()" link="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-sync" since="2.32"/>
|
73
|
+
<keyword type="function" name="rsvg_handle_new_from_gfile_sync ()" link="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-gfile-sync" since="2.32"/>
|
74
|
+
<keyword type="function" name="rsvg_handle_new_from_stream_sync ()" link="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-stream-sync" since="2.32"/>
|
75
|
+
<keyword type="enum" name="enum RsvgHandleFlags" link="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"/>
|
76
|
+
<keyword type="function" name="rsvg_handle_render_cairo ()" link="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" since="2.14"/>
|
77
|
+
<keyword type="function" name="rsvg_handle_render_cairo_sub ()" link="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo-sub" since="2.14"/>
|
78
|
+
<keyword type="function" name="rsvg_handle_get_pixbuf ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf"/>
|
79
|
+
<keyword type="function" name="rsvg_handle_get_pixbuf_sub ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf-sub" since="2.14"/>
|
80
|
+
<keyword type="function" name="rsvg_pixbuf_from_file ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file" deprecated="Set up a cairo matrix and use rsvg_handle_new_from_file() + rsvg_handle_render_cairo() instead."/>
|
81
|
+
<keyword type="function" name="rsvg_pixbuf_from_file_at_zoom ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom" deprecated="Set up a cairo matrix and use rsvg_handle_new_from_file() + rsvg_handle_render_cairo() instead."/>
|
82
|
+
<keyword type="function" name="rsvg_pixbuf_from_file_at_size ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-size" deprecated="Set up a cairo matrix and use rsvg_handle_new_from_file() + rsvg_handle_render_cairo() instead."/>
|
83
|
+
<keyword type="function" name="rsvg_pixbuf_from_file_at_max_size ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-max-size" deprecated="Set up a cairo matrix and use rsvg_handle_new_from_file() + rsvg_handle_render_cairo() instead."/>
|
84
|
+
<keyword type="function" name="rsvg_pixbuf_from_file_at_zoom_with_max ()" link="rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom-with-max" deprecated="Set up a cairo matrix and use rsvg_handle_new_from_file() + rsvg_handle_render_cairo() instead."/>
|
85
|
+
<keyword type="macro" name="LIBRSVG_MAJOR_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-MAJOR-VERSION:CAPS"/>
|
86
|
+
<keyword type="macro" name="LIBRSVG_MINOR_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-MINOR-VERSION:CAPS"/>
|
87
|
+
<keyword type="macro" name="LIBRSVG_MICRO_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-MICRO-VERSION:CAPS"/>
|
88
|
+
<keyword type="macro" name="LIBRSVG_CHECK_VERSION()" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-CHECK-VERSION:CAPS"/>
|
89
|
+
<keyword type="macro" name="LIBRSVG_HAVE_SVGZ" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-HAVE-SVGZ:CAPS"/>
|
90
|
+
<keyword type="macro" name="LIBRSVG_HAVE_CSS" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-HAVE-CSS:CAPS"/>
|
91
|
+
<keyword type="macro" name="LIBRSVG_CHECK_FEATURE()" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-CHECK-FEATURE:CAPS"/>
|
92
|
+
<keyword type="macro" name="LIBRSVG_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-VERSION:CAPS"/>
|
93
|
+
</functions>
|
94
|
+
</book>
|
@@ -0,0 +1,360 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>RSVG Libary Reference Manual: Using RSVG with GIO</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
|
+
<link rel="up" href="rsvg.html" title="Part I. API Reference">
|
9
|
+
<link rel="prev" href="RsvgHandle.html" title="RsvgHandle">
|
10
|
+
<link rel="next" href="rsvg-Using-RSVG-with-cairo.html" title="Using RSVG with cairo">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#rsvg-Using-RSVG-with-GIO.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#rsvg-Using-RSVG-with-GIO.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="rsvg.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="RsvgHandle.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="rsvg-Using-RSVG-with-cairo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
26
|
+
<div class="refentry">
|
27
|
+
<a name="rsvg-Using-RSVG-with-GIO"></a><div class="titlepage"></div>
|
28
|
+
<div class="refnamediv"><table width="100%"><tr>
|
29
|
+
<td valign="top">
|
30
|
+
<h2><span class="refentrytitle"><a name="rsvg-Using-RSVG-with-GIO.top_of_page"></a>Using RSVG with GIO</span></h2>
|
31
|
+
<p>Using RSVG with GIO</p>
|
32
|
+
</td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
|
+
</tr></table></div>
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="rsvg-Using-RSVG-with-GIO.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="function_type">
|
45
|
+
<span class="returnvalue">void</span>
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-set-base-gfile" title="rsvg_handle_set_base_gfile ()">rsvg_handle_set_base_gfile</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
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>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-gfile-sync" title="rsvg_handle_new_from_gfile_sync ()">rsvg_handle_new_from_gfile_sync</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="function_type">
|
69
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-stream-sync" title="rsvg_handle_new_from_stream_sync ()">rsvg_handle_new_from_stream_sync</a> <span class="c_punctuation">()</span>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
</tbody>
|
76
|
+
</table></div>
|
77
|
+
</div>
|
78
|
+
<div class="refsect1">
|
79
|
+
<a name="rsvg-Using-RSVG-with-GIO.other"></a><h2>Types and Values</h2>
|
80
|
+
<div class="informaltable"><table width="100%" border="0">
|
81
|
+
<colgroup>
|
82
|
+
<col width="150px" class="name">
|
83
|
+
<col class="description">
|
84
|
+
</colgroup>
|
85
|
+
<tbody><tr>
|
86
|
+
<td class="datatype_keyword">enum</td>
|
87
|
+
<td class="function_name"><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags">RsvgHandleFlags</a></td>
|
88
|
+
</tr></tbody>
|
89
|
+
</table></div>
|
90
|
+
</div>
|
91
|
+
<div class="refsect1">
|
92
|
+
<a name="rsvg-Using-RSVG-with-GIO.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
93
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
94
|
+
<span class="lineart">╰──</span> RsvgHandleFlags
|
95
|
+
</pre>
|
96
|
+
</div>
|
97
|
+
<div class="refsect1">
|
98
|
+
<a name="rsvg-Using-RSVG-with-GIO.description"></a><h2>Description</h2>
|
99
|
+
</div>
|
100
|
+
<div class="refsect1">
|
101
|
+
<a name="rsvg-Using-RSVG-with-GIO.functions_details"></a><h2>Functions</h2>
|
102
|
+
<div class="refsect2">
|
103
|
+
<a name="rsvg-handle-set-base-gfile"></a><h3>rsvg_handle_set_base_gfile ()</h3>
|
104
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>);</pre>
|
107
|
+
<p>Set the base URI for <em class="parameter"><code>handle</code></em>
|
108
|
+
from <em class="parameter"><code>file</code></em>
|
109
|
+
.
|
110
|
+
Note: This function may only be called before <a class="link" href="RsvgHandle.html#rsvg-handle-write" title="rsvg_handle_write ()"><code class="function">rsvg_handle_write()</code></a>
|
111
|
+
or <a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-sync" title="rsvg_handle_read_stream_sync ()"><code class="function">rsvg_handle_read_stream_sync()</code></a> has been called.</p>
|
112
|
+
<div class="refsect3">
|
113
|
+
<a name="id-1.2.4.7.2.5"></a><h4>Parameters</h4>
|
114
|
+
<div class="informaltable"><table width="100%" border="0">
|
115
|
+
<colgroup>
|
116
|
+
<col width="150px" class="parameters_name">
|
117
|
+
<col class="parameters_description">
|
118
|
+
<col width="200px" class="parameters_annotations">
|
119
|
+
</colgroup>
|
120
|
+
<tbody>
|
121
|
+
<tr>
|
122
|
+
<td class="parameter_name"><p>handle</p></td>
|
123
|
+
<td class="parameter_description"><p>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
124
|
+
<td class="parameter_annotations"> </td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="parameter_name"><p>base_file</p></td>
|
128
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a></p></td>
|
129
|
+
<td class="parameter_annotations"> </td>
|
130
|
+
</tr>
|
131
|
+
</tbody>
|
132
|
+
</table></div>
|
133
|
+
</div>
|
134
|
+
<p class="since">Since 2.32</p>
|
135
|
+
</div>
|
136
|
+
<hr>
|
137
|
+
<div class="refsect2">
|
138
|
+
<a name="rsvg-handle-read-stream-sync"></a><h3>rsvg_handle_read_stream_sync ()</h3>
|
139
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
|
142
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
143
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
144
|
+
<p>Reads <em class="parameter"><code>stream</code></em>
|
145
|
+
and writes the data from it to <em class="parameter"><code>handle</code></em>
|
146
|
+
.</p>
|
147
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
148
|
+
is not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
149
|
+
triggering the cancellable object from another thread. If the
|
150
|
+
operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code> will be
|
151
|
+
returned.</p>
|
152
|
+
<div class="refsect3">
|
153
|
+
<a name="id-1.2.4.7.3.6"></a><h4>Parameters</h4>
|
154
|
+
<div class="informaltable"><table width="100%" border="0">
|
155
|
+
<colgroup>
|
156
|
+
<col width="150px" class="parameters_name">
|
157
|
+
<col class="parameters_description">
|
158
|
+
<col width="200px" class="parameters_annotations">
|
159
|
+
</colgroup>
|
160
|
+
<tbody>
|
161
|
+
<tr>
|
162
|
+
<td class="parameter_name"><p>handle</p></td>
|
163
|
+
<td class="parameter_description"><p>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
164
|
+
<td class="parameter_annotations"> </td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="parameter_name"><p>stream</p></td>
|
168
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a></p></td>
|
169
|
+
<td class="parameter_annotations"> </td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
173
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
176
|
+
<tr>
|
177
|
+
<td class="parameter_name"><p>error</p></td>
|
178
|
+
<td class="parameter_description"><p> a location to store a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
181
|
+
</tbody>
|
182
|
+
</table></div>
|
183
|
+
</div>
|
184
|
+
<div class="refsect3">
|
185
|
+
<a name="id-1.2.4.7.3.7"></a><h4>Returns</h4>
|
186
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if reading <em class="parameter"><code>stream</code></em>
|
187
|
+
succeeded, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
|
188
|
+
with <em class="parameter"><code>error</code></em>
|
189
|
+
filled in</p>
|
190
|
+
<p></p>
|
191
|
+
</div>
|
192
|
+
<p class="since">Since 2.32</p>
|
193
|
+
</div>
|
194
|
+
<hr>
|
195
|
+
<div class="refsect2">
|
196
|
+
<a name="rsvg-handle-new-from-gfile-sync"></a><h3>rsvg_handle_new_from_gfile_sync ()</h3>
|
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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
201
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
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
|
+
.</p>
|
204
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
205
|
+
is not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
206
|
+
triggering the cancellable object from another thread. If the
|
207
|
+
operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code> will be
|
208
|
+
returned.</p>
|
209
|
+
<div class="refsect3">
|
210
|
+
<a name="id-1.2.4.7.4.6"></a><h4>Parameters</h4>
|
211
|
+
<div class="informaltable"><table width="100%" border="0">
|
212
|
+
<colgroup>
|
213
|
+
<col width="150px" class="parameters_name">
|
214
|
+
<col class="parameters_description">
|
215
|
+
<col width="200px" class="parameters_annotations">
|
216
|
+
</colgroup>
|
217
|
+
<tbody>
|
218
|
+
<tr>
|
219
|
+
<td class="parameter_name"><p>file</p></td>
|
220
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a></p></td>
|
221
|
+
<td class="parameter_annotations"> </td>
|
222
|
+
</tr>
|
223
|
+
<tr>
|
224
|
+
<td class="parameter_name"><p>flags</p></td>
|
225
|
+
<td class="parameter_description"><p>flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></p></td>
|
226
|
+
<td class="parameter_annotations"> </td>
|
227
|
+
</tr>
|
228
|
+
<tr>
|
229
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
230
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
233
|
+
<tr>
|
234
|
+
<td class="parameter_name"><p>error</p></td>
|
235
|
+
<td class="parameter_description"><p> a location to store a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
238
|
+
</tbody>
|
239
|
+
</table></div>
|
240
|
+
</div>
|
241
|
+
<div class="refsect3">
|
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em>
|
244
|
+
filled in</p>
|
245
|
+
<p></p>
|
246
|
+
</div>
|
247
|
+
<p class="since">Since 2.32</p>
|
248
|
+
</div>
|
249
|
+
<hr>
|
250
|
+
<div class="refsect2">
|
251
|
+
<a name="rsvg-handle-new-from-stream-sync"></a><h3>rsvg_handle_new_from_stream_sync ()</h3>
|
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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *input_stream</code></em>,
|
254
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>,
|
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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
257
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
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
|
+
.</p>
|
260
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
261
|
+
is not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
262
|
+
triggering the cancellable object from another thread. If the
|
263
|
+
operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code> will be
|
264
|
+
returned.</p>
|
265
|
+
<div class="refsect3">
|
266
|
+
<a name="id-1.2.4.7.5.6"></a><h4>Parameters</h4>
|
267
|
+
<div class="informaltable"><table width="100%" border="0">
|
268
|
+
<colgroup>
|
269
|
+
<col width="150px" class="parameters_name">
|
270
|
+
<col class="parameters_description">
|
271
|
+
<col width="200px" class="parameters_annotations">
|
272
|
+
</colgroup>
|
273
|
+
<tbody>
|
274
|
+
<tr>
|
275
|
+
<td class="parameter_name"><p>input_stream</p></td>
|
276
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a></p></td>
|
277
|
+
<td class="parameter_annotations"> </td>
|
278
|
+
</tr>
|
279
|
+
<tr>
|
280
|
+
<td class="parameter_name"><p>base_file</p></td>
|
281
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
284
|
+
<tr>
|
285
|
+
<td class="parameter_name"><p>flags</p></td>
|
286
|
+
<td class="parameter_description"><p>flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></p></td>
|
287
|
+
<td class="parameter_annotations"> </td>
|
288
|
+
</tr>
|
289
|
+
<tr>
|
290
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
291
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td class="parameter_name"><p>error</p></td>
|
296
|
+
<td class="parameter_description"><p> a location to store a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
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
|
+
</tr>
|
299
|
+
</tbody>
|
300
|
+
</table></div>
|
301
|
+
</div>
|
302
|
+
<div class="refsect3">
|
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em>
|
305
|
+
filled in</p>
|
306
|
+
<p></p>
|
307
|
+
</div>
|
308
|
+
<p class="since">Since 2.32</p>
|
309
|
+
</div>
|
310
|
+
</div>
|
311
|
+
<div class="refsect1">
|
312
|
+
<a name="rsvg-Using-RSVG-with-GIO.other_details"></a><h2>Types and Values</h2>
|
313
|
+
<div class="refsect2">
|
314
|
+
<a name="RsvgHandleFlags"></a><h3>enum RsvgHandleFlags</h3>
|
315
|
+
<div class="refsect3">
|
316
|
+
<a name="id-1.2.4.8.2.3"></a><h4>Members</h4>
|
317
|
+
<div class="informaltable"><table width="100%" border="0">
|
318
|
+
<colgroup>
|
319
|
+
<col width="300px" class="enum_members_name">
|
320
|
+
<col class="enum_members_description">
|
321
|
+
<col width="200px" class="enum_members_annotations">
|
322
|
+
</colgroup>
|
323
|
+
<tbody>
|
324
|
+
<tr>
|
325
|
+
<td class="enum_member_name"><p><a name="RSVG-HANDLE-FLAGS-NONE:CAPS"></a>RSVG_HANDLE_FLAGS_NONE</p></td>
|
326
|
+
<td class="enum_member_description">
|
327
|
+
<p>none</p>
|
328
|
+
</td>
|
329
|
+
<td class="enum_member_annotations"> </td>
|
330
|
+
</tr>
|
331
|
+
<tr>
|
332
|
+
<td class="enum_member_name"><p><a name="RSVG-HANDLE-FLAG-UNLIMITED:CAPS"></a>RSVG_HANDLE_FLAG_UNLIMITED</p></td>
|
333
|
+
<td class="enum_member_description">
|
334
|
+
<p>Allow any SVG XML without size limitations.
|
335
|
+
For security reasons, this should only be used for trusted input!
|
336
|
+
Since: 2.40.3</p>
|
337
|
+
</td>
|
338
|
+
<td class="enum_member_annotations"> </td>
|
339
|
+
</tr>
|
340
|
+
<tr>
|
341
|
+
<td class="enum_member_name"><p><a name="RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS"></a>RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA</p></td>
|
342
|
+
<td class="enum_member_description">
|
343
|
+
<p>Keeps the image data when loading images,
|
344
|
+
for use by cairo when painting to e.g. a PDF surface. This will make the
|
345
|
+
resulting PDF file smaller and faster.
|
346
|
+
Since: 2.40.3</p>
|
347
|
+
</td>
|
348
|
+
<td class="enum_member_annotations"> </td>
|
349
|
+
</tr>
|
350
|
+
</tbody>
|
351
|
+
</table></div>
|
352
|
+
</div>
|
353
|
+
</div>
|
354
|
+
</div>
|
355
|
+
</div>
|
356
|
+
<div class="footer">
|
357
|
+
<hr>
|
358
|
+
Generated by GTK-Doc V1.21</div>
|
359
|
+
</body>
|
360
|
+
</html>
|