rsvg2 2.2.5-x64-mingw32 → 3.0.0-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 +1 -1
- data/ext/rsvg2/rbrsvg.c +2 -15
- data/ext/rsvg2/rbrsvghandle.c +44 -197
- data/ext/rsvg2/rsvg2.h +13 -19
- 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 +26 -11
- data/sample/svg-viewer.rb +2 -2
- data/test/rsvg2-test-utils.rb +11 -0
- data/test/test-handle.rb +4 -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/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/libcroco-0.6.la +2 -2
- 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 +2 -2
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +724 -1039
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +32 -29
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +19 -16
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +16 -13
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +17 -14
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +20 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +15 -12
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +22 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +23 -18
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +36 -31
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +85 -80
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +28 -31
- 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 +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
- 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 +59 -55
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +190 -247
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +239 -336
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +70 -95
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +37 -77
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +104 -314
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- metadata +4 -7
- 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/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
Binary file
|
@@ -2,11 +2,11 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>RSVG Libary Reference Manual
|
5
|
+
<title>RSVG Libary Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
8
|
<link rel="next" href="rsvg.html" title="Part I. API Reference">
|
9
|
-
<meta name="generator" content="GTK-Doc V1.
|
9
|
+
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
10
10
|
<link rel="stylesheet" href="style.css" type="text/css">
|
11
11
|
</head>
|
12
12
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">RSVG Libary Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
For RSVG version 2.40.
|
18
|
+
For RSVG version 2.40.9
|
19
19
|
.
|
20
20
|
The latest version of this documentation can be found on-line at the
|
21
21
|
<a class="ulink" href="http://library.gnome.org/devel/rsvg/index.html" target="_top">GNOME Library</a>.
|
@@ -83,6 +83,6 @@
|
|
83
83
|
</div>
|
84
84
|
<div class="footer">
|
85
85
|
<hr>
|
86
|
-
Generated by GTK-Doc V1.
|
86
|
+
Generated by GTK-Doc V1.19</div>
|
87
87
|
</body>
|
88
88
|
</html>
|
@@ -1,13 +1,20 @@
|
|
1
1
|
<ONLINE href="http://library.gnome.org/devel/rsvg/index.html">
|
2
2
|
<ANCHOR id="RsvgHandle" href="rsvg/RsvgHandle.html">
|
3
|
-
<ANCHOR id="RsvgHandle.
|
4
|
-
<ANCHOR id="
|
5
|
-
<ANCHOR id="RsvgHandle.other" href="rsvg/RsvgHandle.html#RsvgHandle.other">
|
3
|
+
<ANCHOR id="RsvgHandle.synopsis" href="rsvg/RsvgHandle.html#RsvgHandle.synopsis">
|
4
|
+
<ANCHOR id="RsvgError" href="rsvg/RsvgHandle.html#RsvgError">
|
6
5
|
<ANCHOR id="RsvgHandle.object-hierarchy" href="rsvg/RsvgHandle.html#RsvgHandle.object-hierarchy">
|
6
|
+
<ANCHOR id="RsvgHandle.properties" href="rsvg/RsvgHandle.html#RsvgHandle.properties">
|
7
7
|
<ANCHOR id="RsvgHandle.description" href="rsvg/RsvgHandle.html#RsvgHandle.description">
|
8
|
-
<ANCHOR id="RsvgHandle.
|
8
|
+
<ANCHOR id="RsvgHandle.details" href="rsvg/RsvgHandle.html#RsvgHandle.details">
|
9
|
+
<ANCHOR id="RsvgError-enum" href="rsvg/RsvgHandle.html#RsvgError-enum">
|
10
|
+
<ANCHOR id="RSVG-ERROR-FAILED:CAPS" href="rsvg/RsvgHandle.html#RSVG-ERROR-FAILED:CAPS">
|
9
11
|
<ANCHOR id="RSVG-ERROR:CAPS" href="rsvg/RsvgHandle.html#RSVG-ERROR:CAPS">
|
10
12
|
<ANCHOR id="rsvg-error-quark" href="rsvg/RsvgHandle.html#rsvg-error-quark">
|
13
|
+
<ANCHOR id="RsvgHandle-struct" href="rsvg/RsvgHandle.html#RsvgHandle-struct">
|
14
|
+
<ANCHOR id="RsvgHandlePrivate" href="rsvg/RsvgHandle.html#RsvgHandlePrivate">
|
15
|
+
<ANCHOR id="RsvgHandleClass" href="rsvg/RsvgHandle.html#RsvgHandleClass">
|
16
|
+
<ANCHOR id="RsvgDimensionData" href="rsvg/RsvgHandle.html#RsvgDimensionData">
|
17
|
+
<ANCHOR id="RsvgPositionData" href="rsvg/RsvgHandle.html#RsvgPositionData">
|
11
18
|
<ANCHOR id="rsvg-cleanup" href="rsvg/RsvgHandle.html#rsvg-cleanup">
|
12
19
|
<ANCHOR id="rsvg-set-default-dpi" href="rsvg/RsvgHandle.html#rsvg-set-default-dpi">
|
13
20
|
<ANCHOR id="rsvg-set-default-dpi-x-y" href="rsvg/RsvgHandle.html#rsvg-set-default-dpi-x-y">
|
@@ -34,13 +41,6 @@
|
|
34
41
|
<ANCHOR id="rsvg-term" href="rsvg/RsvgHandle.html#rsvg-term">
|
35
42
|
<ANCHOR id="rsvg-handle-free" href="rsvg/RsvgHandle.html#rsvg-handle-free">
|
36
43
|
<ANCHOR id="rsvg-handle-set-size-callback" href="rsvg/RsvgHandle.html#rsvg-handle-set-size-callback">
|
37
|
-
<ANCHOR id="RsvgHandle.other_details" href="rsvg/RsvgHandle.html#RsvgHandle.other_details">
|
38
|
-
<ANCHOR id="RsvgError" href="rsvg/RsvgHandle.html#RsvgError">
|
39
|
-
<ANCHOR id="RsvgHandle-struct" href="rsvg/RsvgHandle.html#RsvgHandle-struct">
|
40
|
-
<ANCHOR id="RsvgHandlePrivate" href="rsvg/RsvgHandle.html#RsvgHandlePrivate">
|
41
|
-
<ANCHOR id="RsvgHandleClass" href="rsvg/RsvgHandle.html#RsvgHandleClass">
|
42
|
-
<ANCHOR id="RsvgDimensionData" href="rsvg/RsvgHandle.html#RsvgDimensionData">
|
43
|
-
<ANCHOR id="RsvgPositionData" href="rsvg/RsvgHandle.html#RsvgPositionData">
|
44
44
|
<ANCHOR id="RsvgHandle.property-details" href="rsvg/RsvgHandle.html#RsvgHandle.property-details">
|
45
45
|
<ANCHOR id="RsvgHandle--base-uri" href="rsvg/RsvgHandle.html#RsvgHandle--base-uri">
|
46
46
|
<ANCHOR id="RsvgHandle--desc" href="rsvg/RsvgHandle.html#RsvgHandle--desc">
|
@@ -54,28 +54,29 @@
|
|
54
54
|
<ANCHOR id="RsvgHandle--title" href="rsvg/RsvgHandle.html#RsvgHandle--title">
|
55
55
|
<ANCHOR id="RsvgHandle--width" href="rsvg/RsvgHandle.html#RsvgHandle--width">
|
56
56
|
<ANCHOR id="rsvg-Using-RSVG-with-GIO" href="rsvg/rsvg-Using-RSVG-with-GIO.html">
|
57
|
-
<ANCHOR id="rsvg-Using-RSVG-with-GIO.
|
58
|
-
<ANCHOR id="
|
57
|
+
<ANCHOR id="rsvg-Using-RSVG-with-GIO.synopsis" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-Using-RSVG-with-GIO.synopsis">
|
58
|
+
<ANCHOR id="RsvgHandleFlags" href="rsvg/rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags">
|
59
59
|
<ANCHOR id="rsvg-Using-RSVG-with-GIO.object-hierarchy" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-Using-RSVG-with-GIO.object-hierarchy">
|
60
60
|
<ANCHOR id="rsvg-Using-RSVG-with-GIO.description" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-Using-RSVG-with-GIO.description">
|
61
|
-
<ANCHOR id="rsvg-Using-RSVG-with-GIO.
|
61
|
+
<ANCHOR id="rsvg-Using-RSVG-with-GIO.details" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-Using-RSVG-with-GIO.details">
|
62
|
+
<ANCHOR id="RsvgHandleFlags-enum" href="rsvg/rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags-enum">
|
63
|
+
<ANCHOR id="RSVG-HANDLE-FLAGS-NONE:CAPS" href="rsvg/rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAGS-NONE:CAPS">
|
64
|
+
<ANCHOR id="RSVG-HANDLE-FLAG-UNLIMITED:CAPS" href="rsvg/rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAG-UNLIMITED:CAPS">
|
65
|
+
<ANCHOR id="RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS" href="rsvg/rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS">
|
62
66
|
<ANCHOR id="rsvg-handle-set-base-gfile" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-handle-set-base-gfile">
|
63
67
|
<ANCHOR id="rsvg-handle-read-stream-sync" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-sync">
|
64
68
|
<ANCHOR id="rsvg-handle-new-from-gfile-sync" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-gfile-sync">
|
65
69
|
<ANCHOR id="rsvg-handle-new-from-stream-sync" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-handle-new-from-stream-sync">
|
66
|
-
<ANCHOR id="rsvg-Using-RSVG-with-GIO.other_details" href="rsvg/rsvg-Using-RSVG-with-GIO.html#rsvg-Using-RSVG-with-GIO.other_details">
|
67
|
-
<ANCHOR id="RsvgHandleFlags" href="rsvg/rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags">
|
68
70
|
<ANCHOR id="rsvg-Using-RSVG-with-cairo" href="rsvg/rsvg-Using-RSVG-with-cairo.html">
|
69
|
-
<ANCHOR id="rsvg-Using-RSVG-with-cairo.
|
71
|
+
<ANCHOR id="rsvg-Using-RSVG-with-cairo.synopsis" href="rsvg/rsvg-Using-RSVG-with-cairo.html#rsvg-Using-RSVG-with-cairo.synopsis">
|
70
72
|
<ANCHOR id="rsvg-Using-RSVG-with-cairo.description" href="rsvg/rsvg-Using-RSVG-with-cairo.html#rsvg-Using-RSVG-with-cairo.description">
|
71
|
-
<ANCHOR id="rsvg-Using-RSVG-with-cairo.
|
73
|
+
<ANCHOR id="rsvg-Using-RSVG-with-cairo.details" href="rsvg/rsvg-Using-RSVG-with-cairo.html#rsvg-Using-RSVG-with-cairo.details">
|
72
74
|
<ANCHOR id="rsvg-handle-render-cairo" href="rsvg/rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo">
|
73
75
|
<ANCHOR id="rsvg-handle-render-cairo-sub" href="rsvg/rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo-sub">
|
74
|
-
<ANCHOR id="rsvg-Using-RSVG-with-cairo.other_details" href="rsvg/rsvg-Using-RSVG-with-cairo.html#rsvg-Using-RSVG-with-cairo.other_details">
|
75
76
|
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html">
|
76
|
-
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf.
|
77
|
+
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf.synopsis" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-Using-RSVG-with-GdkPixbuf.synopsis">
|
77
78
|
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf.description" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-Using-RSVG-with-GdkPixbuf.description">
|
78
|
-
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf.
|
79
|
+
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf.details" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-Using-RSVG-with-GdkPixbuf.details">
|
79
80
|
<ANCHOR id="rsvg-handle-get-pixbuf" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf">
|
80
81
|
<ANCHOR id="rsvg-handle-get-pixbuf-sub" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-handle-get-pixbuf-sub">
|
81
82
|
<ANCHOR id="rsvg-pixbuf-from-file" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file">
|
@@ -83,24 +84,20 @@
|
|
83
84
|
<ANCHOR id="rsvg-pixbuf-from-file-at-size" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-size">
|
84
85
|
<ANCHOR id="rsvg-pixbuf-from-file-at-max-size" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-max-size">
|
85
86
|
<ANCHOR id="rsvg-pixbuf-from-file-at-zoom-with-max" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-pixbuf-from-file-at-zoom-with-max">
|
86
|
-
<ANCHOR id="rsvg-Using-RSVG-with-GdkPixbuf.other_details" href="rsvg/rsvg-Using-RSVG-with-GdkPixbuf.html#rsvg-Using-RSVG-with-GdkPixbuf.other_details">
|
87
87
|
<ANCHOR id="rsvg-Version-check-and-feature-tests" href="rsvg/rsvg-Version-check-and-feature-tests.html">
|
88
|
-
<ANCHOR id="rsvg-Version-check-and-feature-tests.
|
89
|
-
<ANCHOR id="rsvg-Version-check-and-feature-tests.other" href="rsvg/rsvg-Version-check-and-feature-tests.html#rsvg-Version-check-and-feature-tests.other">
|
88
|
+
<ANCHOR id="rsvg-Version-check-and-feature-tests.synopsis" href="rsvg/rsvg-Version-check-and-feature-tests.html#rsvg-Version-check-and-feature-tests.synopsis">
|
90
89
|
<ANCHOR id="rsvg-Version-check-and-feature-tests.description" href="rsvg/rsvg-Version-check-and-feature-tests.html#rsvg-Version-check-and-feature-tests.description">
|
91
|
-
<ANCHOR id="rsvg-Version-check-and-feature-tests.
|
90
|
+
<ANCHOR id="rsvg-Version-check-and-feature-tests.details" href="rsvg/rsvg-Version-check-and-feature-tests.html#rsvg-Version-check-and-feature-tests.details">
|
92
91
|
<ANCHOR id="LIBRSVG-MAJOR-VERSION:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-MAJOR-VERSION:CAPS">
|
93
92
|
<ANCHOR id="LIBRSVG-MINOR-VERSION:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-MINOR-VERSION:CAPS">
|
94
93
|
<ANCHOR id="LIBRSVG-MICRO-VERSION:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-MICRO-VERSION:CAPS">
|
94
|
+
<ANCHOR id="LIBRSVG-VERSION:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-VERSION:CAPS">
|
95
95
|
<ANCHOR id="LIBRSVG-CHECK-VERSION:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-CHECK-VERSION:CAPS">
|
96
96
|
<ANCHOR id="LIBRSVG-HAVE-SVGZ:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-HAVE-SVGZ:CAPS">
|
97
97
|
<ANCHOR id="LIBRSVG-HAVE-CSS:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-HAVE-CSS:CAPS">
|
98
98
|
<ANCHOR id="LIBRSVG-CHECK-FEATURE:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-CHECK-FEATURE:CAPS">
|
99
|
-
<ANCHOR id="
|
100
|
-
<ANCHOR id="LIBRSVG-VERSION:CAPS" href="rsvg/rsvg-Version-check-and-feature-tests.html#LIBRSVG-VERSION:CAPS">
|
101
|
-
<ANCHOR id="annotation-glossterm-allow-none" href="rsvg/annotation-glossary.html#annotation-glossterm-allow-none">
|
99
|
+
<ANCHOR id="annotation-glossterm-transfer full" href="rsvg/annotation-glossary.html#annotation-glossterm-transfer full">
|
102
100
|
<ANCHOR id="annotation-glossterm-array" href="rsvg/annotation-glossary.html#annotation-glossterm-array">
|
103
|
-
<ANCHOR id="annotation-glossterm-element-type" href="rsvg/annotation-glossary.html#annotation-glossterm-element-type">
|
104
|
-
<ANCHOR id="annotation-glossterm-nullable" href="rsvg/annotation-glossary.html#annotation-glossterm-nullable">
|
105
101
|
<ANCHOR id="annotation-glossterm-out" href="rsvg/annotation-glossary.html#annotation-glossterm-out">
|
106
|
-
<ANCHOR id="annotation-glossterm-
|
102
|
+
<ANCHOR id="annotation-glossterm-allow-none" href="rsvg/annotation-glossary.html#annotation-glossterm-allow-none">
|
103
|
+
<ANCHOR id="annotation-glossterm-element-type" href="rsvg/annotation-glossary.html#annotation-glossterm-element-type">
|
Binary file
|
@@ -2,21 +2,21 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Appendix A. Licence</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
8
|
<link rel="up" href="index.html" title="RSVG Libary Reference Manual">
|
9
9
|
<link rel="prev" href="annotation-glossary.html" title="Annotation Glossary">
|
10
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
11
|
<link rel="stylesheet" href="style.css" type="text/css">
|
12
12
|
</head>
|
13
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="
|
15
|
-
<td
|
16
|
-
<td
|
17
|
-
<td><img src="
|
18
|
-
<
|
19
|
-
<td
|
14
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
15
|
+
<td><a accesskey="p" href="annotation-glossary.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
16
|
+
<td> </td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
18
|
+
<th width="100%" align="center">RSVG Libary Reference Manual</th>
|
19
|
+
<td> </td>
|
20
20
|
</tr></table>
|
21
21
|
<div class="appendix">
|
22
22
|
<div class="titlepage"><div><div><h1 class="title">
|
@@ -52,6 +52,6 @@
|
|
52
52
|
</div>
|
53
53
|
<div class="footer">
|
54
54
|
<hr>
|
55
|
-
Generated by GTK-Doc V1.
|
55
|
+
Generated by GTK-Doc V1.19</div>
|
56
56
|
</body>
|
57
57
|
</html>
|
@@ -2,37 +2,37 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Object Hierarchy</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="RSVG Libary Reference Manual">
|
8
8
|
<link rel="up" href="index.html" title="RSVG Libary Reference Manual">
|
9
9
|
<link rel="prev" href="rsvg-Version-check-and-feature-tests.html" title="Version check and feature tests">
|
10
10
|
<link rel="next" href="api-index-full.html" title="API Index">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td
|
17
|
-
<td
|
18
|
-
<td><img src="
|
19
|
-
<
|
20
|
-
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="rsvg-Version-check-and-feature-tests.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td> </td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">RSVG Libary Reference Manual</th>
|
20
|
+
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
22
22
|
<div class="chapter">
|
23
23
|
<div class="titlepage"><div><div><h1 class="title">
|
24
24
|
<a name="object-tree"></a>Object Hierarchy</h1></div></div></div>
|
25
25
|
<pre class="screen">
|
26
|
-
<a href="
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
27
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle">RsvgHandle</a>
|
28
|
+
GEnum
|
29
|
+
<a class="link" href="RsvgHandle.html#RsvgError">RsvgError</a>
|
30
|
+
GFlags
|
31
|
+
<a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags">RsvgHandleFlags</a>
|
32
32
|
</pre>
|
33
33
|
</div>
|
34
34
|
<div class="footer">
|
35
35
|
<hr>
|
36
|
-
Generated by GTK-Doc V1.
|
36
|
+
Generated by GTK-Doc V1.19</div>
|
37
37
|
</body>
|
38
38
|
</html>
|
Binary file
|
@@ -23,72 +23,76 @@
|
|
23
23
|
<sub name="Licence" link="licence.html"/>
|
24
24
|
</chapters>
|
25
25
|
<functions>
|
26
|
+
<keyword type="enum" name="enum RsvgError" link="RsvgHandle.html#RsvgError-enum"/>
|
26
27
|
<keyword type="macro" name="RSVG_ERROR" link="RsvgHandle.html#RSVG-ERROR:CAPS"/>
|
27
|
-
<keyword type="function" name="rsvg_error_quark
|
28
|
-
<keyword type="
|
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"/>
|
28
|
+
<keyword type="function" name="rsvg_error_quark ()" link="RsvgHandle.html#rsvg-error-quark"/>
|
29
|
+
<keyword type="struct" name="RsvgHandle" link="RsvgHandle.html#RsvgHandle-struct"/>
|
56
30
|
<keyword type="typedef" name="RsvgHandlePrivate" link="RsvgHandle.html#RsvgHandlePrivate"/>
|
57
31
|
<keyword type="struct" name="struct RsvgHandleClass" link="RsvgHandle.html#RsvgHandleClass"/>
|
58
32
|
<keyword type="struct" name="struct RsvgDimensionData" link="RsvgHandle.html#RsvgDimensionData"/>
|
59
33
|
<keyword type="struct" name="struct RsvgPositionData" link="RsvgHandle.html#RsvgPositionData"/>
|
60
|
-
<keyword type="
|
61
|
-
<keyword type="
|
62
|
-
<keyword type="
|
63
|
-
<keyword type="
|
64
|
-
<keyword type="
|
65
|
-
<keyword type="
|
66
|
-
<keyword type="
|
67
|
-
<keyword type="
|
68
|
-
<keyword type="
|
69
|
-
<keyword type="
|
70
|
-
<keyword type="
|
71
|
-
<keyword type="function" name="
|
72
|
-
<keyword type="function" name="
|
73
|
-
<keyword type="function" name="
|
74
|
-
<keyword type="function" name="
|
75
|
-
<keyword type="
|
76
|
-
<keyword type="function" name="
|
77
|
-
<keyword type="function" name="
|
78
|
-
<keyword type="function" name="
|
79
|
-
<keyword type="function" name="
|
80
|
-
<keyword type="function" name="
|
81
|
-
<keyword type="
|
82
|
-
<keyword type="function" name="
|
83
|
-
<keyword type="function" name="
|
84
|
-
<keyword type="function" name="
|
34
|
+
<keyword type="function" name="rsvg_cleanup ()" link="RsvgHandle.html#rsvg-cleanup" since="2.36"/>
|
35
|
+
<keyword type="function" name="rsvg_set_default_dpi ()" link="RsvgHandle.html#rsvg-set-default-dpi" since="2.8"/>
|
36
|
+
<keyword type="function" name="rsvg_set_default_dpi_x_y ()" link="RsvgHandle.html#rsvg-set-default-dpi-x-y" since="2.8"/>
|
37
|
+
<keyword type="function" name="rsvg_handle_set_dpi ()" link="RsvgHandle.html#rsvg-handle-set-dpi" since="2.8"/>
|
38
|
+
<keyword type="function" name="rsvg_handle_set_dpi_x_y ()" link="RsvgHandle.html#rsvg-handle-set-dpi-x-y" since="2.8"/>
|
39
|
+
<keyword type="function" name="rsvg_handle_new ()" link="RsvgHandle.html#rsvg-handle-new"/>
|
40
|
+
<keyword type="function" name="rsvg_handle_new_with_flags ()" link="RsvgHandle.html#rsvg-handle-new-with-flags" since="2.36"/>
|
41
|
+
<keyword type="function" name="rsvg_handle_write ()" link="RsvgHandle.html#rsvg-handle-write"/>
|
42
|
+
<keyword type="function" name="rsvg_handle_close ()" link="RsvgHandle.html#rsvg-handle-close"/>
|
43
|
+
<keyword type="function" name="rsvg_handle_get_base_uri ()" link="RsvgHandle.html#rsvg-handle-get-base-uri" since="2.8"/>
|
44
|
+
<keyword type="function" name="rsvg_handle_set_base_uri ()" link="RsvgHandle.html#rsvg-handle-set-base-uri" since="2.9"/>
|
45
|
+
<keyword type="function" name="rsvg_handle_get_dimensions ()" link="RsvgHandle.html#rsvg-handle-get-dimensions" since="2.14"/>
|
46
|
+
<keyword type="function" name="rsvg_handle_get_dimensions_sub ()" link="RsvgHandle.html#rsvg-handle-get-dimensions-sub" since="2.22"/>
|
47
|
+
<keyword type="function" name="rsvg_handle_get_position_sub ()" link="RsvgHandle.html#rsvg-handle-get-position-sub" since="2.22"/>
|
48
|
+
<keyword type="function" name="rsvg_handle_has_sub ()" link="RsvgHandle.html#rsvg-handle-has-sub" since="2.22"/>
|
49
|
+
<keyword type="function" name="rsvg_handle_get_title ()" link="RsvgHandle.html#rsvg-handle-get-title" deprecated="2.36" since="2.4"/>
|
50
|
+
<keyword type="function" name="rsvg_handle_get_desc ()" link="RsvgHandle.html#rsvg-handle-get-desc" deprecated="2.36" since="2.4"/>
|
51
|
+
<keyword type="function" name="rsvg_handle_get_metadata ()" link="RsvgHandle.html#rsvg-handle-get-metadata" deprecated="2.36" since="2.9"/>
|
52
|
+
<keyword type="function" name="rsvg_handle_new_from_data ()" link="RsvgHandle.html#rsvg-handle-new-from-data" since="2.14"/>
|
53
|
+
<keyword type="function" name="rsvg_handle_new_from_file ()" link="RsvgHandle.html#rsvg-handle-new-from-file" since="2.14"/>
|
54
|
+
<keyword type="function" name="rsvg_error_get_type ()" link="RsvgHandle.html#rsvg-error-get-type"/>
|
55
|
+
<keyword type="macro" name="RSVG_TYPE_ERROR" link="RsvgHandle.html#RSVG-TYPE-ERROR:CAPS"/>
|
56
|
+
<keyword type="function" name="rsvg_init ()" link="RsvgHandle.html#rsvg-init" deprecated="2.36: Use g_type_init()" since="2.9"/>
|
57
|
+
<keyword type="function" name="rsvg_term ()" link="RsvgHandle.html#rsvg-term" deprecated="2.36" since="2.9"/>
|
58
|
+
<keyword type="function" name="rsvg_handle_free ()" link="RsvgHandle.html#rsvg-handle-free" deprecated="Use g_object_unref() instead."/>
|
59
|
+
<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."/>
|
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="enum" name="enum RsvgHandleFlags" link="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags-enum"/>
|
72
|
+
<keyword type="function" name="rsvg_handle_set_base_gfile ()" link="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-set-base-gfile" since="2.32"/>
|
73
|
+
<keyword type="function" name="rsvg_handle_read_stream_sync ()" link="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-read-stream-sync" since="2.32"/>
|
74
|
+
<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"/>
|
75
|
+
<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"/>
|
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
85
|
<keyword type="macro" name="LIBRSVG_MAJOR_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-MAJOR-VERSION:CAPS"/>
|
86
86
|
<keyword type="macro" name="LIBRSVG_MINOR_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-MINOR-VERSION:CAPS"/>
|
87
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_VERSION" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-VERSION:CAPS"/>
|
88
89
|
<keyword type="macro" name="LIBRSVG_CHECK_VERSION()" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-CHECK-VERSION:CAPS"/>
|
89
90
|
<keyword type="macro" name="LIBRSVG_HAVE_SVGZ" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-HAVE-SVGZ:CAPS"/>
|
90
91
|
<keyword type="macro" name="LIBRSVG_HAVE_CSS" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-HAVE-CSS:CAPS"/>
|
91
92
|
<keyword type="macro" name="LIBRSVG_CHECK_FEATURE()" link="rsvg-Version-check-and-feature-tests.html#LIBRSVG-CHECK-FEATURE:CAPS"/>
|
92
|
-
<keyword type="
|
93
|
+
<keyword type="constant" name="RSVG_ERROR_FAILED" link="RsvgHandle.html#RSVG-ERROR-FAILED:CAPS"/>
|
94
|
+
<keyword type="constant" name="RSVG_HANDLE_FLAGS_NONE" link="rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAGS-NONE:CAPS"/>
|
95
|
+
<keyword type="constant" name="RSVG_HANDLE_FLAG_UNLIMITED" link="rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAG-UNLIMITED:CAPS"/>
|
96
|
+
<keyword type="constant" name="RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA" link="rsvg-Using-RSVG-with-GIO.html#RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS"/>
|
93
97
|
</functions>
|
94
98
|
</book>
|
@@ -2,27 +2,32 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Using RSVG with GIO</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
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="RsvgHandle.html" title="RsvgHandle">
|
10
10
|
<link rel="next" href="rsvg-Using-RSVG-with-cairo.html" title="Using RSVG with cairo">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<a
|
18
|
-
|
19
|
-
|
20
|
-
</
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<td
|
24
|
-
<
|
25
|
-
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="RsvgHandle.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="rsvg.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">RSVG Libary Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="rsvg-Using-RSVG-with-cairo.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#rsvg-Using-RSVG-with-GIO.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#rsvg-Using-RSVG-with-GIO.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#rsvg-Using-RSVG-with-GIO.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
</td></tr>
|
30
|
+
</table>
|
26
31
|
<div class="refentry">
|
27
32
|
<a name="rsvg-Using-RSVG-with-GIO"></a><div class="titlepage"></div>
|
28
33
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -30,331 +35,269 @@
|
|
30
35
|
<h2><span class="refentrytitle"><a name="rsvg-Using-RSVG-with-GIO.top_of_page"></a>Using RSVG with GIO</span></h2>
|
31
36
|
<p>Using RSVG with GIO</p>
|
32
37
|
</td>
|
33
|
-
<td
|
38
|
+
<td valign="top" align="right"></td>
|
34
39
|
</tr></table></div>
|
35
|
-
<div class="
|
36
|
-
<a name="rsvg-Using-RSVG-with-GIO.
|
37
|
-
<
|
38
|
-
<
|
39
|
-
<
|
40
|
-
<
|
41
|
-
</
|
42
|
-
<
|
43
|
-
<
|
44
|
-
<
|
45
|
-
<span class="
|
46
|
-
</
|
47
|
-
<
|
48
|
-
<a class="link" href="rsvg-Using-RSVG-with-GIO.html#rsvg-handle-
|
49
|
-
</
|
50
|
-
</
|
51
|
-
<
|
52
|
-
<
|
53
|
-
|
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>
|
40
|
+
<div class="refsynopsisdiv">
|
41
|
+
<a name="rsvg-Using-RSVG-with-GIO.synopsis"></a><h2>Synopsis</h2>
|
42
|
+
<a name="RsvgHandleFlags"></a><pre class="synopsis">enum <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags-enum" title="enum RsvgHandleFlags">RsvgHandleFlags</a>;
|
43
|
+
<span class="returnvalue">void</span> <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> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
44
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>);
|
45
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
46
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
|
47
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
48
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
49
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * <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> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
50
|
+
<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>,
|
51
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
52
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
53
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * <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> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *input_stream</code></em>,
|
54
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>,
|
56
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
57
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
58
|
+
</pre>
|
90
59
|
</div>
|
91
60
|
<div class="refsect1">
|
92
61
|
<a name="rsvg-Using-RSVG-with-GIO.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
93
|
-
<pre class="
|
94
|
-
|
62
|
+
<pre class="synopsis">
|
63
|
+
GFlags
|
64
|
+
+----RsvgHandleFlags
|
95
65
|
</pre>
|
96
66
|
</div>
|
97
67
|
<div class="refsect1">
|
98
68
|
<a name="rsvg-Using-RSVG-with-GIO.description"></a><h2>Description</h2>
|
99
69
|
</div>
|
100
70
|
<div class="refsect1">
|
101
|
-
<a name="rsvg-Using-RSVG-with-GIO.
|
71
|
+
<a name="rsvg-Using-RSVG-with-GIO.details"></a><h2>Details</h2>
|
102
72
|
<div class="refsect2">
|
103
|
-
<a name="
|
104
|
-
<pre class="programlisting"
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
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">
|
73
|
+
<a name="RsvgHandleFlags-enum"></a><h3>enum RsvgHandleFlags</h3>
|
74
|
+
<pre class="programlisting">typedef enum {
|
75
|
+
RSVG_HANDLE_FLAGS_NONE = 0,
|
76
|
+
RSVG_HANDLE_FLAG_UNLIMITED = 1 << 0,
|
77
|
+
RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA = 1 << 1
|
78
|
+
} RsvgHandleFlags;
|
79
|
+
</pre>
|
80
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
115
81
|
<colgroup>
|
116
|
-
<col
|
117
|
-
<col
|
118
|
-
<col width="200px" class="parameters_annotations">
|
82
|
+
<col align="left" valign="top">
|
83
|
+
<col>
|
119
84
|
</colgroup>
|
120
85
|
<tbody>
|
121
86
|
<tr>
|
122
|
-
<td class="
|
123
|
-
<td
|
124
|
-
|
87
|
+
<td><p><a name="RSVG-HANDLE-FLAGS-NONE:CAPS"></a><span class="term"><code class="literal">RSVG_HANDLE_FLAGS_NONE</code></span></p></td>
|
88
|
+
<td>none
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td><p><a name="RSVG-HANDLE-FLAG-UNLIMITED:CAPS"></a><span class="term"><code class="literal">RSVG_HANDLE_FLAG_UNLIMITED</code></span></p></td>
|
93
|
+
<td>Allow any SVG XML without size limitations.
|
94
|
+
For security reasons, this should only be used for trusted input!
|
95
|
+
Since: 2.40.3
|
96
|
+
</td>
|
125
97
|
</tr>
|
126
98
|
<tr>
|
127
|
-
<td class="
|
128
|
-
<td
|
129
|
-
|
99
|
+
<td><p><a name="RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS"></a><span class="term"><code class="literal">RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA</code></span></p></td>
|
100
|
+
<td>Keeps the image data when loading images,
|
101
|
+
for use by cairo when painting to e.g. a PDF surface. This will make the
|
102
|
+
resulting PDF file smaller and faster.
|
103
|
+
Since: 2.40.3
|
104
|
+
</td>
|
130
105
|
</tr>
|
131
106
|
</tbody>
|
132
107
|
</table></div>
|
133
108
|
</div>
|
134
|
-
<p class="since">Since 2.32</p>
|
135
|
-
</div>
|
136
109
|
<hr>
|
137
110
|
<div class="refsect2">
|
138
|
-
<a name="rsvg-handle-
|
139
|
-
<pre class="programlisting"><a href="
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
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">
|
111
|
+
<a name="rsvg-handle-set-base-gfile"></a><h3>rsvg_handle_set_base_gfile ()</h3>
|
112
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
113
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>);</pre>
|
114
|
+
<p>
|
115
|
+
Set the base URI for <em class="parameter"><code>handle</code></em> from <em class="parameter"><code>file</code></em>.
|
116
|
+
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>
|
117
|
+
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.
|
118
|
+
</p>
|
119
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
155
120
|
<colgroup>
|
156
|
-
<col
|
157
|
-
<col
|
158
|
-
<col width="200px" class="parameters_annotations">
|
121
|
+
<col align="left" valign="top">
|
122
|
+
<col>
|
159
123
|
</colgroup>
|
160
124
|
<tbody>
|
161
125
|
<tr>
|
162
|
-
<td class="
|
163
|
-
<td
|
164
|
-
|
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>
|
126
|
+
<td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
|
127
|
+
<td>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
128
|
+
</td>
|
175
129
|
</tr>
|
176
130
|
<tr>
|
177
|
-
<td class="
|
178
|
-
<td
|
179
|
-
|
131
|
+
<td><p><span class="term"><em class="parameter"><code>base_file</code></em> :</span></p></td>
|
132
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>
|
133
|
+
</td>
|
180
134
|
</tr>
|
181
135
|
</tbody>
|
182
136
|
</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
137
|
<p class="since">Since 2.32</p>
|
193
138
|
</div>
|
194
139
|
<hr>
|
195
140
|
<div class="refsect2">
|
196
|
-
<a name="rsvg-handle-
|
197
|
-
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
<p>
|
205
|
-
is not <a href="/
|
141
|
+
<a name="rsvg-handle-read-stream-sync"></a><h3>rsvg_handle_read_stream_sync ()</h3>
|
142
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
143
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
|
144
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
145
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
146
|
+
<p>
|
147
|
+
Reads <em class="parameter"><code>stream</code></em> and writes the data from it to <em class="parameter"><code>handle</code></em>.
|
148
|
+
</p>
|
149
|
+
<p>
|
150
|
+
If <em class="parameter"><code>cancellable</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
206
151
|
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
|
209
|
-
|
210
|
-
<
|
211
|
-
<div class="informaltable"><table width="100%" border="0">
|
152
|
+
operation was cancelled, the error <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be
|
153
|
+
returned.
|
154
|
+
</p>
|
155
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
212
156
|
<colgroup>
|
213
|
-
<col
|
214
|
-
<col
|
215
|
-
<col width="200px" class="parameters_annotations">
|
157
|
+
<col align="left" valign="top">
|
158
|
+
<col>
|
216
159
|
</colgroup>
|
217
160
|
<tbody>
|
218
161
|
<tr>
|
219
|
-
<td class="
|
220
|
-
<td class="
|
221
|
-
|
162
|
+
<td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
|
163
|
+
<td>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
168
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a>
|
169
|
+
</td>
|
222
170
|
</tr>
|
223
171
|
<tr>
|
224
|
-
<td class="
|
225
|
-
<td class="
|
226
|
-
|
172
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
173
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
174
|
+
</td>
|
227
175
|
</tr>
|
228
176
|
<tr>
|
229
|
-
<td class="
|
230
|
-
<td
|
231
|
-
|
177
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
178
|
+
<td>a location to store a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
179
|
+
</td>
|
232
180
|
</tr>
|
233
181
|
<tr>
|
234
|
-
<td class="
|
235
|
-
<td
|
236
|
-
<
|
182
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
183
|
+
<td>
|
184
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if reading <em class="parameter"><code>stream</code></em> succeeded, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
|
185
|
+
with <em class="parameter"><code>error</code></em> filled in</td>
|
237
186
|
</tr>
|
238
187
|
</tbody>
|
239
188
|
</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
189
|
<p class="since">Since 2.32</p>
|
248
190
|
</div>
|
249
191
|
<hr>
|
250
192
|
<div class="refsect2">
|
251
|
-
<a name="rsvg-handle-new-from-
|
252
|
-
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a>
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
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
|
193
|
+
<a name="rsvg-handle-new-from-gfile-sync"></a><h3>rsvg_handle_new_from_gfile_sync ()</h3>
|
194
|
+
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * rsvg_handle_new_from_gfile_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
195
|
+
<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>,
|
196
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
197
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
198
|
+
<p>
|
199
|
+
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>.
|
200
|
+
</p>
|
201
|
+
<p>
|
202
|
+
If <em class="parameter"><code>cancellable</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
262
203
|
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
|
265
|
-
|
266
|
-
<
|
267
|
-
<div class="informaltable"><table width="100%" border="0">
|
204
|
+
operation was cancelled, the error <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be
|
205
|
+
returned.
|
206
|
+
</p>
|
207
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
268
208
|
<colgroup>
|
269
|
-
<col
|
270
|
-
<col
|
271
|
-
<col width="200px" class="parameters_annotations">
|
209
|
+
<col align="left" valign="top">
|
210
|
+
<col>
|
272
211
|
</colgroup>
|
273
212
|
<tbody>
|
274
213
|
<tr>
|
275
|
-
<td class="
|
276
|
-
<td
|
277
|
-
|
214
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
215
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>
|
216
|
+
</td>
|
278
217
|
</tr>
|
279
218
|
<tr>
|
280
|
-
<td class="
|
281
|
-
<td
|
282
|
-
|
219
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
220
|
+
<td>flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>
|
221
|
+
</td>
|
283
222
|
</tr>
|
284
223
|
<tr>
|
285
|
-
<td class="
|
286
|
-
<td class="
|
287
|
-
|
224
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
225
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
226
|
+
</td>
|
288
227
|
</tr>
|
289
228
|
<tr>
|
290
|
-
<td class="
|
291
|
-
<td
|
292
|
-
|
229
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
230
|
+
<td>a location to store a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
231
|
+
</td>
|
293
232
|
</tr>
|
294
233
|
<tr>
|
295
|
-
<td class="
|
296
|
-
<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>
|
234
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
235
|
+
<td>a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> on success, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em> filled in</td>
|
298
236
|
</tr>
|
299
237
|
</tbody>
|
300
238
|
</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
239
|
<p class="since">Since 2.32</p>
|
309
240
|
</div>
|
310
|
-
|
311
|
-
<div class="refsect1">
|
312
|
-
<a name="rsvg-Using-RSVG-with-GIO.other_details"></a><h2>Types and Values</h2>
|
241
|
+
<hr>
|
313
242
|
<div class="refsect2">
|
314
|
-
<a name="
|
315
|
-
<
|
316
|
-
<a
|
317
|
-
<
|
243
|
+
<a name="rsvg-handle-new-from-stream-sync"></a><h3>rsvg_handle_new_from_stream_sync ()</h3>
|
244
|
+
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * rsvg_handle_new_from_stream_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *input_stream</code></em>,
|
245
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *base_file</code></em>,
|
246
|
+
<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>,
|
247
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
248
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
249
|
+
<p>
|
250
|
+
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>.
|
251
|
+
</p>
|
252
|
+
<p>
|
253
|
+
If <em class="parameter"><code>cancellable</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
254
|
+
triggering the cancellable object from another thread. If the
|
255
|
+
operation was cancelled, the error <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be
|
256
|
+
returned.
|
257
|
+
</p>
|
258
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
318
259
|
<colgroup>
|
319
|
-
<col
|
320
|
-
<col
|
321
|
-
<col width="200px" class="enum_members_annotations">
|
260
|
+
<col align="left" valign="top">
|
261
|
+
<col>
|
322
262
|
</colgroup>
|
323
263
|
<tbody>
|
324
264
|
<tr>
|
325
|
-
<td class="
|
326
|
-
<td class="
|
327
|
-
<p>none</p>
|
265
|
+
<td><p><span class="term"><em class="parameter"><code>input_stream</code></em> :</span></p></td>
|
266
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a>
|
328
267
|
</td>
|
329
|
-
<td class="enum_member_annotations"> </td>
|
330
268
|
</tr>
|
331
269
|
<tr>
|
332
|
-
<td class="
|
333
|
-
<td class="
|
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>
|
270
|
+
<td><p><span class="term"><em class="parameter"><code>base_file</code></em> :</span></p></td>
|
271
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
337
272
|
</td>
|
338
|
-
<td class="enum_member_annotations"> </td>
|
339
273
|
</tr>
|
340
274
|
<tr>
|
341
|
-
<td class="
|
342
|
-
<td class="
|
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>
|
275
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
276
|
+
<td>flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>
|
347
277
|
</td>
|
348
|
-
|
278
|
+
</tr>
|
279
|
+
<tr>
|
280
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
281
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
282
|
+
</td>
|
283
|
+
</tr>
|
284
|
+
<tr>
|
285
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
286
|
+
<td>a location to store a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
287
|
+
</td>
|
288
|
+
</tr>
|
289
|
+
<tr>
|
290
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
291
|
+
<td>a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> on success, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em> filled in</td>
|
349
292
|
</tr>
|
350
293
|
</tbody>
|
351
294
|
</table></div>
|
352
|
-
</
|
295
|
+
<p class="since">Since 2.32</p>
|
353
296
|
</div>
|
354
297
|
</div>
|
355
298
|
</div>
|
356
299
|
<div class="footer">
|
357
300
|
<hr>
|
358
|
-
Generated by GTK-Doc V1.
|
301
|
+
Generated by GTK-Doc V1.19</div>
|
359
302
|
</body>
|
360
303
|
</html>
|