rsvg2 3.0.7-x64-mingw32 → 3.0.8-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 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/2.3/rsvg2.so +0 -0
- data/vendor/local/bin/croco-0.6-config +2 -2
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
- 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 +3 -3
- 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/libcroco-0.6.pc +1 -1
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
- data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -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 +360 -221
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
- data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
- data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -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 +1039 -724
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
- 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 +31 -28
- 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 +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-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 +55 -59
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
- 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 +314 -104
- 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
- metadata +14 -10
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
Binary file
|
Binary file
|
@@ -2,34 +2,28 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>RsvgHandle</title>
|
5
|
+
<title>RSVG Libary Reference Manual: RsvgHandle</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="rsvg.html" title="Part I. API Reference">
|
10
10
|
<link rel="next" href="rsvg-Using-RSVG-with-GIO.html" title="Using RSVG with GIO">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (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
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
25
|
-
|
26
|
-
|
27
|
-
|
|
28
|
-
<a href="#RsvgHandle.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
|
|
30
|
-
<a href="#RsvgHandle.properties" class="shortcut">Properties</a>
|
31
|
-
</td></tr>
|
32
|
-
</table>
|
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="#RsvgHandle.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#RsvgHandle.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#RsvgHandle.properties" class="shortcut">Properties</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="rsvg.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="rsvg.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="rsvg-Using-RSVG-with-GIO.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
33
27
|
<div class="refentry">
|
34
28
|
<a name="RsvgHandle"></a><div class="titlepage"></div>
|
35
29
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -37,858 +31,1047 @@
|
|
37
31
|
<h2><span class="refentrytitle"><a name="RsvgHandle.top_of_page"></a>RsvgHandle</span></h2>
|
38
32
|
<p>RsvgHandle — Create and manipulate SVG objects</p>
|
39
33
|
</td>
|
40
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
41
35
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv">
|
43
|
-
<a name="RsvgHandle.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<a name="RsvgError"></a><pre class="synopsis">enum <a class="link" href="RsvgHandle.html#RsvgError-enum" title="enum RsvgError">RsvgError</a>;
|
45
|
-
#define <a class="link" href="RsvgHandle.html#RSVG-ERROR:CAPS" title="RSVG_ERROR">RSVG_ERROR</a>
|
46
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="RsvgHandle.html#rsvg-error-quark" title="rsvg_error_quark ()">rsvg_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
-
<a class="link" href="RsvgHandle.html#RsvgHandle-struct" title="RsvgHandle">RsvgHandle</a>;
|
48
|
-
typedef <a class="link" href="RsvgHandle.html#RsvgHandlePrivate" title="RsvgHandlePrivate">RsvgHandlePrivate</a>;
|
49
|
-
struct <a class="link" href="RsvgHandle.html#RsvgHandleClass" title="struct RsvgHandleClass">RsvgHandleClass</a>;
|
50
|
-
struct <a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData">RsvgDimensionData</a>;
|
51
|
-
struct <a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData">RsvgPositionData</a>;
|
52
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-cleanup" title="rsvg_cleanup ()">rsvg_cleanup</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
53
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-set-default-dpi" title="rsvg_set_default_dpi ()">rsvg_set_default_dpi</a> (<em class="parameter"><code><span class="type">double</span> dpi</code></em>);
|
54
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-set-default-dpi-x-y" title="rsvg_set_default_dpi_x_y ()">rsvg_set_default_dpi_x_y</a> (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);
|
56
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-handle-set-dpi" title="rsvg_handle_set_dpi ()">rsvg_handle_set_dpi</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">double</span> dpi</code></em>);
|
58
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-handle-set-dpi-x-y" title="rsvg_handle_set_dpi_x_y ()">rsvg_handle_set_dpi_x_y</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
59
|
-
<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
60
|
-
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);
|
61
|
-
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * <a class="link" href="RsvgHandle.html#rsvg-handle-new" title="rsvg_handle_new ()">rsvg_handle_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
62
|
-
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * <a class="link" href="RsvgHandle.html#rsvg-handle-new-with-flags" title="rsvg_handle_new_with_flags ()">rsvg_handle_new_with_flags</a> (<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>);
|
63
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="RsvgHandle.html#rsvg-handle-write" title="rsvg_handle_write ()">rsvg_handle_write</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
64
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
|
65
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
66
|
-
<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>);
|
67
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="RsvgHandle.html#rsvg-handle-close" title="rsvg_handle_close ()">rsvg_handle_close</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
68
|
-
<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>);
|
69
|
-
const <span class="returnvalue">char</span> * <a class="link" href="RsvgHandle.html#rsvg-handle-get-base-uri" title="rsvg_handle_get_base_uri ()">rsvg_handle_get_base_uri</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);
|
70
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-handle-set-base-uri" title="rsvg_handle_set_base_uri ()">rsvg_handle_set_base_uri</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
71
|
-
<em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-handle-get-dimensions" title="rsvg_handle_get_dimensions ()">rsvg_handle_get_dimensions</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
73
|
-
<em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>);
|
74
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="RsvgHandle.html#rsvg-handle-get-dimensions-sub" title="rsvg_handle_get_dimensions_sub ()">rsvg_handle_get_dimensions_sub</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
75
|
-
<em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>,
|
76
|
-
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
|
77
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="RsvgHandle.html#rsvg-handle-get-position-sub" title="rsvg_handle_get_position_sub ()">rsvg_handle_get_position_sub</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
78
|
-
<em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData"><span class="type">RsvgPositionData</span></a> *position_data</code></em>,
|
79
|
-
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
|
80
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="RsvgHandle.html#rsvg-handle-has-sub" title="rsvg_handle_has_sub ()">rsvg_handle_has_sub</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
81
|
-
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
|
82
|
-
const <span class="returnvalue">char</span> * <a class="link" href="RsvgHandle.html#rsvg-handle-get-title" title="rsvg_handle_get_title ()">rsvg_handle_get_title</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);
|
83
|
-
const <span class="returnvalue">char</span> * <a class="link" href="RsvgHandle.html#rsvg-handle-get-desc" title="rsvg_handle_get_desc ()">rsvg_handle_get_desc</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);
|
84
|
-
const <span class="returnvalue">char</span> * <a class="link" href="RsvgHandle.html#rsvg-handle-get-metadata" title="rsvg_handle_get_metadata ()">rsvg_handle_get_metadata</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);
|
85
|
-
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-data" title="rsvg_handle_new_from_data ()">rsvg_handle_new_from_data</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
|
86
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> data_len</code></em>,
|
87
|
-
<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>);
|
88
|
-
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * <a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()">rsvg_handle_new_from_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
89
|
-
<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>);
|
90
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> <a class="link" href="RsvgHandle.html#rsvg-error-get-type" title="rsvg_error_get_type ()">rsvg_error_get_type</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
91
|
-
#define <a class="link" href="RsvgHandle.html#RSVG-TYPE-ERROR:CAPS" title="RSVG_TYPE_ERROR">RSVG_TYPE_ERROR</a>
|
92
|
-
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-init" title="rsvg_init ()">rsvg_init</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
94
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-term" title="rsvg_term ()">rsvg_term</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
95
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-handle-free" title="rsvg_handle_free ()">rsvg_handle_free</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);
|
96
|
-
<span class="returnvalue">void</span> <a class="link" href="RsvgHandle.html#rsvg-handle-set-size-callback" title="rsvg_handle_set_size_callback ()">rsvg_handle_set_size_callback</a> (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
97
|
-
<em class="parameter"><code><span class="type">RsvgSizeFunc</span> size_func</code></em>,
|
98
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
99
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_destroy</code></em>);
|
100
|
-
</pre>
|
101
|
-
</div>
|
102
|
-
<div class="refsect1">
|
103
|
-
<a name="RsvgHandle.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
104
|
-
<pre class="synopsis">
|
105
|
-
GEnum
|
106
|
-
+----RsvgError
|
107
|
-
</pre>
|
108
|
-
<pre class="synopsis">
|
109
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
110
|
-
+----RsvgHandle
|
111
|
-
</pre>
|
112
|
-
</div>
|
113
36
|
<div class="refsect1">
|
114
|
-
<a name="RsvgHandle.
|
115
|
-
<
|
116
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--base-uri" title='The "base-uri" property'>base-uri</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct
|
117
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--desc" title='The "desc" property'>desc</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
118
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--dpi-x" title='The "dpi-x" property'>dpi-x</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write / Construct
|
119
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--dpi-y" title='The "dpi-y" property'>dpi-y</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write / Construct
|
120
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--em" title='The "em" property'>em</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read
|
121
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--ex" title='The "ex" property'>ex</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read
|
122
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--flags" title='The "flags" property'>flags</a>" <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> : Read / Write / Construct Only
|
123
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--height" title='The "height" property'>height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
124
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--metadata" title='The "metadata" property'>metadata</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
125
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--title" title='The "title" property'>title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
126
|
-
"<a class="link" href="RsvgHandle.html#RsvgHandle--width" title='The "width" property'>width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
127
|
-
</pre>
|
128
|
-
</div>
|
129
|
-
<div class="refsect1">
|
130
|
-
<a name="RsvgHandle.description"></a><h2>Description</h2>
|
131
|
-
<p>
|
132
|
-
librsvg is a component used within software applications to enable
|
133
|
-
support for SVG-format scalable graphics. In contrast to raster
|
134
|
-
formats, scalable vector graphics provide users and artists a way
|
135
|
-
to create, view, and provide imagery that is not limited to the
|
136
|
-
pixel or dot density that an output device is capable of.
|
137
|
-
</p>
|
138
|
-
<p>
|
139
|
-
Many software developers use the librsvg library to render
|
140
|
-
SVG graphics. It is lightweight and portable.
|
141
|
-
</p>
|
142
|
-
</div>
|
143
|
-
<div class="refsect1">
|
144
|
-
<a name="RsvgHandle.details"></a><h2>Details</h2>
|
145
|
-
<div class="refsect2">
|
146
|
-
<a name="RsvgError-enum"></a><h3>enum RsvgError</h3>
|
147
|
-
<pre class="programlisting">typedef enum {
|
148
|
-
RSVG_ERROR_FAILED
|
149
|
-
} RsvgError;
|
150
|
-
</pre>
|
151
|
-
<p>
|
152
|
-
An enumeration representing possible errors
|
153
|
-
</p>
|
154
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
37
|
+
<a name="RsvgHandle.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
155
39
|
<colgroup>
|
156
|
-
<col
|
157
|
-
<col>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
158
42
|
</colgroup>
|
159
|
-
<tbody
|
160
|
-
<
|
161
|
-
<td>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="define_keyword">#define</td>
|
46
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RSVG-ERROR:CAPS" title="RSVG_ERROR">RSVG_ERROR</a></td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td class="function_type">
|
50
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
162
51
|
</td>
|
163
|
-
|
164
|
-
</
|
165
|
-
</
|
166
|
-
|
167
|
-
<
|
168
|
-
<
|
169
|
-
<
|
170
|
-
</
|
171
|
-
<
|
172
|
-
<
|
173
|
-
|
174
|
-
|
175
|
-
<
|
176
|
-
|
177
|
-
</
|
178
|
-
|
179
|
-
<
|
180
|
-
<
|
181
|
-
|
182
|
-
</
|
183
|
-
<
|
184
|
-
<td
|
185
|
-
<
|
186
|
-
</
|
187
|
-
|
188
|
-
</
|
189
|
-
|
190
|
-
|
191
|
-
<
|
192
|
-
<
|
193
|
-
<
|
194
|
-
|
195
|
-
|
196
|
-
</
|
197
|
-
|
198
|
-
|
199
|
-
<
|
200
|
-
|
201
|
-
<
|
202
|
-
|
203
|
-
<
|
204
|
-
<
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<
|
209
|
-
|
210
|
-
</
|
211
|
-
<
|
212
|
-
<
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
<
|
217
|
-
<
|
218
|
-
|
219
|
-
|
52
|
+
<td class="function_name">
|
53
|
+
<a class="link" href="RsvgHandle.html#rsvg-error-quark" title="rsvg_error_quark ()">rsvg_error_quark</a> <span class="c_punctuation">()</span>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<td class="function_type">
|
58
|
+
<span class="returnvalue">void</span>
|
59
|
+
</td>
|
60
|
+
<td class="function_name">
|
61
|
+
<a class="link" href="RsvgHandle.html#rsvg-cleanup" title="rsvg_cleanup ()">rsvg_cleanup</a> <span class="c_punctuation">()</span>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td class="function_type">
|
66
|
+
<span class="returnvalue">void</span>
|
67
|
+
</td>
|
68
|
+
<td class="function_name">
|
69
|
+
<a class="link" href="RsvgHandle.html#rsvg-set-default-dpi" title="rsvg_set_default_dpi ()">rsvg_set_default_dpi</a> <span class="c_punctuation">()</span>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td class="function_type">
|
74
|
+
<span class="returnvalue">void</span>
|
75
|
+
</td>
|
76
|
+
<td class="function_name">
|
77
|
+
<a class="link" href="RsvgHandle.html#rsvg-set-default-dpi-x-y" title="rsvg_set_default_dpi_x_y ()">rsvg_set_default_dpi_x_y</a> <span class="c_punctuation">()</span>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td class="function_type">
|
82
|
+
<span class="returnvalue">void</span>
|
83
|
+
</td>
|
84
|
+
<td class="function_name">
|
85
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-set-dpi" title="rsvg_handle_set_dpi ()">rsvg_handle_set_dpi</a> <span class="c_punctuation">()</span>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
<tr>
|
89
|
+
<td class="function_type">
|
90
|
+
<span class="returnvalue">void</span>
|
91
|
+
</td>
|
92
|
+
<td class="function_name">
|
93
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-set-dpi-x-y" title="rsvg_handle_set_dpi_x_y ()">rsvg_handle_set_dpi_x_y</a> <span class="c_punctuation">()</span>
|
94
|
+
</td>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<td class="function_type">
|
98
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
99
|
+
</td>
|
100
|
+
<td class="function_name">
|
101
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-new" title="rsvg_handle_new ()">rsvg_handle_new</a> <span class="c_punctuation">()</span>
|
102
|
+
</td>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<td class="function_type">
|
106
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
107
|
+
</td>
|
108
|
+
<td class="function_name">
|
109
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-new-with-flags" title="rsvg_handle_new_with_flags ()">rsvg_handle_new_with_flags</a> <span class="c_punctuation">()</span>
|
110
|
+
</td>
|
111
|
+
</tr>
|
112
|
+
<tr>
|
113
|
+
<td class="function_type">
|
114
|
+
<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>
|
115
|
+
</td>
|
116
|
+
<td class="function_name">
|
117
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-write" title="rsvg_handle_write ()">rsvg_handle_write</a> <span class="c_punctuation">()</span>
|
118
|
+
</td>
|
119
|
+
</tr>
|
120
|
+
<tr>
|
121
|
+
<td class="function_type">
|
122
|
+
<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>
|
123
|
+
</td>
|
124
|
+
<td class="function_name">
|
125
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-close" title="rsvg_handle_close ()">rsvg_handle_close</a> <span class="c_punctuation">()</span>
|
126
|
+
</td>
|
127
|
+
</tr>
|
128
|
+
<tr>
|
129
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
130
|
+
</td>
|
131
|
+
<td class="function_name">
|
132
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-base-uri" title="rsvg_handle_get_base_uri ()">rsvg_handle_get_base_uri</a> <span class="c_punctuation">()</span>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td class="function_type">
|
137
|
+
<span class="returnvalue">void</span>
|
138
|
+
</td>
|
139
|
+
<td class="function_name">
|
140
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-set-base-uri" title="rsvg_handle_set_base_uri ()">rsvg_handle_set_base_uri</a> <span class="c_punctuation">()</span>
|
141
|
+
</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td class="function_type">
|
145
|
+
<span class="returnvalue">void</span>
|
146
|
+
</td>
|
147
|
+
<td class="function_name">
|
148
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-dimensions" title="rsvg_handle_get_dimensions ()">rsvg_handle_get_dimensions</a> <span class="c_punctuation">()</span>
|
149
|
+
</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td class="function_type">
|
153
|
+
<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>
|
154
|
+
</td>
|
155
|
+
<td class="function_name">
|
156
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-dimensions-sub" title="rsvg_handle_get_dimensions_sub ()">rsvg_handle_get_dimensions_sub</a> <span class="c_punctuation">()</span>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td class="function_type">
|
161
|
+
<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>
|
162
|
+
</td>
|
163
|
+
<td class="function_name">
|
164
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-position-sub" title="rsvg_handle_get_position_sub ()">rsvg_handle_get_position_sub</a> <span class="c_punctuation">()</span>
|
165
|
+
</td>
|
166
|
+
</tr>
|
167
|
+
<tr>
|
168
|
+
<td class="function_type">
|
169
|
+
<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>
|
170
|
+
</td>
|
171
|
+
<td class="function_name">
|
172
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-has-sub" title="rsvg_handle_has_sub ()">rsvg_handle_has_sub</a> <span class="c_punctuation">()</span>
|
173
|
+
</td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-title" title="rsvg_handle_get_title ()">rsvg_handle_get_title</a> <span class="c_punctuation">()</span>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
184
|
+
</td>
|
185
|
+
<td class="function_name">
|
186
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-desc" title="rsvg_handle_get_desc ()">rsvg_handle_get_desc</a> <span class="c_punctuation">()</span>
|
187
|
+
</td>
|
188
|
+
</tr>
|
189
|
+
<tr>
|
190
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
191
|
+
</td>
|
192
|
+
<td class="function_name">
|
193
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-get-metadata" title="rsvg_handle_get_metadata ()">rsvg_handle_get_metadata</a> <span class="c_punctuation">()</span>
|
194
|
+
</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td class="function_type">
|
198
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
199
|
+
</td>
|
200
|
+
<td class="function_name">
|
201
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-new-from-data" title="rsvg_handle_new_from_data ()">rsvg_handle_new_from_data</a> <span class="c_punctuation">()</span>
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
<tr>
|
205
|
+
<td class="function_type">
|
206
|
+
<a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
207
|
+
</td>
|
208
|
+
<td class="function_name">
|
209
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-new-from-file" title="rsvg_handle_new_from_file ()">rsvg_handle_new_from_file</a> <span class="c_punctuation">()</span>
|
210
|
+
</td>
|
211
|
+
</tr>
|
212
|
+
<tr>
|
213
|
+
<td class="function_type">
|
214
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
|
215
|
+
</td>
|
216
|
+
<td class="function_name">
|
217
|
+
<a class="link" href="RsvgHandle.html#rsvg-error-get-type" title="rsvg_error_get_type ()">rsvg_error_get_type</a> <span class="c_punctuation">()</span>
|
218
|
+
</td>
|
219
|
+
</tr>
|
220
|
+
<tr>
|
221
|
+
<td class="define_keyword">#define</td>
|
222
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RSVG-TYPE-ERROR:CAPS" title="RSVG_TYPE_ERROR">RSVG_TYPE_ERROR</a></td>
|
223
|
+
</tr>
|
224
|
+
<tr>
|
225
|
+
<td class="function_type">
|
226
|
+
<span class="returnvalue">void</span>
|
227
|
+
</td>
|
228
|
+
<td class="function_name">
|
229
|
+
<a class="link" href="RsvgHandle.html#rsvg-init" title="rsvg_init ()">rsvg_init</a> <span class="c_punctuation">()</span>
|
230
|
+
</td>
|
231
|
+
</tr>
|
232
|
+
<tr>
|
233
|
+
<td class="function_type">
|
234
|
+
<span class="returnvalue">void</span>
|
235
|
+
</td>
|
236
|
+
<td class="function_name">
|
237
|
+
<a class="link" href="RsvgHandle.html#rsvg-term" title="rsvg_term ()">rsvg_term</a> <span class="c_punctuation">()</span>
|
238
|
+
</td>
|
239
|
+
</tr>
|
240
|
+
<tr>
|
241
|
+
<td class="function_type">
|
242
|
+
<span class="returnvalue">void</span>
|
243
|
+
</td>
|
244
|
+
<td class="function_name">
|
245
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-free" title="rsvg_handle_free ()">rsvg_handle_free</a> <span class="c_punctuation">()</span>
|
246
|
+
</td>
|
247
|
+
</tr>
|
248
|
+
<tr>
|
249
|
+
<td class="function_type">
|
250
|
+
<span class="returnvalue">void</span>
|
251
|
+
</td>
|
252
|
+
<td class="function_name">
|
253
|
+
<a class="link" href="RsvgHandle.html#rsvg-handle-set-size-callback" title="rsvg_handle_set_size_callback ()">rsvg_handle_set_size_callback</a> <span class="c_punctuation">()</span>
|
254
|
+
</td>
|
255
|
+
</tr>
|
256
|
+
</tbody>
|
220
257
|
</table></div>
|
221
258
|
</div>
|
222
|
-
<
|
223
|
-
<
|
224
|
-
<
|
225
|
-
<pre class="programlisting">struct RsvgDimensionData {
|
226
|
-
int width;
|
227
|
-
int height;
|
228
|
-
gdouble em;
|
229
|
-
gdouble ex;
|
230
|
-
};
|
231
|
-
</pre>
|
232
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
259
|
+
<div class="refsect1">
|
260
|
+
<a name="RsvgHandle.properties"></a><h2>Properties</h2>
|
261
|
+
<div class="informaltable"><table border="0">
|
233
262
|
<colgroup>
|
234
|
-
<col
|
235
|
-
<col>
|
263
|
+
<col width="150px" class="properties_type">
|
264
|
+
<col width="300px" class="properties_name">
|
265
|
+
<col width="200px" class="properties_flags">
|
236
266
|
</colgroup>
|
237
267
|
<tbody>
|
238
268
|
<tr>
|
239
|
-
<td
|
240
|
-
<
|
269
|
+
<td class="property_type">
|
270
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
271
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--base-uri" title="The “base-uri” property">base-uri</a></td>
|
272
|
+
<td class="property_flags">Read / Write / Construct</td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td class="property_type">
|
276
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
277
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--desc" title="The “desc” property">desc</a></td>
|
278
|
+
<td class="property_flags">Read</td>
|
279
|
+
</tr>
|
280
|
+
<tr>
|
281
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
282
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--dpi-x" title="The “dpi-x” property">dpi-x</a></td>
|
283
|
+
<td class="property_flags">Read / Write / Construct</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
287
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--dpi-y" title="The “dpi-y” property">dpi-y</a></td>
|
288
|
+
<td class="property_flags">Read / Write / Construct</td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
292
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--em" title="The “em” property">em</a></td>
|
293
|
+
<td class="property_flags">Read</td>
|
294
|
+
</tr>
|
295
|
+
<tr>
|
296
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
297
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--ex" title="The “ex” property">ex</a></td>
|
298
|
+
<td class="property_flags">Read</td>
|
299
|
+
</tr>
|
300
|
+
<tr>
|
301
|
+
<td class="property_type"><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></td>
|
302
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--flags" title="The “flags” property">flags</a></td>
|
303
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
241
304
|
</tr>
|
242
305
|
<tr>
|
243
|
-
<td
|
244
|
-
<td
|
306
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
307
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--height" title="The “height” property">height</a></td>
|
308
|
+
<td class="property_flags">Read</td>
|
245
309
|
</tr>
|
246
310
|
<tr>
|
247
|
-
<td
|
248
|
-
<
|
311
|
+
<td class="property_type">
|
312
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
313
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--metadata" title="The “metadata” property">metadata</a></td>
|
314
|
+
<td class="property_flags">Read</td>
|
249
315
|
</tr>
|
250
316
|
<tr>
|
251
|
-
<td
|
252
|
-
<
|
317
|
+
<td class="property_type">
|
318
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
319
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--title" title="The “title” property">title</a></td>
|
320
|
+
<td class="property_flags">Read</td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
324
|
+
<td class="property_name"><a class="link" href="RsvgHandle.html#RsvgHandle--width" title="The “width” property">width</a></td>
|
325
|
+
<td class="property_flags">Read</td>
|
253
326
|
</tr>
|
254
327
|
</tbody>
|
255
328
|
</table></div>
|
256
329
|
</div>
|
257
|
-
<
|
258
|
-
<
|
259
|
-
<
|
260
|
-
<pre class="programlisting">struct RsvgPositionData {
|
261
|
-
int x;
|
262
|
-
int y;
|
263
|
-
};
|
264
|
-
</pre>
|
265
|
-
<p>
|
266
|
-
Position of an SVG fragment.
|
267
|
-
</p>
|
268
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
330
|
+
<div class="refsect1">
|
331
|
+
<a name="RsvgHandle.other"></a><h2>Types and Values</h2>
|
332
|
+
<div class="informaltable"><table width="100%" border="0">
|
269
333
|
<colgroup>
|
270
|
-
<col
|
271
|
-
<col>
|
334
|
+
<col width="150px" class="name">
|
335
|
+
<col class="description">
|
272
336
|
</colgroup>
|
273
337
|
<tbody>
|
274
338
|
<tr>
|
275
|
-
<td
|
276
|
-
<td
|
339
|
+
<td class="datatype_keyword">enum</td>
|
340
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RsvgError" title="enum RsvgError">RsvgError</a></td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td class="datatype_keyword">struct</td>
|
344
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandle-struct" title="struct RsvgHandle">RsvgHandle</a></td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td class="typedef_keyword">typedef</td>
|
348
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandlePrivate" title="RsvgHandlePrivate">RsvgHandlePrivate</a></td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td class="datatype_keyword">struct</td>
|
352
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandleClass" title="struct RsvgHandleClass">RsvgHandleClass</a></td>
|
277
353
|
</tr>
|
278
354
|
<tr>
|
279
|
-
<td
|
280
|
-
<td
|
355
|
+
<td class="datatype_keyword">struct</td>
|
356
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData">RsvgDimensionData</a></td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td class="datatype_keyword">struct</td>
|
360
|
+
<td class="function_name"><a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData">RsvgPositionData</a></td>
|
281
361
|
</tr>
|
282
362
|
</tbody>
|
283
363
|
</table></div>
|
284
364
|
</div>
|
365
|
+
<div class="refsect1">
|
366
|
+
<a name="RsvgHandle.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
367
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
368
|
+
<span class="lineart">╰──</span> RsvgError
|
369
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
370
|
+
<span class="lineart">╰──</span> RsvgHandle
|
371
|
+
</pre>
|
372
|
+
</div>
|
373
|
+
<div class="refsect1">
|
374
|
+
<a name="RsvgHandle.description"></a><h2>Description</h2>
|
375
|
+
<p>librsvg is a component used within software applications to enable
|
376
|
+
support for SVG-format scalable graphics. In contrast to raster
|
377
|
+
formats, scalable vector graphics provide users and artists a way
|
378
|
+
to create, view, and provide imagery that is not limited to the
|
379
|
+
pixel or dot density that an output device is capable of.</p>
|
380
|
+
<p>Many software developers use the librsvg library to render
|
381
|
+
SVG graphics. It is lightweight and portable.</p>
|
382
|
+
</div>
|
383
|
+
<div class="refsect1">
|
384
|
+
<a name="RsvgHandle.functions_details"></a><h2>Functions</h2>
|
385
|
+
<div class="refsect2">
|
386
|
+
<a name="RSVG-ERROR:CAPS"></a><h3>RSVG_ERROR</h3>
|
387
|
+
<pre class="programlisting">#define RSVG_ERROR</pre>
|
388
|
+
</div>
|
285
389
|
<hr>
|
286
390
|
<div class="refsect2">
|
287
|
-
<a name="rsvg-
|
288
|
-
<pre class="programlisting"><
|
289
|
-
<
|
290
|
-
|
291
|
-
|
292
|
-
</
|
391
|
+
<a name="rsvg-error-quark"></a><h3>rsvg_error_quark ()</h3>
|
392
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
393
|
+
rsvg_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
394
|
+
<p>The error domain for RSVG</p>
|
395
|
+
<div class="refsect3">
|
396
|
+
<a name="id-1.2.3.8.3.5"></a><h4>Returns</h4>
|
397
|
+
<p> The error domain</p>
|
398
|
+
<p></p>
|
399
|
+
</div>
|
400
|
+
</div>
|
401
|
+
<hr>
|
402
|
+
<div class="refsect2">
|
403
|
+
<a name="rsvg-cleanup"></a><h3>rsvg_cleanup ()</h3>
|
404
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
405
|
+
rsvg_cleanup (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
406
|
+
<p>This function should not be called from normal programs.
|
407
|
+
See <code class="function">xmlCleanupParser()</code> for more information.</p>
|
293
408
|
<p class="since">Since 2.36</p>
|
294
409
|
</div>
|
295
410
|
<hr>
|
296
411
|
<div class="refsect2">
|
297
|
-
<a name="rsvg-set-default-dpi"></a><h3>rsvg_set_default_dpi
|
298
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
299
|
-
<
|
300
|
-
Sets the DPI for the all future outgoing pixbufs. Common values are
|
301
|
-
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
302
|
-
|
303
|
-
|
304
|
-
<div class="
|
412
|
+
<a name="rsvg-set-default-dpi"></a><h3>rsvg_set_default_dpi ()</h3>
|
413
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
414
|
+
rsvg_set_default_dpi (<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
|
415
|
+
<p>Sets the DPI for the all future outgoing pixbufs. Common values are
|
416
|
+
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
417
|
+
will
|
418
|
+
reset the DPI to whatever the default value happens to be.</p>
|
419
|
+
<div class="refsect3">
|
420
|
+
<a name="id-1.2.3.8.5.5"></a><h4>Parameters</h4>
|
421
|
+
<div class="informaltable"><table width="100%" border="0">
|
305
422
|
<colgroup>
|
306
|
-
<col
|
307
|
-
<col>
|
423
|
+
<col width="150px" class="parameters_name">
|
424
|
+
<col class="parameters_description">
|
425
|
+
<col width="200px" class="parameters_annotations">
|
308
426
|
</colgroup>
|
309
427
|
<tbody><tr>
|
310
|
-
<td
|
311
|
-
<td>Dots Per Inch (aka Pixels Per Inch)</td>
|
428
|
+
<td class="parameter_name"><p>dpi</p></td>
|
429
|
+
<td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
|
430
|
+
<td class="parameter_annotations"> </td>
|
312
431
|
</tr></tbody>
|
313
432
|
</table></div>
|
433
|
+
</div>
|
314
434
|
<p class="since">Since 2.8</p>
|
315
435
|
</div>
|
316
436
|
<hr>
|
317
437
|
<div class="refsect2">
|
318
|
-
<a name="rsvg-set-default-dpi-x-y"></a><h3>rsvg_set_default_dpi_x_y
|
319
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
320
|
-
|
321
|
-
<
|
322
|
-
Sets the DPI for the all future outgoing pixbufs. Common values are
|
323
|
-
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
324
|
-
|
325
|
-
|
326
|
-
<div class="
|
438
|
+
<a name="rsvg-set-default-dpi-x-y"></a><h3>rsvg_set_default_dpi_x_y ()</h3>
|
439
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
440
|
+
rsvg_set_default_dpi_x_y (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
441
|
+
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
|
442
|
+
<p>Sets the DPI for the all future outgoing pixbufs. Common values are
|
443
|
+
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
444
|
+
will
|
445
|
+
reset the DPI to whatever the default value happens to be.</p>
|
446
|
+
<div class="refsect3">
|
447
|
+
<a name="id-1.2.3.8.6.5"></a><h4>Parameters</h4>
|
448
|
+
<div class="informaltable"><table width="100%" border="0">
|
327
449
|
<colgroup>
|
328
|
-
<col
|
329
|
-
<col>
|
450
|
+
<col width="150px" class="parameters_name">
|
451
|
+
<col class="parameters_description">
|
452
|
+
<col width="200px" class="parameters_annotations">
|
330
453
|
</colgroup>
|
331
454
|
<tbody>
|
332
455
|
<tr>
|
333
|
-
<td
|
334
|
-
<td>Dots Per Inch (aka Pixels Per Inch)</td>
|
456
|
+
<td class="parameter_name"><p>dpi_x</p></td>
|
457
|
+
<td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
|
458
|
+
<td class="parameter_annotations"> </td>
|
335
459
|
</tr>
|
336
460
|
<tr>
|
337
|
-
<td
|
338
|
-
<td>Dots Per Inch (aka Pixels Per Inch)</td>
|
461
|
+
<td class="parameter_name"><p>dpi_y</p></td>
|
462
|
+
<td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
|
463
|
+
<td class="parameter_annotations"> </td>
|
339
464
|
</tr>
|
340
465
|
</tbody>
|
341
466
|
</table></div>
|
467
|
+
</div>
|
342
468
|
<p class="since">Since 2.8</p>
|
343
469
|
</div>
|
344
470
|
<hr>
|
345
471
|
<div class="refsect2">
|
346
|
-
<a name="rsvg-handle-set-dpi"></a><h3>rsvg_handle_set_dpi
|
347
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
348
|
-
|
349
|
-
<
|
350
|
-
Sets the DPI for the outgoing pixbuf. Common values are
|
351
|
-
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
352
|
-
|
353
|
-
|
354
|
-
<div class="
|
472
|
+
<a name="rsvg-handle-set-dpi"></a><h3>rsvg_handle_set_dpi ()</h3>
|
473
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
474
|
+
rsvg_handle_set_dpi (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
475
|
+
<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
|
476
|
+
<p>Sets the DPI for the outgoing pixbuf. Common values are
|
477
|
+
75, 90, and 300 DPI. Passing a number <= 0 to <em class="parameter"><code>dpi</code></em>
|
478
|
+
will
|
479
|
+
reset the DPI to whatever the default value happens to be.</p>
|
480
|
+
<div class="refsect3">
|
481
|
+
<a name="id-1.2.3.8.7.5"></a><h4>Parameters</h4>
|
482
|
+
<div class="informaltable"><table width="100%" border="0">
|
355
483
|
<colgroup>
|
356
|
-
<col
|
357
|
-
<col>
|
484
|
+
<col width="150px" class="parameters_name">
|
485
|
+
<col class="parameters_description">
|
486
|
+
<col width="200px" class="parameters_annotations">
|
358
487
|
</colgroup>
|
359
488
|
<tbody>
|
360
489
|
<tr>
|
361
|
-
<td
|
362
|
-
<td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
363
|
-
</td>
|
490
|
+
<td class="parameter_name"><p>handle</p></td>
|
491
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
492
|
+
<td class="parameter_annotations"> </td>
|
364
493
|
</tr>
|
365
494
|
<tr>
|
366
|
-
<td
|
367
|
-
<td>Dots Per Inch (aka Pixels Per Inch)</td>
|
495
|
+
<td class="parameter_name"><p>dpi</p></td>
|
496
|
+
<td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
|
497
|
+
<td class="parameter_annotations"> </td>
|
368
498
|
</tr>
|
369
499
|
</tbody>
|
370
500
|
</table></div>
|
501
|
+
</div>
|
371
502
|
<p class="since">Since 2.8</p>
|
372
503
|
</div>
|
373
504
|
<hr>
|
374
505
|
<div class="refsect2">
|
375
|
-
<a name="rsvg-handle-set-dpi-x-y"></a><h3>rsvg_handle_set_dpi_x_y
|
376
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
377
|
-
|
378
|
-
|
379
|
-
<
|
380
|
-
Sets the DPI for the outgoing pixbuf. Common values are
|
381
|
-
75, 90, and 300 DPI. Passing a number <= 0 to <span class="type">dpi_x</span> or <em class="parameter"><code>dpi_y</code></em>
|
382
|
-
|
383
|
-
|
384
|
-
<div class="
|
506
|
+
<a name="rsvg-handle-set-dpi-x-y"></a><h3>rsvg_handle_set_dpi_x_y ()</h3>
|
507
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
508
|
+
rsvg_handle_set_dpi_x_y (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
509
|
+
<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
510
|
+
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
|
511
|
+
<p>Sets the DPI for the outgoing pixbuf. Common values are
|
512
|
+
75, 90, and 300 DPI. Passing a number <= 0 to <span class="type">dpi_x</span> or <em class="parameter"><code>dpi_y</code></em>
|
513
|
+
will
|
514
|
+
reset the DPI to whatever the default value happens to be.</p>
|
515
|
+
<div class="refsect3">
|
516
|
+
<a name="id-1.2.3.8.8.5"></a><h4>Parameters</h4>
|
517
|
+
<div class="informaltable"><table width="100%" border="0">
|
385
518
|
<colgroup>
|
386
|
-
<col
|
387
|
-
<col>
|
519
|
+
<col width="150px" class="parameters_name">
|
520
|
+
<col class="parameters_description">
|
521
|
+
<col width="200px" class="parameters_annotations">
|
388
522
|
</colgroup>
|
389
523
|
<tbody>
|
390
524
|
<tr>
|
391
|
-
<td
|
392
|
-
<td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
393
|
-
</td>
|
525
|
+
<td class="parameter_name"><p>handle</p></td>
|
526
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
527
|
+
<td class="parameter_annotations"> </td>
|
394
528
|
</tr>
|
395
529
|
<tr>
|
396
|
-
<td
|
397
|
-
<td>Dots Per Inch (aka Pixels Per Inch)</td>
|
530
|
+
<td class="parameter_name"><p>dpi_x</p></td>
|
531
|
+
<td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
|
532
|
+
<td class="parameter_annotations"> </td>
|
398
533
|
</tr>
|
399
534
|
<tr>
|
400
|
-
<td
|
401
|
-
<td>Dots Per Inch (aka Pixels Per Inch)</td>
|
535
|
+
<td class="parameter_name"><p>dpi_y</p></td>
|
536
|
+
<td class="parameter_description"><p>Dots Per Inch (aka Pixels Per Inch)</p></td>
|
537
|
+
<td class="parameter_annotations"> </td>
|
402
538
|
</tr>
|
403
539
|
</tbody>
|
404
540
|
</table></div>
|
541
|
+
</div>
|
405
542
|
<p class="since">Since 2.8</p>
|
406
543
|
</div>
|
407
544
|
<hr>
|
408
545
|
<div class="refsect2">
|
409
|
-
<a name="rsvg-handle-new"></a><h3>rsvg_handle_new
|
410
|
-
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a>
|
411
|
-
<
|
412
|
-
Returns a new rsvg handle. Must be freed with <em class="parameter"><code>g_object_unref</code></em
|
546
|
+
<a name="rsvg-handle-new"></a><h3>rsvg_handle_new ()</h3>
|
547
|
+
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
548
|
+
rsvg_handle_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
549
|
+
<p>Returns a new rsvg handle. Must be freed with <em class="parameter"><code>g_object_unref</code></em>
|
550
|
+
. This
|
413
551
|
handle can be used for dynamically loading an image. You need to feed it
|
414
|
-
data using <em class="parameter"><code>rsvg_handle_write</code></em
|
552
|
+
data using <em class="parameter"><code>rsvg_handle_write</code></em>
|
553
|
+
, then call <em class="parameter"><code>rsvg_handle_close</code></em>
|
554
|
+
when done.
|
415
555
|
Afterwords, you can render it using Cairo or get a GdkPixbuf from it. When
|
416
|
-
finished, free with <a href="
|
417
|
-
with one handle
|
418
|
-
|
419
|
-
<
|
420
|
-
<
|
421
|
-
<
|
422
|
-
|
423
|
-
</colgroup>
|
424
|
-
<tbody><tr>
|
425
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
426
|
-
<td>A new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
427
|
-
</td>
|
428
|
-
</tr></tbody>
|
429
|
-
</table></div>
|
556
|
+
finished, free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. No more than one image can be loaded
|
557
|
+
with one handle.</p>
|
558
|
+
<div class="refsect3">
|
559
|
+
<a name="id-1.2.3.8.9.5"></a><h4>Returns</h4>
|
560
|
+
<p> A new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p>
|
561
|
+
<p></p>
|
562
|
+
</div>
|
430
563
|
</div>
|
431
564
|
<hr>
|
432
565
|
<div class="refsect2">
|
433
|
-
<a name="rsvg-handle-new-with-flags"></a><h3>rsvg_handle_new_with_flags
|
434
|
-
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a>
|
435
|
-
<
|
436
|
-
Creates a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> with flags <em class="parameter"><code>flags</code></em
|
437
|
-
|
438
|
-
<div class="
|
566
|
+
<a name="rsvg-handle-new-with-flags"></a><h3>rsvg_handle_new_with_flags ()</h3>
|
567
|
+
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
568
|
+
rsvg_handle_new_with_flags (<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>);</pre>
|
569
|
+
<p>Creates a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> with flags <em class="parameter"><code>flags</code></em>
|
570
|
+
.</p>
|
571
|
+
<div class="refsect3">
|
572
|
+
<a name="id-1.2.3.8.10.5"></a><h4>Parameters</h4>
|
573
|
+
<div class="informaltable"><table width="100%" border="0">
|
439
574
|
<colgroup>
|
440
|
-
<col
|
441
|
-
<col>
|
575
|
+
<col width="150px" class="parameters_name">
|
576
|
+
<col class="parameters_description">
|
577
|
+
<col width="200px" class="parameters_annotations">
|
442
578
|
</colgroup>
|
443
|
-
<tbody>
|
444
|
-
<
|
445
|
-
<td><p
|
446
|
-
<td
|
447
|
-
</
|
448
|
-
</tr>
|
449
|
-
<tr>
|
450
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
451
|
-
<td>a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
452
|
-
</td>
|
453
|
-
</tr>
|
454
|
-
</tbody>
|
579
|
+
<tbody><tr>
|
580
|
+
<td class="parameter_name"><p>flags</p></td>
|
581
|
+
<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>
|
582
|
+
<td class="parameter_annotations"> </td>
|
583
|
+
</tr></tbody>
|
455
584
|
</table></div>
|
585
|
+
</div>
|
586
|
+
<div class="refsect3">
|
587
|
+
<a name="id-1.2.3.8.10.6"></a><h4>Returns</h4>
|
588
|
+
<p> a new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>. </p>
|
589
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
590
|
+
</div>
|
456
591
|
<p class="since">Since 2.36</p>
|
457
592
|
</div>
|
458
593
|
<hr>
|
459
594
|
<div class="refsect2">
|
460
|
-
<a name="rsvg-handle-write"></a><h3>rsvg_handle_write
|
461
|
-
<pre class="programlisting"><a href="
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
<
|
466
|
-
Loads the next <em class="parameter"><code>count</code></em>
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
</
|
472
|
-
<
|
595
|
+
<a name="rsvg-handle-write"></a><h3>rsvg_handle_write ()</h3>
|
596
|
+
<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>
|
597
|
+
rsvg_handle_write (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
598
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
|
599
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
600
|
+
<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>
|
601
|
+
<p>Loads the next <em class="parameter"><code>count</code></em>
|
602
|
+
bytes of the image. This will return <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 the data
|
603
|
+
was loaded successful, and <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> if an error occurred. In the latter case,
|
604
|
+
the loader will be closed, and will not accept further writes. If <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> is
|
605
|
+
returned, <em class="parameter"><code>error</code></em>
|
606
|
+
will be set to an error from the <a class="link" href="RsvgHandle.html#RsvgError" title="enum RsvgError"><span class="type">RsvgError</span></a> domain. Errors
|
607
|
+
from <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#GIOErrorEnum"><span class="type">GIOErrorEnum</span></a> are also possible.</p>
|
608
|
+
<div class="refsect3">
|
609
|
+
<a name="id-1.2.3.8.11.5"></a><h4>Parameters</h4>
|
610
|
+
<div class="informaltable"><table width="100%" border="0">
|
473
611
|
<colgroup>
|
474
|
-
<col
|
475
|
-
<col>
|
612
|
+
<col width="150px" class="parameters_name">
|
613
|
+
<col class="parameters_description">
|
614
|
+
<col width="200px" class="parameters_annotations">
|
476
615
|
</colgroup>
|
477
616
|
<tbody>
|
478
617
|
<tr>
|
479
|
-
<td
|
480
|
-
<td>an <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
481
|
-
</td>
|
618
|
+
<td class="parameter_name"><p>handle</p></td>
|
619
|
+
<td class="parameter_description"><p>an <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
620
|
+
<td class="parameter_annotations"> </td>
|
482
621
|
</tr>
|
483
622
|
<tr>
|
484
|
-
<td
|
485
|
-
<td
|
486
|
-
</td>
|
623
|
+
<td class="parameter_name"><p>buf</p></td>
|
624
|
+
<td class="parameter_description"><p> pointer to svg data. </p></td>
|
625
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guchar]</span></td>
|
487
626
|
</tr>
|
488
627
|
<tr>
|
489
|
-
<td
|
490
|
-
<td>length of the <em class="parameter"><code>buf</code></em>
|
628
|
+
<td class="parameter_name"><p>count</p></td>
|
629
|
+
<td class="parameter_description"><p>length of the <em class="parameter"><code>buf</code></em>
|
630
|
+
buffer in bytes</p></td>
|
631
|
+
<td class="parameter_annotations"> </td>
|
491
632
|
</tr>
|
492
633
|
<tr>
|
493
|
-
<td
|
494
|
-
<td>a location to store a <a href="
|
495
|
-
</td>
|
496
|
-
</tr>
|
497
|
-
<tr>
|
498
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
499
|
-
<td>
|
500
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
634
|
+
<td class="parameter_name"><p>error</p></td>
|
635
|
+
<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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
636
|
+
<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>
|
501
637
|
</tr>
|
502
638
|
</tbody>
|
503
639
|
</table></div>
|
504
640
|
</div>
|
641
|
+
<div class="refsect3">
|
642
|
+
<a name="id-1.2.3.8.11.6"></a><h4>Returns</h4>
|
643
|
+
<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> on success, 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> on error</p>
|
644
|
+
<p></p>
|
645
|
+
</div>
|
646
|
+
</div>
|
505
647
|
<hr>
|
506
648
|
<div class="refsect2">
|
507
|
-
<a name="rsvg-handle-close"></a><h3>rsvg_handle_close
|
508
|
-
<pre class="programlisting"><a href="
|
509
|
-
|
510
|
-
<
|
511
|
-
Closes <em class="parameter"><code>handle</code></em
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
<
|
649
|
+
<a name="rsvg-handle-close"></a><h3>rsvg_handle_close ()</h3>
|
650
|
+
<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>
|
651
|
+
rsvg_handle_close (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
652
|
+
<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>
|
653
|
+
<p>Closes <em class="parameter"><code>handle</code></em>
|
654
|
+
, to indicate that loading the image is complete. This will
|
655
|
+
return <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 the loader closed successfully. Note that <em class="parameter"><code>handle</code></em>
|
656
|
+
isn't
|
657
|
+
freed until <em class="parameter"><code>g_object_unref</code></em>
|
658
|
+
is called.</p>
|
659
|
+
<div class="refsect3">
|
660
|
+
<a name="id-1.2.3.8.12.5"></a><h4>Parameters</h4>
|
661
|
+
<div class="informaltable"><table width="100%" border="0">
|
516
662
|
<colgroup>
|
517
|
-
<col
|
518
|
-
<col>
|
663
|
+
<col width="150px" class="parameters_name">
|
664
|
+
<col class="parameters_description">
|
665
|
+
<col width="200px" class="parameters_annotations">
|
519
666
|
</colgroup>
|
520
667
|
<tbody>
|
521
668
|
<tr>
|
522
|
-
<td
|
523
|
-
<td>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
524
|
-
</td>
|
525
|
-
</tr>
|
526
|
-
<tr>
|
527
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
528
|
-
<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>
|
529
|
-
</td>
|
669
|
+
<td class="parameter_name"><p>handle</p></td>
|
670
|
+
<td class="parameter_description"><p>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
671
|
+
<td class="parameter_annotations"> </td>
|
530
672
|
</tr>
|
531
673
|
<tr>
|
532
|
-
<td
|
533
|
-
<td>
|
534
|
-
<
|
674
|
+
<td class="parameter_name"><p>error</p></td>
|
675
|
+
<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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
676
|
+
<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>
|
535
677
|
</tr>
|
536
678
|
</tbody>
|
537
679
|
</table></div>
|
538
680
|
</div>
|
681
|
+
<div class="refsect3">
|
682
|
+
<a name="id-1.2.3.8.12.6"></a><h4>Returns</h4>
|
683
|
+
<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> on success, 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> on error</p>
|
684
|
+
<p></p>
|
685
|
+
</div>
|
686
|
+
</div>
|
539
687
|
<hr>
|
540
688
|
<div class="refsect2">
|
541
|
-
<a name="rsvg-handle-get-base-uri"></a><h3>rsvg_handle_get_base_uri
|
542
|
-
<pre class="programlisting">const <span class="returnvalue">char</span>
|
543
|
-
<
|
544
|
-
Gets the base uri for this <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a
|
545
|
-
|
546
|
-
<
|
689
|
+
<a name="rsvg-handle-get-base-uri"></a><h3>rsvg_handle_get_base_uri ()</h3>
|
690
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
691
|
+
rsvg_handle_get_base_uri (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
692
|
+
<p>Gets the base uri for this <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>.</p>
|
693
|
+
<div class="refsect3">
|
694
|
+
<a name="id-1.2.3.8.13.5"></a><h4>Parameters</h4>
|
695
|
+
<div class="informaltable"><table width="100%" border="0">
|
547
696
|
<colgroup>
|
548
|
-
<col
|
549
|
-
<col>
|
697
|
+
<col width="150px" class="parameters_name">
|
698
|
+
<col class="parameters_description">
|
699
|
+
<col width="200px" class="parameters_annotations">
|
550
700
|
</colgroup>
|
551
|
-
<tbody>
|
552
|
-
<
|
553
|
-
<td><p
|
554
|
-
<td
|
555
|
-
</
|
556
|
-
</tr>
|
557
|
-
<tr>
|
558
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
559
|
-
<td>the base uri, possibly null</td>
|
560
|
-
</tr>
|
561
|
-
</tbody>
|
701
|
+
<tbody><tr>
|
702
|
+
<td class="parameter_name"><p>handle</p></td>
|
703
|
+
<td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
704
|
+
<td class="parameter_annotations"> </td>
|
705
|
+
</tr></tbody>
|
562
706
|
</table></div>
|
707
|
+
</div>
|
708
|
+
<div class="refsect3">
|
709
|
+
<a name="id-1.2.3.8.13.6"></a><h4>Returns</h4>
|
710
|
+
<p> the base uri, possibly null</p>
|
711
|
+
<p></p>
|
712
|
+
</div>
|
563
713
|
<p class="since">Since 2.8</p>
|
564
714
|
</div>
|
565
715
|
<hr>
|
566
716
|
<div class="refsect2">
|
567
|
-
<a name="rsvg-handle-set-base-uri"></a><h3>rsvg_handle_set_base_uri
|
568
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
569
|
-
|
570
|
-
<
|
571
|
-
Set the base URI for this SVG. This can only be called before <a class="link" href="RsvgHandle.html#rsvg-handle-write" title="rsvg_handle_write
|
572
|
-
has been called
|
573
|
-
|
574
|
-
<
|
717
|
+
<a name="rsvg-handle-set-base-uri"></a><h3>rsvg_handle_set_base_uri ()</h3>
|
718
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
719
|
+
rsvg_handle_set_base_uri (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
720
|
+
<em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>);</pre>
|
721
|
+
<p>Set the base URI for this SVG. This can 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>
|
722
|
+
has been called.</p>
|
723
|
+
<div class="refsect3">
|
724
|
+
<a name="id-1.2.3.8.14.5"></a><h4>Parameters</h4>
|
725
|
+
<div class="informaltable"><table width="100%" border="0">
|
575
726
|
<colgroup>
|
576
|
-
<col
|
577
|
-
<col>
|
727
|
+
<col width="150px" class="parameters_name">
|
728
|
+
<col class="parameters_description">
|
729
|
+
<col width="200px" class="parameters_annotations">
|
578
730
|
</colgroup>
|
579
731
|
<tbody>
|
580
732
|
<tr>
|
581
|
-
<td
|
582
|
-
<td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
583
|
-
</td>
|
733
|
+
<td class="parameter_name"><p>handle</p></td>
|
734
|
+
<td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
735
|
+
<td class="parameter_annotations"> </td>
|
584
736
|
</tr>
|
585
737
|
<tr>
|
586
|
-
<td
|
587
|
-
<td>The base uri</td>
|
738
|
+
<td class="parameter_name"><p>base_uri</p></td>
|
739
|
+
<td class="parameter_description"><p>The base uri</p></td>
|
740
|
+
<td class="parameter_annotations"> </td>
|
588
741
|
</tr>
|
589
742
|
</tbody>
|
590
743
|
</table></div>
|
744
|
+
</div>
|
591
745
|
<p class="since">Since 2.9</p>
|
592
746
|
</div>
|
593
747
|
<hr>
|
594
748
|
<div class="refsect2">
|
595
|
-
<a name="rsvg-handle-get-dimensions"></a><h3>rsvg_handle_get_dimensions
|
596
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
597
|
-
|
598
|
-
<
|
599
|
-
Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur
|
600
|
-
|
601
|
-
<
|
749
|
+
<a name="rsvg-handle-get-dimensions"></a><h3>rsvg_handle_get_dimensions ()</h3>
|
750
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
751
|
+
rsvg_handle_get_dimensions (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
752
|
+
<em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>);</pre>
|
753
|
+
<p>Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.</p>
|
754
|
+
<div class="refsect3">
|
755
|
+
<a name="id-1.2.3.8.15.5"></a><h4>Parameters</h4>
|
756
|
+
<div class="informaltable"><table width="100%" border="0">
|
602
757
|
<colgroup>
|
603
|
-
<col
|
604
|
-
<col>
|
758
|
+
<col width="150px" class="parameters_name">
|
759
|
+
<col class="parameters_description">
|
760
|
+
<col width="200px" class="parameters_annotations">
|
605
761
|
</colgroup>
|
606
762
|
<tbody>
|
607
763
|
<tr>
|
608
|
-
<td
|
609
|
-
<td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
610
|
-
</td>
|
764
|
+
<td class="parameter_name"><p>handle</p></td>
|
765
|
+
<td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
766
|
+
<td class="parameter_annotations"> </td>
|
611
767
|
</tr>
|
612
768
|
<tr>
|
613
|
-
<td
|
614
|
-
<td>A place to store the SVG's size.
|
615
|
-
</td>
|
769
|
+
<td class="parameter_name"><p>dimension_data</p></td>
|
770
|
+
<td class="parameter_description"><p> A place to store the SVG's size. </p></td>
|
771
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
616
772
|
</tr>
|
617
773
|
</tbody>
|
618
774
|
</table></div>
|
775
|
+
</div>
|
619
776
|
<p class="since">Since 2.14</p>
|
620
777
|
</div>
|
621
778
|
<hr>
|
622
779
|
<div class="refsect2">
|
623
|
-
<a name="rsvg-handle-get-dimensions-sub"></a><h3>rsvg_handle_get_dimensions_sub
|
624
|
-
<pre class="programlisting"><a href="
|
625
|
-
|
626
|
-
|
627
|
-
<
|
628
|
-
Get the size of a subelement of the SVG file. Do not call from within the size_func callback, because an infinite loop will occur
|
629
|
-
|
630
|
-
<
|
780
|
+
<a name="rsvg-handle-get-dimensions-sub"></a><h3>rsvg_handle_get_dimensions_sub ()</h3>
|
781
|
+
<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>
|
782
|
+
rsvg_handle_get_dimensions_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
783
|
+
<em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>,
|
784
|
+
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
785
|
+
<p>Get the size of a subelement of the SVG file. Do not call from within the size_func callback, because an infinite loop will occur.</p>
|
786
|
+
<div class="refsect3">
|
787
|
+
<a name="id-1.2.3.8.16.5"></a><h4>Parameters</h4>
|
788
|
+
<div class="informaltable"><table width="100%" border="0">
|
631
789
|
<colgroup>
|
632
|
-
<col
|
633
|
-
<col>
|
790
|
+
<col width="150px" class="parameters_name">
|
791
|
+
<col class="parameters_description">
|
792
|
+
<col width="200px" class="parameters_annotations">
|
634
793
|
</colgroup>
|
635
794
|
<tbody>
|
636
795
|
<tr>
|
637
|
-
<td
|
638
|
-
<td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
639
|
-
</td>
|
796
|
+
<td class="parameter_name"><p>handle</p></td>
|
797
|
+
<td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
798
|
+
<td class="parameter_annotations"> </td>
|
640
799
|
</tr>
|
641
800
|
<tr>
|
642
|
-
<td
|
643
|
-
<td>A place to store the SVG's size.
|
644
|
-
</td>
|
801
|
+
<td class="parameter_name"><p>dimension_data</p></td>
|
802
|
+
<td class="parameter_description"><p> A place to store the SVG's size. </p></td>
|
803
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
645
804
|
</tr>
|
646
805
|
<tr>
|
647
|
-
<td
|
648
|
-
<td>An element's id within the SVG, or <a href="
|
806
|
+
<td class="parameter_name"><p>id</p></td>
|
807
|
+
<td class="parameter_description"><p> An element's id within the SVG, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to get
|
649
808
|
the dimension of the whole SVG. For example, if you have a layer
|
650
809
|
called "layer1" for that you want to get the dimension, pass
|
651
|
-
"<span class="type">layer1</span>" as the id.
|
652
|
-
</td>
|
810
|
+
"<span class="type">layer1</span>" as the id. </p></td>
|
811
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
653
812
|
</tr>
|
654
813
|
</tbody>
|
655
814
|
</table></div>
|
815
|
+
</div>
|
656
816
|
<p class="since">Since 2.22</p>
|
657
817
|
</div>
|
658
818
|
<hr>
|
659
819
|
<div class="refsect2">
|
660
|
-
<a name="rsvg-handle-get-position-sub"></a><h3>rsvg_handle_get_position_sub
|
661
|
-
<pre class="programlisting"><a href="
|
662
|
-
|
663
|
-
|
664
|
-
<
|
665
|
-
Get the position of a subelement of the SVG file. Do not call from within
|
666
|
-
the size_func callback, because an infinite loop will occur
|
667
|
-
|
668
|
-
<
|
820
|
+
<a name="rsvg-handle-get-position-sub"></a><h3>rsvg_handle_get_position_sub ()</h3>
|
821
|
+
<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>
|
822
|
+
rsvg_handle_get_position_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
823
|
+
<em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData"><span class="type">RsvgPositionData</span></a> *position_data</code></em>,
|
824
|
+
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
825
|
+
<p>Get the position of a subelement of the SVG file. Do not call from within
|
826
|
+
the size_func callback, because an infinite loop will occur.</p>
|
827
|
+
<div class="refsect3">
|
828
|
+
<a name="id-1.2.3.8.17.5"></a><h4>Parameters</h4>
|
829
|
+
<div class="informaltable"><table width="100%" border="0">
|
669
830
|
<colgroup>
|
670
|
-
<col
|
671
|
-
<col>
|
831
|
+
<col width="150px" class="parameters_name">
|
832
|
+
<col class="parameters_description">
|
833
|
+
<col width="200px" class="parameters_annotations">
|
672
834
|
</colgroup>
|
673
835
|
<tbody>
|
674
836
|
<tr>
|
675
|
-
<td
|
676
|
-
<td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
677
|
-
</td>
|
837
|
+
<td class="parameter_name"><p>handle</p></td>
|
838
|
+
<td class="parameter_description"><p>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
839
|
+
<td class="parameter_annotations"> </td>
|
678
840
|
</tr>
|
679
841
|
<tr>
|
680
|
-
<td
|
681
|
-
<td>A place to store the SVG fragment's position.
|
682
|
-
</td>
|
842
|
+
<td class="parameter_name"><p>position_data</p></td>
|
843
|
+
<td class="parameter_description"><p> A place to store the SVG fragment's position. </p></td>
|
844
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
683
845
|
</tr>
|
684
846
|
<tr>
|
685
|
-
<td
|
686
|
-
<td>An element's id within the SVG.
|
847
|
+
<td class="parameter_name"><p>id</p></td>
|
848
|
+
<td class="parameter_description"><p>An element's id within the SVG.
|
687
849
|
For example, if you have a layer called "layer1" for that you want to get
|
688
|
-
the position, pass "#<span class="type">layer1</span>" as the id.</td>
|
850
|
+
the position, pass "#<span class="type">layer1</span>" as the id.</p></td>
|
851
|
+
<td class="parameter_annotations"> </td>
|
689
852
|
</tr>
|
690
853
|
</tbody>
|
691
854
|
</table></div>
|
855
|
+
</div>
|
692
856
|
<p class="since">Since 2.22</p>
|
693
857
|
</div>
|
694
858
|
<hr>
|
695
859
|
<div class="refsect2">
|
696
|
-
<a name="rsvg-handle-has-sub"></a><h3>rsvg_handle_has_sub
|
697
|
-
<pre class="programlisting"><a href="
|
698
|
-
|
699
|
-
<
|
700
|
-
Checks whether the element <em class="parameter"><code>id</code></em>
|
701
|
-
|
702
|
-
<div class="
|
860
|
+
<a name="rsvg-handle-has-sub"></a><h3>rsvg_handle_has_sub ()</h3>
|
861
|
+
<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>
|
862
|
+
rsvg_handle_has_sub (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
863
|
+
<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
864
|
+
<p>Checks whether the element <em class="parameter"><code>id</code></em>
|
865
|
+
exists in the SVG document.</p>
|
866
|
+
<div class="refsect3">
|
867
|
+
<a name="id-1.2.3.8.18.5"></a><h4>Parameters</h4>
|
868
|
+
<div class="informaltable"><table width="100%" border="0">
|
703
869
|
<colgroup>
|
704
|
-
<col
|
705
|
-
<col>
|
870
|
+
<col width="150px" class="parameters_name">
|
871
|
+
<col class="parameters_description">
|
872
|
+
<col width="200px" class="parameters_annotations">
|
706
873
|
</colgroup>
|
707
874
|
<tbody>
|
708
875
|
<tr>
|
709
|
-
<td
|
710
|
-
<td>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
711
|
-
</td>
|
712
|
-
</tr>
|
713
|
-
<tr>
|
714
|
-
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
|
715
|
-
<td>an element's id within the SVG</td>
|
876
|
+
<td class="parameter_name"><p>handle</p></td>
|
877
|
+
<td class="parameter_description"><p>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
878
|
+
<td class="parameter_annotations"> </td>
|
716
879
|
</tr>
|
717
880
|
<tr>
|
718
|
-
<td
|
719
|
-
<td>
|
720
|
-
<
|
881
|
+
<td class="parameter_name"><p>id</p></td>
|
882
|
+
<td class="parameter_description"><p>an element's id within the SVG</p></td>
|
883
|
+
<td class="parameter_annotations"> </td>
|
721
884
|
</tr>
|
722
885
|
</tbody>
|
723
886
|
</table></div>
|
887
|
+
</div>
|
888
|
+
<div class="refsect3">
|
889
|
+
<a name="id-1.2.3.8.18.6"></a><h4>Returns</h4>
|
890
|
+
<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 <em class="parameter"><code>id</code></em>
|
891
|
+
exists in the SVG document</p>
|
892
|
+
<p></p>
|
893
|
+
</div>
|
724
894
|
<p class="since">Since 2.22</p>
|
725
895
|
</div>
|
726
896
|
<hr>
|
727
897
|
<div class="refsect2">
|
728
|
-
<a name="rsvg-handle-get-title"></a><h3>rsvg_handle_get_title
|
729
|
-
<pre class="programlisting">const <span class="returnvalue">char</span>
|
730
|
-
<
|
731
|
-
<
|
732
|
-
<p><code class="literal">
|
733
|
-
</
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
898
|
+
<a name="rsvg-handle-get-title"></a><h3>rsvg_handle_get_title ()</h3>
|
899
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
900
|
+
rsvg_handle_get_title (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
901
|
+
<div class="warning"><p><code class="literal">rsvg_handle_get_title</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
902
|
+
<p>Returns the SVG's title in UTF-8 or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
|
903
|
+
of this title if you wish to use it after <em class="parameter"><code>handle</code></em>
|
904
|
+
has been freed.</p>
|
905
|
+
<div class="refsect3">
|
906
|
+
<a name="id-1.2.3.8.19.7"></a><h4>Parameters</h4>
|
907
|
+
<div class="informaltable"><table width="100%" border="0">
|
739
908
|
<colgroup>
|
740
|
-
<col
|
741
|
-
<col>
|
909
|
+
<col width="150px" class="parameters_name">
|
910
|
+
<col class="parameters_description">
|
911
|
+
<col width="200px" class="parameters_annotations">
|
742
912
|
</colgroup>
|
743
|
-
<tbody>
|
744
|
-
<
|
745
|
-
<td><p
|
746
|
-
<td
|
747
|
-
</
|
748
|
-
</tr>
|
749
|
-
<tr>
|
750
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
751
|
-
<td>The SVG's title. <span class="annotation">[nullable]</span>
|
752
|
-
</td>
|
753
|
-
</tr>
|
754
|
-
</tbody>
|
913
|
+
<tbody><tr>
|
914
|
+
<td class="parameter_name"><p>handle</p></td>
|
915
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
916
|
+
<td class="parameter_annotations"> </td>
|
917
|
+
</tr></tbody>
|
755
918
|
</table></div>
|
919
|
+
</div>
|
920
|
+
<div class="refsect3">
|
921
|
+
<a name="id-1.2.3.8.19.8"></a><h4>Returns</h4>
|
922
|
+
<p> The SVG's title. </p>
|
923
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
924
|
+
</div>
|
756
925
|
<p class="since">Since 2.4</p>
|
757
926
|
</div>
|
758
927
|
<hr>
|
759
928
|
<div class="refsect2">
|
760
|
-
<a name="rsvg-handle-get-desc"></a><h3>rsvg_handle_get_desc
|
761
|
-
<pre class="programlisting">const <span class="returnvalue">char</span>
|
762
|
-
<
|
763
|
-
<
|
764
|
-
<p><code class="literal">
|
765
|
-
</
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
929
|
+
<a name="rsvg-handle-get-desc"></a><h3>rsvg_handle_get_desc ()</h3>
|
930
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
931
|
+
rsvg_handle_get_desc (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
932
|
+
<div class="warning"><p><code class="literal">rsvg_handle_get_desc</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
933
|
+
<p>Returns the SVG's description in UTF-8 or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
|
934
|
+
of this description if you wish to use it after <em class="parameter"><code>handle</code></em>
|
935
|
+
has been freed.</p>
|
936
|
+
<div class="refsect3">
|
937
|
+
<a name="id-1.2.3.8.20.7"></a><h4>Parameters</h4>
|
938
|
+
<div class="informaltable"><table width="100%" border="0">
|
771
939
|
<colgroup>
|
772
|
-
<col
|
773
|
-
<col>
|
940
|
+
<col width="150px" class="parameters_name">
|
941
|
+
<col class="parameters_description">
|
942
|
+
<col width="200px" class="parameters_annotations">
|
774
943
|
</colgroup>
|
775
|
-
<tbody>
|
776
|
-
<
|
777
|
-
<td><p
|
778
|
-
<td
|
779
|
-
</
|
780
|
-
</tr>
|
781
|
-
<tr>
|
782
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
783
|
-
<td>The SVG's description. <span class="annotation">[nullable]</span>
|
784
|
-
</td>
|
785
|
-
</tr>
|
786
|
-
</tbody>
|
944
|
+
<tbody><tr>
|
945
|
+
<td class="parameter_name"><p>handle</p></td>
|
946
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
947
|
+
<td class="parameter_annotations"> </td>
|
948
|
+
</tr></tbody>
|
787
949
|
</table></div>
|
950
|
+
</div>
|
951
|
+
<div class="refsect3">
|
952
|
+
<a name="id-1.2.3.8.20.8"></a><h4>Returns</h4>
|
953
|
+
<p> The SVG's description. </p>
|
954
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
955
|
+
</div>
|
788
956
|
<p class="since">Since 2.4</p>
|
789
957
|
</div>
|
790
958
|
<hr>
|
791
959
|
<div class="refsect2">
|
792
|
-
<a name="rsvg-handle-get-metadata"></a><h3>rsvg_handle_get_metadata
|
793
|
-
<pre class="programlisting">const <span class="returnvalue">char</span>
|
794
|
-
<
|
795
|
-
<
|
796
|
-
<p><code class="literal">
|
797
|
-
</
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
960
|
+
<a name="rsvg-handle-get-metadata"></a><h3>rsvg_handle_get_metadata ()</h3>
|
961
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
962
|
+
rsvg_handle_get_metadata (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
963
|
+
<div class="warning"><p><code class="literal">rsvg_handle_get_metadata</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
964
|
+
<p>Returns the SVG's metadata in UTF-8 or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You must make a copy
|
965
|
+
of this metadata if you wish to use it after <em class="parameter"><code>handle</code></em>
|
966
|
+
has been freed.</p>
|
967
|
+
<div class="refsect3">
|
968
|
+
<a name="id-1.2.3.8.21.7"></a><h4>Parameters</h4>
|
969
|
+
<div class="informaltable"><table width="100%" border="0">
|
803
970
|
<colgroup>
|
804
|
-
<col
|
805
|
-
<col>
|
971
|
+
<col width="150px" class="parameters_name">
|
972
|
+
<col class="parameters_description">
|
973
|
+
<col width="200px" class="parameters_annotations">
|
806
974
|
</colgroup>
|
807
|
-
<tbody>
|
808
|
-
<
|
809
|
-
<td><p
|
810
|
-
<td
|
811
|
-
</
|
812
|
-
</tr>
|
813
|
-
<tr>
|
814
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
815
|
-
<td>The SVG's title. <span class="annotation">[nullable]</span>
|
816
|
-
</td>
|
817
|
-
</tr>
|
818
|
-
</tbody>
|
975
|
+
<tbody><tr>
|
976
|
+
<td class="parameter_name"><p>handle</p></td>
|
977
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
978
|
+
<td class="parameter_annotations"> </td>
|
979
|
+
</tr></tbody>
|
819
980
|
</table></div>
|
981
|
+
</div>
|
982
|
+
<div class="refsect3">
|
983
|
+
<a name="id-1.2.3.8.21.8"></a><h4>Returns</h4>
|
984
|
+
<p> The SVG's title. </p>
|
985
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
986
|
+
</div>
|
820
987
|
<p class="since">Since 2.9</p>
|
821
988
|
</div>
|
822
989
|
<hr>
|
823
990
|
<div class="refsect2">
|
824
|
-
<a name="rsvg-handle-new-from-data"></a><h3>rsvg_handle_new_from_data
|
825
|
-
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a>
|
826
|
-
|
827
|
-
|
828
|
-
<
|
829
|
-
Loads the SVG specified by <em class="parameter"><code>data</code></em
|
830
|
-
|
831
|
-
<div class="
|
991
|
+
<a name="rsvg-handle-new-from-data"></a><h3>rsvg_handle_new_from_data ()</h3>
|
992
|
+
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
993
|
+
rsvg_handle_new_from_data (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
|
994
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> data_len</code></em>,
|
995
|
+
<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>
|
996
|
+
<p>Loads the SVG specified by <em class="parameter"><code>data</code></em>
|
997
|
+
.</p>
|
998
|
+
<div class="refsect3">
|
999
|
+
<a name="id-1.2.3.8.22.5"></a><h4>Parameters</h4>
|
1000
|
+
<div class="informaltable"><table width="100%" border="0">
|
832
1001
|
<colgroup>
|
833
|
-
<col
|
834
|
-
<col>
|
1002
|
+
<col width="150px" class="parameters_name">
|
1003
|
+
<col class="parameters_description">
|
1004
|
+
<col width="200px" class="parameters_annotations">
|
835
1005
|
</colgroup>
|
836
1006
|
<tbody>
|
837
1007
|
<tr>
|
838
|
-
<td
|
839
|
-
<td
|
840
|
-
</td>
|
1008
|
+
<td class="parameter_name"><p>data</p></td>
|
1009
|
+
<td class="parameter_description"><p> The SVG data. </p></td>
|
1010
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_len]</span></td>
|
841
1011
|
</tr>
|
842
1012
|
<tr>
|
843
|
-
<td
|
844
|
-
<td>The length of <em class="parameter"><code>data</code></em
|
1013
|
+
<td class="parameter_name"><p>data_len</p></td>
|
1014
|
+
<td class="parameter_description"><p>The length of <em class="parameter"><code>data</code></em>
|
1015
|
+
, in bytes</p></td>
|
1016
|
+
<td class="parameter_annotations"> </td>
|
845
1017
|
</tr>
|
846
1018
|
<tr>
|
847
|
-
<td
|
848
|
-
<td>return location for errors</td>
|
849
|
-
</
|
850
|
-
<tr>
|
851
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
852
|
-
<td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</td>
|
1019
|
+
<td class="parameter_name"><p>error</p></td>
|
1020
|
+
<td class="parameter_description"><p>return location for errors</p></td>
|
1021
|
+
<td class="parameter_annotations"> </td>
|
853
1022
|
</tr>
|
854
1023
|
</tbody>
|
855
1024
|
</table></div>
|
1025
|
+
</div>
|
1026
|
+
<div class="refsect3">
|
1027
|
+
<a name="id-1.2.3.8.22.6"></a><h4>Returns</h4>
|
1028
|
+
<p> A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
|
1029
|
+
<p></p>
|
1030
|
+
</div>
|
856
1031
|
<p class="since">Since 2.14</p>
|
857
1032
|
</div>
|
858
1033
|
<hr>
|
859
1034
|
<div class="refsect2">
|
860
|
-
<a name="rsvg-handle-new-from-file"></a><h3>rsvg_handle_new_from_file
|
861
|
-
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a>
|
862
|
-
|
863
|
-
<
|
864
|
-
Loads the SVG specified by <em class="parameter"><code>file_name</code></em
|
865
|
-
|
866
|
-
<div class="
|
1035
|
+
<a name="rsvg-handle-new-from-file"></a><h3>rsvg_handle_new_from_file ()</h3>
|
1036
|
+
<pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> *
|
1037
|
+
rsvg_handle_new_from_file (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file_name</code></em>,
|
1038
|
+
<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>
|
1039
|
+
<p>Loads the SVG specified by <em class="parameter"><code>file_name</code></em>
|
1040
|
+
.</p>
|
1041
|
+
<div class="refsect3">
|
1042
|
+
<a name="id-1.2.3.8.23.5"></a><h4>Parameters</h4>
|
1043
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
1044
|
<colgroup>
|
868
|
-
<col
|
869
|
-
<col>
|
1045
|
+
<col width="150px" class="parameters_name">
|
1046
|
+
<col class="parameters_description">
|
1047
|
+
<col width="200px" class="parameters_annotations">
|
870
1048
|
</colgroup>
|
871
1049
|
<tbody>
|
872
1050
|
<tr>
|
873
|
-
<td
|
874
|
-
<td>The file name to load. If built with gnome-vfs, can be a URI.</td>
|
1051
|
+
<td class="parameter_name"><p>file_name</p></td>
|
1052
|
+
<td class="parameter_description"><p>The file name to load. If built with gnome-vfs, can be a URI.</p></td>
|
1053
|
+
<td class="parameter_annotations"> </td>
|
875
1054
|
</tr>
|
876
1055
|
<tr>
|
877
|
-
<td
|
878
|
-
<td>return location for errors</td>
|
879
|
-
</
|
880
|
-
<tr>
|
881
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
882
|
-
<td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</td>
|
1056
|
+
<td class="parameter_name"><p>error</p></td>
|
1057
|
+
<td class="parameter_description"><p>return location for errors</p></td>
|
1058
|
+
<td class="parameter_annotations"> </td>
|
883
1059
|
</tr>
|
884
1060
|
</tbody>
|
885
1061
|
</table></div>
|
1062
|
+
</div>
|
1063
|
+
<div class="refsect3">
|
1064
|
+
<a name="id-1.2.3.8.23.6"></a><h4>Returns</h4>
|
1065
|
+
<p> A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
|
1066
|
+
<p></p>
|
1067
|
+
</div>
|
886
1068
|
<p class="since">Since 2.14</p>
|
887
1069
|
</div>
|
888
1070
|
<hr>
|
889
1071
|
<div class="refsect2">
|
890
|
-
<a name="rsvg-error-get-type"></a><h3>rsvg_error_get_type
|
891
|
-
<pre class="programlisting"><a href="
|
1072
|
+
<a name="rsvg-error-get-type"></a><h3>rsvg_error_get_type ()</h3>
|
1073
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
|
1074
|
+
rsvg_error_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
892
1075
|
</div>
|
893
1076
|
<hr>
|
894
1077
|
<div class="refsect2">
|
@@ -897,202 +1080,334 @@ Loads the SVG specified by <em class="parameter"><code>file_name</code></em>.
|
|
897
1080
|
</div>
|
898
1081
|
<hr>
|
899
1082
|
<div class="refsect2">
|
900
|
-
<a name="rsvg-init"></a><h3>rsvg_init
|
901
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
902
|
-
<
|
903
|
-
<
|
904
|
-
<p><code class="literal">rsvg_init</code> has been deprecated since version 2.36 and should not be used in newly-written code
|
905
|
-
</
|
906
|
-
|
907
|
-
Initializes librsvg
|
908
|
-
</p>
|
1083
|
+
<a name="rsvg-init"></a><h3>rsvg_init ()</h3>
|
1084
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1085
|
+
rsvg_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1086
|
+
<div class="warning">
|
1087
|
+
<p><code class="literal">rsvg_init</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p>
|
1088
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-init"><code class="function">g_type_init()</code></a></p>
|
1089
|
+
</div>
|
1090
|
+
<p>Initializes librsvg</p>
|
909
1091
|
<p class="since">Since 2.9</p>
|
910
1092
|
</div>
|
911
1093
|
<hr>
|
912
1094
|
<div class="refsect2">
|
913
|
-
<a name="rsvg-term"></a><h3>rsvg_term
|
914
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
915
|
-
<
|
916
|
-
<
|
917
|
-
<p
|
918
|
-
</div>
|
919
|
-
<p>
|
920
|
-
This function does nothing.
|
921
|
-
</p>
|
1095
|
+
<a name="rsvg-term"></a><h3>rsvg_term ()</h3>
|
1096
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1097
|
+
rsvg_term (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1098
|
+
<div class="warning"><p><code class="literal">rsvg_term</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
1099
|
+
<p>This function does nothing.</p>
|
922
1100
|
<p class="since">Since 2.9</p>
|
923
1101
|
</div>
|
924
1102
|
<hr>
|
925
1103
|
<div class="refsect2">
|
926
|
-
<a name="rsvg-handle-free"></a><h3>rsvg_handle_free
|
927
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
928
|
-
<
|
929
|
-
<
|
930
|
-
<p><code class="literal">rsvg_handle_free</code> is deprecated and should not be used in newly-written code
|
931
|
-
</
|
932
|
-
|
933
|
-
Frees <em class="parameter"><code>handle</code></em
|
934
|
-
|
935
|
-
<div class="
|
1104
|
+
<a name="rsvg-handle-free"></a><h3>rsvg_handle_free ()</h3>
|
1105
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1106
|
+
rsvg_handle_free (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>);</pre>
|
1107
|
+
<div class="warning">
|
1108
|
+
<p><code class="literal">rsvg_handle_free</code> is deprecated and should not be used in newly-written code.</p>
|
1109
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
|
1110
|
+
</div>
|
1111
|
+
<p>Frees <em class="parameter"><code>handle</code></em>
|
1112
|
+
.</p>
|
1113
|
+
<div class="refsect3">
|
1114
|
+
<a name="id-1.2.3.8.28.6"></a><h4>Parameters</h4>
|
1115
|
+
<div class="informaltable"><table width="100%" border="0">
|
936
1116
|
<colgroup>
|
937
|
-
<col
|
938
|
-
<col>
|
1117
|
+
<col width="150px" class="parameters_name">
|
1118
|
+
<col class="parameters_description">
|
1119
|
+
<col width="200px" class="parameters_annotations">
|
939
1120
|
</colgroup>
|
940
1121
|
<tbody><tr>
|
941
|
-
<td
|
942
|
-
<td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
943
|
-
</td>
|
1122
|
+
<td class="parameter_name"><p>handle</p></td>
|
1123
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
1124
|
+
<td class="parameter_annotations"> </td>
|
944
1125
|
</tr></tbody>
|
945
1126
|
</table></div>
|
946
1127
|
</div>
|
1128
|
+
</div>
|
947
1129
|
<hr>
|
948
1130
|
<div class="refsect2">
|
949
|
-
<a name="rsvg-handle-set-size-callback"></a><h3>rsvg_handle_set_size_callback
|
950
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
<
|
955
|
-
<
|
956
|
-
<p><code class="literal">rsvg_handle_set_size_callback</code> is deprecated and should not be used in newly-written code
|
957
|
-
</
|
958
|
-
|
959
|
-
Sets the sizing function for the <em class="parameter"><code>handle</code></em
|
1131
|
+
<a name="rsvg-handle-set-size-callback"></a><h3>rsvg_handle_set_size_callback ()</h3>
|
1132
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1133
|
+
rsvg_handle_set_size_callback (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
|
1134
|
+
<em class="parameter"><code><span class="type">RsvgSizeFunc</span> size_func</code></em>,
|
1135
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
1136
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_destroy</code></em>);</pre>
|
1137
|
+
<div class="warning">
|
1138
|
+
<p><code class="literal">rsvg_handle_set_size_callback</code> is deprecated and should not be used in newly-written code.</p>
|
1139
|
+
<p>Set up a cairo matrix and use <a class="link" href="rsvg-Using-RSVG-with-cairo.html#rsvg-handle-render-cairo" title="rsvg_handle_render_cairo ()"><code class="function">rsvg_handle_render_cairo()</code></a> instead.</p>
|
1140
|
+
</div>
|
1141
|
+
<p>Sets the sizing function for the <em class="parameter"><code>handle</code></em>
|
1142
|
+
. This function is called right
|
960
1143
|
after the size of the image has been loaded. The size of the image is passed
|
961
1144
|
in to the function, which may then modify these values to set the real size
|
962
1145
|
of the generated pixbuf. If the image has no associated size, then the size
|
963
|
-
arguments are set to -1
|
964
|
-
|
965
|
-
<
|
1146
|
+
arguments are set to -1.</p>
|
1147
|
+
<div class="refsect3">
|
1148
|
+
<a name="id-1.2.3.8.29.6"></a><h4>Parameters</h4>
|
1149
|
+
<div class="informaltable"><table width="100%" border="0">
|
966
1150
|
<colgroup>
|
967
|
-
<col
|
968
|
-
<col>
|
1151
|
+
<col width="150px" class="parameters_name">
|
1152
|
+
<col class="parameters_description">
|
1153
|
+
<col width="200px" class="parameters_annotations">
|
969
1154
|
</colgroup>
|
970
1155
|
<tbody>
|
971
1156
|
<tr>
|
972
|
-
<td
|
973
|
-
<td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
|
974
|
-
</td>
|
1157
|
+
<td class="parameter_name"><p>handle</p></td>
|
1158
|
+
<td class="parameter_description"><p>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p></td>
|
1159
|
+
<td class="parameter_annotations"> </td>
|
975
1160
|
</tr>
|
976
1161
|
<tr>
|
977
|
-
<td
|
978
|
-
<td>A sizing function, or <a href="
|
979
|
-
</td>
|
1162
|
+
<td class="parameter_name"><p>size_func</p></td>
|
1163
|
+
<td class="parameter_description"><p> A sizing function, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1164
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
980
1165
|
</tr>
|
981
1166
|
<tr>
|
982
|
-
<td
|
983
|
-
<td>User data to pass to <em class="parameter"><code>size_func</code></em
|
984
|
-
</td>
|
1167
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1168
|
+
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>size_func</code></em>
|
1169
|
+
, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1170
|
+
<td class="parameter_annotations"> </td>
|
985
1171
|
</tr>
|
986
1172
|
<tr>
|
987
|
-
<td
|
988
|
-
<td>Destroy function for <em class="parameter"><code>user_data</code></em
|
1173
|
+
<td class="parameter_name"><p>user_data_destroy</p></td>
|
1174
|
+
<td class="parameter_description"><p>Destroy function for <em class="parameter"><code>user_data</code></em>
|
1175
|
+
, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1176
|
+
<td class="parameter_annotations"> </td>
|
1177
|
+
</tr>
|
1178
|
+
</tbody>
|
1179
|
+
</table></div>
|
1180
|
+
</div>
|
1181
|
+
</div>
|
1182
|
+
</div>
|
1183
|
+
<div class="refsect1">
|
1184
|
+
<a name="RsvgHandle.other_details"></a><h2>Types and Values</h2>
|
1185
|
+
<div class="refsect2">
|
1186
|
+
<a name="RsvgError"></a><h3>enum RsvgError</h3>
|
1187
|
+
<p>An enumeration representing possible errors</p>
|
1188
|
+
<div class="refsect3">
|
1189
|
+
<a name="id-1.2.3.9.2.4"></a><h4>Members</h4>
|
1190
|
+
<div class="informaltable"><table width="100%" border="0">
|
1191
|
+
<colgroup>
|
1192
|
+
<col width="300px" class="enum_members_name">
|
1193
|
+
<col class="enum_members_description">
|
1194
|
+
<col width="200px" class="enum_members_annotations">
|
1195
|
+
</colgroup>
|
1196
|
+
<tbody><tr>
|
1197
|
+
<td class="enum_member_name"><p><a name="RSVG-ERROR-FAILED:CAPS"></a>RSVG_ERROR_FAILED</p></td>
|
1198
|
+
<td class="enum_member_description">
|
1199
|
+
<p>the request failed</p>
|
989
1200
|
</td>
|
1201
|
+
<td class="enum_member_annotations"> </td>
|
1202
|
+
</tr></tbody>
|
1203
|
+
</table></div>
|
1204
|
+
</div>
|
1205
|
+
</div>
|
1206
|
+
<hr>
|
1207
|
+
<div class="refsect2">
|
1208
|
+
<a name="RsvgHandle-struct"></a><h3>struct RsvgHandle</h3>
|
1209
|
+
<pre class="programlisting">struct RsvgHandle;</pre>
|
1210
|
+
<p>The <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> is an object representing the parsed form of a SVG</p>
|
1211
|
+
</div>
|
1212
|
+
<hr>
|
1213
|
+
<div class="refsect2">
|
1214
|
+
<a name="RsvgHandlePrivate"></a><h3>RsvgHandlePrivate</h3>
|
1215
|
+
</div>
|
1216
|
+
<hr>
|
1217
|
+
<div class="refsect2">
|
1218
|
+
<a name="RsvgHandleClass"></a><h3>struct RsvgHandleClass</h3>
|
1219
|
+
<pre class="programlisting">struct RsvgHandleClass {
|
1220
|
+
GObjectClass parent;
|
1221
|
+
};
|
1222
|
+
</pre>
|
1223
|
+
<p>Class structure for <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a></p>
|
1224
|
+
<div class="refsect3">
|
1225
|
+
<a name="id-1.2.3.9.5.5"></a><h4>Members</h4>
|
1226
|
+
<div class="informaltable"><table width="100%" border="0">
|
1227
|
+
<colgroup>
|
1228
|
+
<col width="300px" class="struct_members_name">
|
1229
|
+
<col class="struct_members_description">
|
1230
|
+
<col width="200px" class="struct_members_annotations">
|
1231
|
+
</colgroup>
|
1232
|
+
<tbody><tr>
|
1233
|
+
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="RsvgHandleClass.parent"></a>parent</code></em>;</p></td>
|
1234
|
+
<td class="struct_member_description"><p>parent class</p></td>
|
1235
|
+
<td class="struct_member_annotations"> </td>
|
1236
|
+
</tr></tbody>
|
1237
|
+
</table></div>
|
1238
|
+
</div>
|
1239
|
+
</div>
|
1240
|
+
<hr>
|
1241
|
+
<div class="refsect2">
|
1242
|
+
<a name="RsvgDimensionData"></a><h3>struct RsvgDimensionData</h3>
|
1243
|
+
<pre class="programlisting">struct RsvgDimensionData {
|
1244
|
+
int width;
|
1245
|
+
int height;
|
1246
|
+
gdouble em;
|
1247
|
+
gdouble ex;
|
1248
|
+
};
|
1249
|
+
</pre>
|
1250
|
+
<div class="refsect3">
|
1251
|
+
<a name="id-1.2.3.9.6.4"></a><h4>Members</h4>
|
1252
|
+
<div class="informaltable"><table width="100%" border="0">
|
1253
|
+
<colgroup>
|
1254
|
+
<col width="300px" class="struct_members_name">
|
1255
|
+
<col class="struct_members_description">
|
1256
|
+
<col width="200px" class="struct_members_annotations">
|
1257
|
+
</colgroup>
|
1258
|
+
<tbody>
|
1259
|
+
<tr>
|
1260
|
+
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgDimensionData.width"></a>width</code></em>;</p></td>
|
1261
|
+
<td class="struct_member_description"><p>SVG's width, in pixels</p></td>
|
1262
|
+
<td class="struct_member_annotations"> </td>
|
1263
|
+
</tr>
|
1264
|
+
<tr>
|
1265
|
+
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgDimensionData.height"></a>height</code></em>;</p></td>
|
1266
|
+
<td class="struct_member_description"><p>SVG's height, in pixels</p></td>
|
1267
|
+
<td class="struct_member_annotations"> </td>
|
1268
|
+
</tr>
|
1269
|
+
<tr>
|
1270
|
+
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="RsvgDimensionData.em"></a>em</code></em>;</p></td>
|
1271
|
+
<td class="struct_member_description"><p>em</p></td>
|
1272
|
+
<td class="struct_member_annotations"> </td>
|
1273
|
+
</tr>
|
1274
|
+
<tr>
|
1275
|
+
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="RsvgDimensionData.ex"></a>ex</code></em>;</p></td>
|
1276
|
+
<td class="struct_member_description"><p>ex</p></td>
|
1277
|
+
<td class="struct_member_annotations"> </td>
|
1278
|
+
</tr>
|
1279
|
+
</tbody>
|
1280
|
+
</table></div>
|
1281
|
+
</div>
|
1282
|
+
</div>
|
1283
|
+
<hr>
|
1284
|
+
<div class="refsect2">
|
1285
|
+
<a name="RsvgPositionData"></a><h3>struct RsvgPositionData</h3>
|
1286
|
+
<pre class="programlisting">struct RsvgPositionData {
|
1287
|
+
int x;
|
1288
|
+
int y;
|
1289
|
+
};
|
1290
|
+
</pre>
|
1291
|
+
<p>Position of an SVG fragment.</p>
|
1292
|
+
<div class="refsect3">
|
1293
|
+
<a name="id-1.2.3.9.7.5"></a><h4>Members</h4>
|
1294
|
+
<div class="informaltable"><table width="100%" border="0">
|
1295
|
+
<colgroup>
|
1296
|
+
<col width="300px" class="struct_members_name">
|
1297
|
+
<col class="struct_members_description">
|
1298
|
+
<col width="200px" class="struct_members_annotations">
|
1299
|
+
</colgroup>
|
1300
|
+
<tbody>
|
1301
|
+
<tr>
|
1302
|
+
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgPositionData.x"></a>x</code></em>;</p></td>
|
1303
|
+
<td class="struct_member_description"><p>position on the x axis</p></td>
|
1304
|
+
<td class="struct_member_annotations"> </td>
|
1305
|
+
</tr>
|
1306
|
+
<tr>
|
1307
|
+
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="RsvgPositionData.y"></a>y</code></em>;</p></td>
|
1308
|
+
<td class="struct_member_description"><p>position on the y axis</p></td>
|
1309
|
+
<td class="struct_member_annotations"> </td>
|
990
1310
|
</tr>
|
991
1311
|
</tbody>
|
992
1312
|
</table></div>
|
993
1313
|
</div>
|
994
1314
|
</div>
|
1315
|
+
</div>
|
995
1316
|
<div class="refsect1">
|
996
1317
|
<a name="RsvgHandle.property-details"></a><h2>Property Details</h2>
|
997
1318
|
<div class="refsect2">
|
998
|
-
<a name="RsvgHandle--base-uri"></a><h3>The <code class="literal"
|
999
|
-
<pre class="programlisting">
|
1319
|
+
<a name="RsvgHandle--base-uri"></a><h3>The <code class="literal">“base-uri”</code> property</h3>
|
1320
|
+
<pre class="programlisting"> “base-uri” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1000
1321
|
<p>Base URI.</p>
|
1322
|
+
<p>Flags: Read / Write / Construct</p>
|
1001
1323
|
<p>Default value: NULL</p>
|
1002
1324
|
</div>
|
1003
1325
|
<hr>
|
1004
1326
|
<div class="refsect2">
|
1005
|
-
<a name="RsvgHandle--desc"></a><h3>The <code class="literal"
|
1006
|
-
<pre class="programlisting">
|
1007
|
-
<
|
1008
|
-
<
|
1009
|
-
<p
|
1010
|
-
</div>
|
1011
|
-
<p>
|
1012
|
-
SVG's description
|
1013
|
-
</p>
|
1327
|
+
<a name="RsvgHandle--desc"></a><h3>The <code class="literal">“desc”</code> property</h3>
|
1328
|
+
<pre class="programlisting"> “desc” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1329
|
+
<p>SVG's description</p>
|
1330
|
+
<div class="warning"><p><code class="literal">RsvgHandle:desc</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
1331
|
+
<p>Flags: Read</p>
|
1014
1332
|
<p>Default value: NULL</p>
|
1015
1333
|
</div>
|
1016
1334
|
<hr>
|
1017
1335
|
<div class="refsect2">
|
1018
|
-
<a name="RsvgHandle--dpi-x"></a><h3>The <code class="literal"
|
1019
|
-
<pre class="programlisting">
|
1336
|
+
<a name="RsvgHandle--dpi-x"></a><h3>The <code class="literal">“dpi-x”</code> property</h3>
|
1337
|
+
<pre class="programlisting"> “dpi-x” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1020
1338
|
<p>Horizontal resolution.</p>
|
1339
|
+
<p>Flags: Read / Write / Construct</p>
|
1021
1340
|
<p>Allowed values: >= 0</p>
|
1022
1341
|
<p>Default value: 90</p>
|
1023
1342
|
</div>
|
1024
1343
|
<hr>
|
1025
1344
|
<div class="refsect2">
|
1026
|
-
<a name="RsvgHandle--dpi-y"></a><h3>The <code class="literal"
|
1027
|
-
<pre class="programlisting">
|
1345
|
+
<a name="RsvgHandle--dpi-y"></a><h3>The <code class="literal">“dpi-y”</code> property</h3>
|
1346
|
+
<pre class="programlisting"> “dpi-y” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1028
1347
|
<p>Vertical resolution.</p>
|
1348
|
+
<p>Flags: Read / Write / Construct</p>
|
1029
1349
|
<p>Allowed values: >= 0</p>
|
1030
1350
|
<p>Default value: 90</p>
|
1031
1351
|
</div>
|
1032
1352
|
<hr>
|
1033
1353
|
<div class="refsect2">
|
1034
|
-
<a name="RsvgHandle--em"></a><h3>The <code class="literal"
|
1035
|
-
<pre class="programlisting">
|
1354
|
+
<a name="RsvgHandle--em"></a><h3>The <code class="literal">“em”</code> property</h3>
|
1355
|
+
<pre class="programlisting"> “em” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1036
1356
|
<p>em.</p>
|
1357
|
+
<p>Flags: Read</p>
|
1037
1358
|
<p>Allowed values: >= 0</p>
|
1038
1359
|
<p>Default value: 0</p>
|
1039
1360
|
</div>
|
1040
1361
|
<hr>
|
1041
1362
|
<div class="refsect2">
|
1042
|
-
<a name="RsvgHandle--ex"></a><h3>The <code class="literal"
|
1043
|
-
<pre class="programlisting">
|
1363
|
+
<a name="RsvgHandle--ex"></a><h3>The <code class="literal">“ex”</code> property</h3>
|
1364
|
+
<pre class="programlisting"> “ex” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
1044
1365
|
<p>ex.</p>
|
1366
|
+
<p>Flags: Read</p>
|
1045
1367
|
<p>Allowed values: >= 0</p>
|
1046
1368
|
<p>Default value: 0</p>
|
1047
1369
|
</div>
|
1048
1370
|
<hr>
|
1049
1371
|
<div class="refsect2">
|
1050
|
-
<a name="RsvgHandle--flags"></a><h3>The <code class="literal"
|
1051
|
-
<pre class="programlisting">
|
1052
|
-
<p>
|
1053
|
-
Flags
|
1054
|
-
</p>
|
1372
|
+
<a name="RsvgHandle--flags"></a><h3>The <code class="literal">“flags”</code> property</h3>
|
1373
|
+
<pre class="programlisting"> “flags” <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a></pre>
|
1374
|
+
<p>Flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags" title="enum RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>.</p>
|
1375
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1055
1376
|
<p class="since">Since 2.36</p>
|
1056
1377
|
</div>
|
1057
1378
|
<hr>
|
1058
1379
|
<div class="refsect2">
|
1059
|
-
<a name="RsvgHandle--height"></a><h3>The <code class="literal"
|
1060
|
-
<pre class="programlisting">
|
1380
|
+
<a name="RsvgHandle--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
1381
|
+
<pre class="programlisting"> “height” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1061
1382
|
<p>Image height.</p>
|
1383
|
+
<p>Flags: Read</p>
|
1062
1384
|
<p>Allowed values: >= 0</p>
|
1063
1385
|
<p>Default value: 0</p>
|
1064
1386
|
</div>
|
1065
1387
|
<hr>
|
1066
1388
|
<div class="refsect2">
|
1067
|
-
<a name="RsvgHandle--metadata"></a><h3>The <code class="literal"
|
1068
|
-
<pre class="programlisting">
|
1069
|
-
<
|
1070
|
-
<
|
1071
|
-
<p
|
1072
|
-
</div>
|
1073
|
-
<p>
|
1074
|
-
SVG's description
|
1075
|
-
</p>
|
1389
|
+
<a name="RsvgHandle--metadata"></a><h3>The <code class="literal">“metadata”</code> property</h3>
|
1390
|
+
<pre class="programlisting"> “metadata” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1391
|
+
<p>SVG's description</p>
|
1392
|
+
<div class="warning"><p><code class="literal">RsvgHandle:metadata</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
1393
|
+
<p>Flags: Read</p>
|
1076
1394
|
<p>Default value: NULL</p>
|
1077
1395
|
</div>
|
1078
1396
|
<hr>
|
1079
1397
|
<div class="refsect2">
|
1080
|
-
<a name="RsvgHandle--title"></a><h3>The <code class="literal"
|
1081
|
-
<pre class="programlisting">
|
1082
|
-
<
|
1083
|
-
<
|
1084
|
-
<p
|
1085
|
-
</div>
|
1086
|
-
<p>
|
1087
|
-
SVG's description
|
1088
|
-
</p>
|
1398
|
+
<a name="RsvgHandle--title"></a><h3>The <code class="literal">“title”</code> property</h3>
|
1399
|
+
<pre class="programlisting"> “title” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
1400
|
+
<p>SVG's description</p>
|
1401
|
+
<div class="warning"><p><code class="literal">RsvgHandle:title</code> has been deprecated since version 2.36 and should not be used in newly-written code.</p></div>
|
1402
|
+
<p>Flags: Read</p>
|
1089
1403
|
<p>Default value: NULL</p>
|
1090
1404
|
</div>
|
1091
1405
|
<hr>
|
1092
1406
|
<div class="refsect2">
|
1093
|
-
<a name="RsvgHandle--width"></a><h3>The <code class="literal"
|
1094
|
-
<pre class="programlisting">
|
1407
|
+
<a name="RsvgHandle--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
1408
|
+
<pre class="programlisting"> “width” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1095
1409
|
<p>Image width.</p>
|
1410
|
+
<p>Flags: Read</p>
|
1096
1411
|
<p>Allowed values: >= 0</p>
|
1097
1412
|
<p>Default value: 0</p>
|
1098
1413
|
</div>
|
@@ -1100,6 +1415,6 @@ SVG's description
|
|
1100
1415
|
</div>
|
1101
1416
|
<div class="footer">
|
1102
1417
|
<hr>
|
1103
|
-
Generated by GTK-Doc V1.
|
1418
|
+
Generated by GTK-Doc V1.21</div>
|
1104
1419
|
</body>
|
1105
1420
|
</html>
|