rsvg2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/README +35 -0
  3. data/Rakefile +69 -0
  4. data/ext/rsvg2/depend +6 -0
  5. data/ext/rsvg2/extconf.rb +89 -0
  6. data/ext/rsvg2/rbrsvg.c +206 -0
  7. data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
  8. data/ext/rsvg2/rbrsvghandle.c +496 -0
  9. data/ext/rsvg2/rsvg2.def +2 -0
  10. data/ext/rsvg2/rsvg2.h +70 -0
  11. data/extconf.rb +49 -0
  12. data/lib/2.0/rsvg2.so +0 -0
  13. data/lib/2.1/rsvg2.so +0 -0
  14. data/lib/2.2/rsvg2.so +0 -0
  15. data/lib/rsvg2.rb +33 -0
  16. data/sample/svg-viewer.rb +44 -0
  17. data/sample/svg2.rb +60 -0
  18. data/test/rsvg2-test-utils.rb +23 -0
  19. data/test/run-test.rb +49 -0
  20. data/test/test-handle.rb +91 -0
  21. data/vendor/local/bin/croco-0.6-config +87 -0
  22. data/vendor/local/bin/csslint-0.6.exe +0 -0
  23. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  24. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  25. data/vendor/local/bin/rsvg-convert.exe +0 -0
  26. data/vendor/local/include/libcroco-0.6/libcroco/cr-additional-sel.h +98 -0
  27. data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
  28. data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
  29. data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
  30. data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
  31. data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
  32. data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
  33. data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
  34. data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
  35. data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
  36. data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
  37. data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
  38. data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
  39. data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
  40. data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
  41. data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
  42. data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
  43. data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
  44. data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
  45. data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
  46. data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
  47. data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
  48. data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
  49. data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
  50. data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
  51. data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
  52. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
  53. data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
  54. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
  55. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
  56. data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
  57. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
  58. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  59. data/vendor/local/lib/libcroco-0.6.a +0 -0
  60. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  61. data/vendor/local/lib/libcroco-0.6.la +41 -0
  62. data/vendor/local/lib/librsvg-2.a +0 -0
  63. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  64. data/vendor/local/lib/librsvg-2.la +41 -0
  65. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
  66. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
  67. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
  68. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
  69. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  70. data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
  71. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
  72. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
  74. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
  75. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
  76. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
  77. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
  78. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
  79. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
  80. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
  81. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
  82. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
  83. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
  84. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
  85. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
  86. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
  87. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
  88. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
  89. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
  90. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
  91. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
  92. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
  94. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
  95. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
  96. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
  97. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
  98. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
  99. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
  100. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
  101. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
  103. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
  105. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
  106. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
  107. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
  108. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
  109. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
  110. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
  111. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
  112. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
  113. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
  114. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
  115. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  116. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
  117. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
  118. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  119. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  120. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
  121. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
  122. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  123. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  124. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
  125. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
  126. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
  127. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
  128. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
  129. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
  130. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
  131. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  132. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  133. data/vendor/local/share/license/libcroco/AUTHORS +13 -0
  134. data/vendor/local/share/license/libcroco/COPYING +481 -0
  135. data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
  136. data/vendor/local/share/license/librsvg/AUTHORS +1 -0
  137. data/vendor/local/share/license/librsvg/COPYING +340 -0
  138. data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
  139. data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
  140. metadata +209 -0
@@ -0,0 +1,41 @@
1
+ # librsvg-2.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.2
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='../bin/librsvg-2-2.dll'
9
+
10
+ # Names of this library.
11
+ library_names='librsvg-2.dll.a'
12
+
13
+ # The name of the static archive.
14
+ old_library='librsvg-2.a'
15
+
16
+ # Linker flags that can not go in dependency_libs.
17
+ inherited_linker_flags=' -pthread'
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangowin32-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/rcairo.win64/vendor/local/lib/libcairo.la /home/vagrant/rcairo.win64/vendor/local/lib/libpixman-1.la /home/vagrant/rcairo.win64/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo.win64/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/vagrant/rcairo.win64/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local/lib/libcroco-0.6.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.la -lpthread /home/vagrant/rcairo.win64/vendor/local/lib/libxml2.la -lz -lws2_32'
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for librsvg-2.
26
+ current=42
27
+ age=40
28
+ revision=6
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local/lib'
@@ -0,0 +1,11 @@
1
+ prefix=/home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: libcroco
7
+ Version: 0.6.8
8
+ Description: a CSS2 Parsing and manipulation Library in C.
9
+ Requires: glib-2.0 libxml-2.0
10
+ Libs: -L${libdir} -lcroco-0.6
11
+ Cflags: -I${includedir}/libcroco-0.6
@@ -0,0 +1,15 @@
1
+ prefix=/home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ svgz_supported=true
7
+ css_supported=true
8
+
9
+ Name: librsvg
10
+ Description: library that renders svg files
11
+ Version: 2.40.6
12
+ Requires: glib-2.0 gio-2.0 gdk-pixbuf-2.0 cairo
13
+ Requires.private:
14
+ Libs: -L${libdir} -lrsvg-2 -lm
15
+ Cflags: -I${includedir}/librsvg-2.0
@@ -0,0 +1,754 @@
1
+ <?xml version="1.0"?>
2
+ <!-- This file was automatically generated from C sources - DO NOT EDIT!
3
+ To affect the contents of this file, edit the original C definitions,
4
+ and/or use gtk-doc annotations. -->
5
+ <repository version="1.2"
6
+ xmlns="http://www.gtk.org/introspection/core/1.0"
7
+ xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
+ xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9
+ <include name="GLib" version="2.0"/>
10
+ <include name="GObject" version="2.0"/>
11
+ <include name="GdkPixbuf" version="2.0"/>
12
+ <include name="Gio" version="2.0"/>
13
+ <include name="cairo" version="1.0"/>
14
+ <package name="librsvg-2.0"/>
15
+ <c:include name="librsvg/rsvg.h"/>
16
+ <namespace name="Rsvg"
17
+ version="2.0"
18
+ shared-library="librsvg-2-2.dll"
19
+ c:identifier-prefixes="Rsvg"
20
+ c:symbol-prefixes="rsvg,librsvg">
21
+ <record name="DimensionData" c:type="RsvgDimensionData">
22
+ <field name="width" writable="1">
23
+ <doc xml:space="preserve">SVG's width, in pixels</doc>
24
+ <type name="gint" c:type="int"/>
25
+ </field>
26
+ <field name="height" writable="1">
27
+ <doc xml:space="preserve">SVG's height, in pixels</doc>
28
+ <type name="gint" c:type="int"/>
29
+ </field>
30
+ <field name="em" writable="1">
31
+ <doc xml:space="preserve">em</doc>
32
+ <type name="gdouble" c:type="gdouble"/>
33
+ </field>
34
+ <field name="ex" writable="1">
35
+ <doc xml:space="preserve">ex</doc>
36
+ <type name="gdouble" c:type="gdouble"/>
37
+ </field>
38
+ </record>
39
+ <enumeration name="Error"
40
+ glib:type-name="RsvgError"
41
+ glib:get-type="rsvg_error_get_type"
42
+ c:type="RsvgError"
43
+ glib:error-domain="rsvg-error-quark">
44
+ <doc xml:space="preserve">An enumeration representing possible errors</doc>
45
+ <member name="failed"
46
+ value="0"
47
+ c:identifier="RSVG_ERROR_FAILED"
48
+ glib:nick="failed">
49
+ <doc xml:space="preserve">the request failed</doc>
50
+ </member>
51
+ <function name="quark" c:identifier="rsvg_error_quark">
52
+ <doc xml:space="preserve">The error domain for RSVG</doc>
53
+ <return-value transfer-ownership="none">
54
+ <doc xml:space="preserve">The error domain</doc>
55
+ <type name="GLib.Quark" c:type="GQuark"/>
56
+ </return-value>
57
+ </function>
58
+ </enumeration>
59
+ <class name="Handle"
60
+ c:symbol-prefix="handle"
61
+ c:type="RsvgHandle"
62
+ parent="GObject.Object"
63
+ glib:type-name="RsvgHandle"
64
+ glib:get-type="rsvg_handle_get_type"
65
+ glib:type-struct="HandleClass">
66
+ <doc xml:space="preserve">The #RsvgHandle is an object representing the parsed form of a SVG</doc>
67
+ <constructor name="new" c:identifier="rsvg_handle_new">
68
+ <doc xml:space="preserve">Returns a new rsvg handle. Must be freed with @g_object_unref. This
69
+ handle can be used for dynamically loading an image. You need to feed it
70
+ data using @rsvg_handle_write, then call @rsvg_handle_close when done.
71
+ Afterwords, you can render it using Cairo or get a GdkPixbuf from it. When
72
+ finished, free with g_object_unref(). No more than one image can be loaded
73
+ with one handle.</doc>
74
+ <return-value transfer-ownership="full">
75
+ <doc xml:space="preserve">A new #RsvgHandle</doc>
76
+ <type name="Handle" c:type="RsvgHandle*"/>
77
+ </return-value>
78
+ </constructor>
79
+ <constructor name="new_from_data"
80
+ c:identifier="rsvg_handle_new_from_data"
81
+ version="2.14"
82
+ throws="1">
83
+ <doc xml:space="preserve">Loads the SVG specified by @data.</doc>
84
+ <return-value transfer-ownership="full">
85
+ <doc xml:space="preserve">A #RsvgHandle or %NULL if an error occurs.</doc>
86
+ <type name="Handle" c:type="RsvgHandle*"/>
87
+ </return-value>
88
+ <parameters>
89
+ <parameter name="data" transfer-ownership="none">
90
+ <doc xml:space="preserve">The SVG data</doc>
91
+ <array length="1" zero-terminated="0" c:type="guint8*">
92
+ <type name="guint8" c:type="guint8"/>
93
+ </array>
94
+ </parameter>
95
+ <parameter name="data_len" transfer-ownership="none">
96
+ <doc xml:space="preserve">The length of @data, in bytes</doc>
97
+ <type name="gsize" c:type="gsize"/>
98
+ </parameter>
99
+ </parameters>
100
+ </constructor>
101
+ <constructor name="new_from_file"
102
+ c:identifier="rsvg_handle_new_from_file"
103
+ version="2.14"
104
+ throws="1">
105
+ <doc xml:space="preserve">Loads the SVG specified by @file_name.</doc>
106
+ <return-value transfer-ownership="full">
107
+ <doc xml:space="preserve">A #RsvgHandle or %NULL if an error occurs.</doc>
108
+ <type name="Handle" c:type="RsvgHandle*"/>
109
+ </return-value>
110
+ <parameters>
111
+ <parameter name="file_name" transfer-ownership="none">
112
+ <doc xml:space="preserve">The file name to load. If built with gnome-vfs, can be a URI.</doc>
113
+ <type name="utf8" c:type="const gchar*"/>
114
+ </parameter>
115
+ </parameters>
116
+ </constructor>
117
+ <constructor name="new_from_gfile_sync"
118
+ c:identifier="rsvg_handle_new_from_gfile_sync"
119
+ version="2.32"
120
+ throws="1">
121
+ <doc xml:space="preserve">Creates a new #RsvgHandle for @file.
122
+
123
+ If @cancellable is not %NULL, then the operation can be cancelled by
124
+ triggering the cancellable object from another thread. If the
125
+ operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
126
+ returned.</doc>
127
+ <return-value transfer-ownership="full">
128
+ <doc xml:space="preserve">a new #RsvgHandle on success, or %NULL with @error filled in</doc>
129
+ <type name="Handle" c:type="RsvgHandle*"/>
130
+ </return-value>
131
+ <parameters>
132
+ <parameter name="file" transfer-ownership="none">
133
+ <doc xml:space="preserve">a #GFile</doc>
134
+ <type name="Gio.File" c:type="GFile*"/>
135
+ </parameter>
136
+ <parameter name="flags" transfer-ownership="none">
137
+ <doc xml:space="preserve">flags from #RsvgHandleFlags</doc>
138
+ <type name="HandleFlags" c:type="RsvgHandleFlags"/>
139
+ </parameter>
140
+ <parameter name="cancellable"
141
+ transfer-ownership="none"
142
+ nullable="1"
143
+ allow-none="1">
144
+ <doc xml:space="preserve">a #GCancellable, or %NULL</doc>
145
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
146
+ </parameter>
147
+ </parameters>
148
+ </constructor>
149
+ <constructor name="new_from_stream_sync"
150
+ c:identifier="rsvg_handle_new_from_stream_sync"
151
+ version="2.32"
152
+ throws="1">
153
+ <doc xml:space="preserve">Creates a new #RsvgHandle for @stream.
154
+
155
+ If @cancellable is not %NULL, then the operation can be cancelled by
156
+ triggering the cancellable object from another thread. If the
157
+ operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
158
+ returned.</doc>
159
+ <return-value transfer-ownership="full">
160
+ <doc xml:space="preserve">a new #RsvgHandle on success, or %NULL with @error filled in</doc>
161
+ <type name="Handle" c:type="RsvgHandle*"/>
162
+ </return-value>
163
+ <parameters>
164
+ <parameter name="input_stream" transfer-ownership="none">
165
+ <doc xml:space="preserve">a #GInputStream</doc>
166
+ <type name="Gio.InputStream" c:type="GInputStream*"/>
167
+ </parameter>
168
+ <parameter name="base_file"
169
+ transfer-ownership="none"
170
+ nullable="1"
171
+ allow-none="1">
172
+ <doc xml:space="preserve">a #GFile, or %NULL</doc>
173
+ <type name="Gio.File" c:type="GFile*"/>
174
+ </parameter>
175
+ <parameter name="flags" transfer-ownership="none">
176
+ <doc xml:space="preserve">flags from #RsvgHandleFlags</doc>
177
+ <type name="HandleFlags" c:type="RsvgHandleFlags"/>
178
+ </parameter>
179
+ <parameter name="cancellable"
180
+ transfer-ownership="none"
181
+ nullable="1"
182
+ allow-none="1">
183
+ <doc xml:space="preserve">a #GCancellable, or %NULL</doc>
184
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
185
+ </parameter>
186
+ </parameters>
187
+ </constructor>
188
+ <constructor name="new_with_flags"
189
+ c:identifier="rsvg_handle_new_with_flags"
190
+ version="2.36">
191
+ <doc xml:space="preserve">Creates a new #RsvgHandle with flags @flags.</doc>
192
+ <return-value transfer-ownership="full">
193
+ <doc xml:space="preserve">a new #RsvgHandle</doc>
194
+ <type name="Handle" c:type="RsvgHandle*"/>
195
+ </return-value>
196
+ <parameters>
197
+ <parameter name="flags" transfer-ownership="none">
198
+ <doc xml:space="preserve">flags from #RsvgHandleFlags</doc>
199
+ <type name="HandleFlags" c:type="RsvgHandleFlags"/>
200
+ </parameter>
201
+ </parameters>
202
+ </constructor>
203
+ <method name="close" c:identifier="rsvg_handle_close" throws="1">
204
+ <doc xml:space="preserve">Closes @handle, to indicate that loading the image is complete. This will
205
+ return %TRUE if the loader closed successfully. Note that @handle isn't
206
+ freed until @g_object_unref is called.</doc>
207
+ <return-value transfer-ownership="none">
208
+ <doc xml:space="preserve">%TRUE on success, or %FALSE on error</doc>
209
+ <type name="gboolean" c:type="gboolean"/>
210
+ </return-value>
211
+ <parameters>
212
+ <instance-parameter name="handle" transfer-ownership="none">
213
+ <doc xml:space="preserve">a #RsvgHandle</doc>
214
+ <type name="Handle" c:type="RsvgHandle*"/>
215
+ </instance-parameter>
216
+ </parameters>
217
+ </method>
218
+ <method name="get_base_uri"
219
+ c:identifier="rsvg_handle_get_base_uri"
220
+ version="2.8">
221
+ <doc xml:space="preserve">Gets the base uri for this #RsvgHandle.</doc>
222
+ <return-value transfer-ownership="none">
223
+ <doc xml:space="preserve">the base uri, possibly null</doc>
224
+ <type name="utf8" c:type="const char*"/>
225
+ </return-value>
226
+ <parameters>
227
+ <instance-parameter name="handle" transfer-ownership="none">
228
+ <doc xml:space="preserve">A #RsvgHandle</doc>
229
+ <type name="Handle" c:type="RsvgHandle*"/>
230
+ </instance-parameter>
231
+ </parameters>
232
+ </method>
233
+ <method name="get_dimensions"
234
+ c:identifier="rsvg_handle_get_dimensions"
235
+ version="2.14">
236
+ <doc xml:space="preserve">Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.</doc>
237
+ <return-value transfer-ownership="none">
238
+ <type name="none" c:type="void"/>
239
+ </return-value>
240
+ <parameters>
241
+ <instance-parameter name="handle" transfer-ownership="none">
242
+ <doc xml:space="preserve">A #RsvgHandle</doc>
243
+ <type name="Handle" c:type="RsvgHandle*"/>
244
+ </instance-parameter>
245
+ <parameter name="dimension_data"
246
+ direction="out"
247
+ caller-allocates="1"
248
+ transfer-ownership="none">
249
+ <doc xml:space="preserve">A place to store the SVG's size</doc>
250
+ <type name="DimensionData" c:type="RsvgDimensionData*"/>
251
+ </parameter>
252
+ </parameters>
253
+ </method>
254
+ <method name="get_dimensions_sub"
255
+ c:identifier="rsvg_handle_get_dimensions_sub"
256
+ version="2.22">
257
+ <doc xml:space="preserve">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.</doc>
258
+ <return-value transfer-ownership="none">
259
+ <type name="gboolean" c:type="gboolean"/>
260
+ </return-value>
261
+ <parameters>
262
+ <instance-parameter name="handle" transfer-ownership="none">
263
+ <doc xml:space="preserve">A #RsvgHandle</doc>
264
+ <type name="Handle" c:type="RsvgHandle*"/>
265
+ </instance-parameter>
266
+ <parameter name="dimension_data"
267
+ direction="out"
268
+ caller-allocates="1"
269
+ transfer-ownership="none">
270
+ <doc xml:space="preserve">A place to store the SVG's size</doc>
271
+ <type name="DimensionData" c:type="RsvgDimensionData*"/>
272
+ </parameter>
273
+ <parameter name="id"
274
+ transfer-ownership="none"
275
+ nullable="1"
276
+ allow-none="1">
277
+ <doc xml:space="preserve">An element's id within the SVG, or %NULL to get
278
+ the dimension of the whole SVG. For example, if you have a layer
279
+ called "layer1" for that you want to get the dimension, pass
280
+ "#layer1" as the id.</doc>
281
+ <type name="utf8" c:type="const char*"/>
282
+ </parameter>
283
+ </parameters>
284
+ </method>
285
+ <method name="get_pixbuf" c:identifier="rsvg_handle_get_pixbuf">
286
+ <doc xml:space="preserve">Returns the pixbuf loaded by @handle. The pixbuf returned will be reffed, so
287
+ the caller of this function must assume that ref. If insufficient data has
288
+ been read to create the pixbuf, or an error occurred in loading, then %NULL
289
+ will be returned. Note that the pixbuf may not be complete until
290
+ @rsvg_handle_close has been called.</doc>
291
+ <return-value transfer-ownership="full" nullable="1">
292
+ <doc xml:space="preserve">the pixbuf loaded by @handle, or %NULL.</doc>
293
+ <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
294
+ </return-value>
295
+ <parameters>
296
+ <instance-parameter name="handle" transfer-ownership="none">
297
+ <doc xml:space="preserve">An #RsvgHandle</doc>
298
+ <type name="Handle" c:type="RsvgHandle*"/>
299
+ </instance-parameter>
300
+ </parameters>
301
+ </method>
302
+ <method name="get_pixbuf_sub"
303
+ c:identifier="rsvg_handle_get_pixbuf_sub"
304
+ version="2.14">
305
+ <doc xml:space="preserve">Returns the pixbuf loaded by @handle. The pixbuf returned will be reffed, so
306
+ the caller of this function must assume that ref. If insufficient data has
307
+ been read to create the pixbuf, or an error occurred in loading, then %NULL
308
+ will be returned. Note that the pixbuf may not be complete until
309
+ @rsvg_handle_close has been called.</doc>
310
+ <return-value transfer-ownership="full" nullable="1">
311
+ <doc xml:space="preserve">the pixbuf loaded by @handle, or %NULL.</doc>
312
+ <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
313
+ </return-value>
314
+ <parameters>
315
+ <instance-parameter name="handle" transfer-ownership="none">
316
+ <doc xml:space="preserve">An #RsvgHandle</doc>
317
+ <type name="Handle" c:type="RsvgHandle*"/>
318
+ </instance-parameter>
319
+ <parameter name="id"
320
+ transfer-ownership="none"
321
+ nullable="1"
322
+ allow-none="1">
323
+ <doc xml:space="preserve">The id of an element inside the SVG, or %NULL to
324
+ render the whole SVG. For example, if you have a layer called
325
+ "layer1" that you wish to render, pass "##layer1" as the id.</doc>
326
+ <type name="utf8" c:type="const char*"/>
327
+ </parameter>
328
+ </parameters>
329
+ </method>
330
+ <method name="get_position_sub"
331
+ c:identifier="rsvg_handle_get_position_sub"
332
+ version="2.22">
333
+ <doc xml:space="preserve">Get the position of a subelement of the SVG file. Do not call from within
334
+ the size_func callback, because an infinite loop will occur.</doc>
335
+ <return-value transfer-ownership="none">
336
+ <type name="gboolean" c:type="gboolean"/>
337
+ </return-value>
338
+ <parameters>
339
+ <instance-parameter name="handle" transfer-ownership="none">
340
+ <doc xml:space="preserve">A #RsvgHandle</doc>
341
+ <type name="Handle" c:type="RsvgHandle*"/>
342
+ </instance-parameter>
343
+ <parameter name="position_data"
344
+ direction="out"
345
+ caller-allocates="1"
346
+ transfer-ownership="none">
347
+ <doc xml:space="preserve">A place to store the SVG fragment's position.</doc>
348
+ <type name="PositionData" c:type="RsvgPositionData*"/>
349
+ </parameter>
350
+ <parameter name="id" transfer-ownership="none">
351
+ <doc xml:space="preserve">An element's id within the SVG.
352
+ For example, if you have a layer called "layer1" for that you want to get
353
+ the position, pass "##layer1" as the id.</doc>
354
+ <type name="utf8" c:type="const char*"/>
355
+ </parameter>
356
+ </parameters>
357
+ </method>
358
+ <method name="has_sub" c:identifier="rsvg_handle_has_sub" version="2.22">
359
+ <doc xml:space="preserve">Checks whether the element @id exists in the SVG document.</doc>
360
+ <return-value transfer-ownership="none">
361
+ <doc xml:space="preserve">%TRUE if @id exists in the SVG document</doc>
362
+ <type name="gboolean" c:type="gboolean"/>
363
+ </return-value>
364
+ <parameters>
365
+ <instance-parameter name="handle" transfer-ownership="none">
366
+ <doc xml:space="preserve">a #RsvgHandle</doc>
367
+ <type name="Handle" c:type="RsvgHandle*"/>
368
+ </instance-parameter>
369
+ <parameter name="id" transfer-ownership="none">
370
+ <doc xml:space="preserve">an element's id within the SVG</doc>
371
+ <type name="utf8" c:type="const char*"/>
372
+ </parameter>
373
+ </parameters>
374
+ </method>
375
+ <method name="read_stream_sync"
376
+ c:identifier="rsvg_handle_read_stream_sync"
377
+ version="2.32"
378
+ throws="1">
379
+ <doc xml:space="preserve">Reads @stream and writes the data from it to @handle.
380
+
381
+ If @cancellable is not %NULL, then the operation can be cancelled by
382
+ triggering the cancellable object from another thread. If the
383
+ operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
384
+ returned.</doc>
385
+ <return-value transfer-ownership="none">
386
+ <doc xml:space="preserve">%TRUE if reading @stream succeeded, or %FALSE otherwise
387
+ with @error filled in</doc>
388
+ <type name="gboolean" c:type="gboolean"/>
389
+ </return-value>
390
+ <parameters>
391
+ <instance-parameter name="handle" transfer-ownership="none">
392
+ <doc xml:space="preserve">a #RsvgHandle</doc>
393
+ <type name="Handle" c:type="RsvgHandle*"/>
394
+ </instance-parameter>
395
+ <parameter name="stream" transfer-ownership="none">
396
+ <doc xml:space="preserve">a #GInputStream</doc>
397
+ <type name="Gio.InputStream" c:type="GInputStream*"/>
398
+ </parameter>
399
+ <parameter name="cancellable"
400
+ transfer-ownership="none"
401
+ nullable="1"
402
+ allow-none="1">
403
+ <doc xml:space="preserve">a #GCancellable, or %NULL</doc>
404
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
405
+ </parameter>
406
+ </parameters>
407
+ </method>
408
+ <method name="render_cairo"
409
+ c:identifier="rsvg_handle_render_cairo"
410
+ version="2.14">
411
+ <doc xml:space="preserve">Draws a SVG to a Cairo surface</doc>
412
+ <return-value transfer-ownership="none">
413
+ <doc xml:space="preserve">%TRUE if drawing succeeded.</doc>
414
+ <type name="gboolean" c:type="gboolean"/>
415
+ </return-value>
416
+ <parameters>
417
+ <instance-parameter name="handle" transfer-ownership="none">
418
+ <doc xml:space="preserve">A #RsvgHandle</doc>
419
+ <type name="Handle" c:type="RsvgHandle*"/>
420
+ </instance-parameter>
421
+ <parameter name="cr" transfer-ownership="none">
422
+ <doc xml:space="preserve">A Cairo renderer</doc>
423
+ <type name="cairo.Context" c:type="cairo_t*"/>
424
+ </parameter>
425
+ </parameters>
426
+ </method>
427
+ <method name="render_cairo_sub"
428
+ c:identifier="rsvg_handle_render_cairo_sub"
429
+ version="2.14">
430
+ <doc xml:space="preserve">Draws a subset of a SVG to a Cairo surface</doc>
431
+ <return-value transfer-ownership="none">
432
+ <doc xml:space="preserve">%TRUE if drawing succeeded.</doc>
433
+ <type name="gboolean" c:type="gboolean"/>
434
+ </return-value>
435
+ <parameters>
436
+ <instance-parameter name="handle" transfer-ownership="none">
437
+ <doc xml:space="preserve">A #RsvgHandle</doc>
438
+ <type name="Handle" c:type="RsvgHandle*"/>
439
+ </instance-parameter>
440
+ <parameter name="cr" transfer-ownership="none">
441
+ <doc xml:space="preserve">A Cairo renderer</doc>
442
+ <type name="cairo.Context" c:type="cairo_t*"/>
443
+ </parameter>
444
+ <parameter name="id"
445
+ transfer-ownership="none"
446
+ nullable="1"
447
+ allow-none="1">
448
+ <doc xml:space="preserve">An element's id within the SVG, or %NULL to render
449
+ the whole SVG. For example, if you have a layer called "layer1"
450
+ that you wish to render, pass "##layer1" as the id.</doc>
451
+ <type name="utf8" c:type="const char*"/>
452
+ </parameter>
453
+ </parameters>
454
+ </method>
455
+ <method name="set_base_gfile"
456
+ c:identifier="rsvg_handle_set_base_gfile"
457
+ version="2.32">
458
+ <doc xml:space="preserve">Set the base URI for @handle from @file.
459
+ Note: This function may only be called before rsvg_handle_write()
460
+ or rsvg_handle_read_stream_sync() has been called.</doc>
461
+ <return-value transfer-ownership="none">
462
+ <type name="none" c:type="void"/>
463
+ </return-value>
464
+ <parameters>
465
+ <instance-parameter name="handle" transfer-ownership="none">
466
+ <doc xml:space="preserve">a #RsvgHandle</doc>
467
+ <type name="Handle" c:type="RsvgHandle*"/>
468
+ </instance-parameter>
469
+ <parameter name="base_file" transfer-ownership="none">
470
+ <doc xml:space="preserve">a #GFile</doc>
471
+ <type name="Gio.File" c:type="GFile*"/>
472
+ </parameter>
473
+ </parameters>
474
+ </method>
475
+ <method name="set_base_uri"
476
+ c:identifier="rsvg_handle_set_base_uri"
477
+ version="2.9">
478
+ <doc xml:space="preserve">Set the base URI for this SVG. This can only be called before rsvg_handle_write()
479
+ has been called.</doc>
480
+ <return-value transfer-ownership="none">
481
+ <type name="none" c:type="void"/>
482
+ </return-value>
483
+ <parameters>
484
+ <instance-parameter name="handle" transfer-ownership="none">
485
+ <doc xml:space="preserve">A #RsvgHandle</doc>
486
+ <type name="Handle" c:type="RsvgHandle*"/>
487
+ </instance-parameter>
488
+ <parameter name="base_uri" transfer-ownership="none">
489
+ <doc xml:space="preserve">The base uri</doc>
490
+ <type name="utf8" c:type="const char*"/>
491
+ </parameter>
492
+ </parameters>
493
+ </method>
494
+ <method name="set_dpi" c:identifier="rsvg_handle_set_dpi" version="2.8">
495
+ <doc xml:space="preserve">Sets the DPI for the outgoing pixbuf. Common values are
496
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to @dpi will
497
+ reset the DPI to whatever the default value happens to be.</doc>
498
+ <return-value transfer-ownership="none">
499
+ <type name="none" c:type="void"/>
500
+ </return-value>
501
+ <parameters>
502
+ <instance-parameter name="handle" transfer-ownership="none">
503
+ <doc xml:space="preserve">An #RsvgHandle</doc>
504
+ <type name="Handle" c:type="RsvgHandle*"/>
505
+ </instance-parameter>
506
+ <parameter name="dpi" transfer-ownership="none">
507
+ <doc xml:space="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
508
+ <type name="gdouble" c:type="double"/>
509
+ </parameter>
510
+ </parameters>
511
+ </method>
512
+ <method name="set_dpi_x_y"
513
+ c:identifier="rsvg_handle_set_dpi_x_y"
514
+ version="2.8">
515
+ <doc xml:space="preserve">Sets the DPI for the outgoing pixbuf. Common values are
516
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to #dpi_x or @dpi_y will
517
+ reset the DPI to whatever the default value happens to be.</doc>
518
+ <return-value transfer-ownership="none">
519
+ <type name="none" c:type="void"/>
520
+ </return-value>
521
+ <parameters>
522
+ <instance-parameter name="handle" transfer-ownership="none">
523
+ <doc xml:space="preserve">An #RsvgHandle</doc>
524
+ <type name="Handle" c:type="RsvgHandle*"/>
525
+ </instance-parameter>
526
+ <parameter name="dpi_x" transfer-ownership="none">
527
+ <doc xml:space="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
528
+ <type name="gdouble" c:type="double"/>
529
+ </parameter>
530
+ <parameter name="dpi_y" transfer-ownership="none">
531
+ <doc xml:space="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
532
+ <type name="gdouble" c:type="double"/>
533
+ </parameter>
534
+ </parameters>
535
+ </method>
536
+ <method name="write" c:identifier="rsvg_handle_write" throws="1">
537
+ <doc xml:space="preserve">Loads the next @count bytes of the image. This will return %TRUE if the data
538
+ was loaded successful, and %FALSE if an error occurred. In the latter case,
539
+ the loader will be closed, and will not accept further writes. If %FALSE is
540
+ returned, @error will be set to an error from the #RsvgError domain. Errors
541
+ from #GIOErrorEnum are also possible.</doc>
542
+ <return-value transfer-ownership="none">
543
+ <doc xml:space="preserve">%TRUE on success, or %FALSE on error</doc>
544
+ <type name="gboolean" c:type="gboolean"/>
545
+ </return-value>
546
+ <parameters>
547
+ <instance-parameter name="handle" transfer-ownership="none">
548
+ <doc xml:space="preserve">an #RsvgHandle</doc>
549
+ <type name="Handle" c:type="RsvgHandle*"/>
550
+ </instance-parameter>
551
+ <parameter name="buf" transfer-ownership="none">
552
+ <doc xml:space="preserve">pointer to svg data</doc>
553
+ <array length="1" zero-terminated="0" c:type="guchar*">
554
+ <type name="guint8"/>
555
+ </array>
556
+ </parameter>
557
+ <parameter name="count" transfer-ownership="none">
558
+ <doc xml:space="preserve">length of the @buf buffer in bytes</doc>
559
+ <type name="gsize" c:type="gsize"/>
560
+ </parameter>
561
+ </parameters>
562
+ </method>
563
+ <property name="base-uri"
564
+ writable="1"
565
+ construct="1"
566
+ transfer-ownership="none">
567
+ <type name="utf8" c:type="gchar*"/>
568
+ </property>
569
+ <property name="desc"
570
+ deprecated="1"
571
+ deprecated-version="2.36"
572
+ transfer-ownership="none">
573
+ <doc xml:space="preserve">SVG's description</doc>
574
+ <type name="utf8" c:type="gchar*"/>
575
+ </property>
576
+ <property name="dpi-x"
577
+ writable="1"
578
+ construct="1"
579
+ transfer-ownership="none">
580
+ <type name="gdouble" c:type="gdouble"/>
581
+ </property>
582
+ <property name="dpi-y"
583
+ writable="1"
584
+ construct="1"
585
+ transfer-ownership="none">
586
+ <type name="gdouble" c:type="gdouble"/>
587
+ </property>
588
+ <property name="em" transfer-ownership="none">
589
+ <type name="gdouble" c:type="gdouble"/>
590
+ </property>
591
+ <property name="ex" transfer-ownership="none">
592
+ <type name="gdouble" c:type="gdouble"/>
593
+ </property>
594
+ <property name="flags"
595
+ version="2.36"
596
+ writable="1"
597
+ construct-only="1"
598
+ transfer-ownership="none">
599
+ <doc xml:space="preserve">Flags from #RsvgHandleFlags.</doc>
600
+ <type name="HandleFlags"/>
601
+ </property>
602
+ <property name="height" transfer-ownership="none">
603
+ <type name="gint" c:type="gint"/>
604
+ </property>
605
+ <property name="metadata"
606
+ deprecated="1"
607
+ deprecated-version="2.36"
608
+ transfer-ownership="none">
609
+ <doc xml:space="preserve">SVG's description</doc>
610
+ <type name="utf8" c:type="gchar*"/>
611
+ </property>
612
+ <property name="title"
613
+ deprecated="1"
614
+ deprecated-version="2.36"
615
+ transfer-ownership="none">
616
+ <doc xml:space="preserve">SVG's description</doc>
617
+ <type name="utf8" c:type="gchar*"/>
618
+ </property>
619
+ <property name="width" transfer-ownership="none">
620
+ <type name="gint" c:type="gint"/>
621
+ </property>
622
+ <field name="parent">
623
+ <type name="GObject.Object" c:type="GObject"/>
624
+ </field>
625
+ <field name="priv" readable="0" private="1">
626
+ <type name="HandlePrivate" c:type="RsvgHandlePrivate*"/>
627
+ </field>
628
+ <field name="_abi_padding" readable="0" private="1">
629
+ <array zero-terminated="0" c:type="gpointer" fixed-size="15">
630
+ <type name="gpointer" c:type="gpointer"/>
631
+ </array>
632
+ </field>
633
+ </class>
634
+ <record name="HandleClass"
635
+ c:type="RsvgHandleClass"
636
+ glib:is-gtype-struct-for="Handle">
637
+ <doc xml:space="preserve">Class structure for #RsvgHandle</doc>
638
+ <field name="parent">
639
+ <doc xml:space="preserve">parent class</doc>
640
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
641
+ </field>
642
+ <field name="_abi_padding" readable="0" private="1">
643
+ <array zero-terminated="0" c:type="gpointer" fixed-size="15">
644
+ <type name="gpointer" c:type="gpointer"/>
645
+ </array>
646
+ </field>
647
+ </record>
648
+ <bitfield name="HandleFlags"
649
+ glib:type-name="RsvgHandleFlags"
650
+ glib:get-type="rsvg_handle_flags_get_type"
651
+ c:type="RsvgHandleFlags">
652
+ <member name="flags_none"
653
+ value="0"
654
+ c:identifier="RSVG_HANDLE_FLAGS_NONE"
655
+ glib:nick="flags-none">
656
+ <doc xml:space="preserve">none</doc>
657
+ </member>
658
+ <member name="flag_unlimited"
659
+ value="1"
660
+ c:identifier="RSVG_HANDLE_FLAG_UNLIMITED"
661
+ glib:nick="flag-unlimited">
662
+ <doc xml:space="preserve">Allow any SVG XML without size limitations.
663
+ For security reasons, this should only be used for trusted input!
664
+ Since: 2.40.3</doc>
665
+ </member>
666
+ <member name="flag_keep_image_data"
667
+ value="2"
668
+ c:identifier="RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA"
669
+ glib:nick="flag-keep-image-data">
670
+ <doc xml:space="preserve">Keeps the image data when loading images,
671
+ for use by cairo when painting to e.g. a PDF surface. This will make the
672
+ resulting PDF file smaller and faster.
673
+ Since: 2.40.3</doc>
674
+ </member>
675
+ </bitfield>
676
+ <record name="HandlePrivate" c:type="RsvgHandlePrivate" disguised="1">
677
+ </record>
678
+ <constant name="MAJOR_VERSION" value="2" c:type="LIBRSVG_MAJOR_VERSION">
679
+ <type name="gint" c:type="gint"/>
680
+ </constant>
681
+ <constant name="MICRO_VERSION" value="6" c:type="LIBRSVG_MICRO_VERSION">
682
+ <type name="gint" c:type="gint"/>
683
+ </constant>
684
+ <constant name="MINOR_VERSION" value="40" c:type="LIBRSVG_MINOR_VERSION">
685
+ <type name="gint" c:type="gint"/>
686
+ </constant>
687
+ <record name="PositionData" c:type="RsvgPositionData">
688
+ <doc xml:space="preserve">Position of an SVG fragment.</doc>
689
+ <field name="x" writable="1">
690
+ <doc xml:space="preserve">position on the x axis</doc>
691
+ <type name="gint" c:type="int"/>
692
+ </field>
693
+ <field name="y" writable="1">
694
+ <doc xml:space="preserve">position on the y axis</doc>
695
+ <type name="gint" c:type="int"/>
696
+ </field>
697
+ </record>
698
+ <constant name="VERSION" value="2.40.6" c:type="LIBRSVG_VERSION">
699
+ <type name="utf8" c:type="gchar*"/>
700
+ </constant>
701
+ <function name="cleanup" c:identifier="rsvg_cleanup" version="2.36">
702
+ <doc xml:space="preserve">This function should not be called from normal programs.
703
+ See xmlCleanupParser() for more information.</doc>
704
+ <return-value transfer-ownership="none">
705
+ <type name="none" c:type="void"/>
706
+ </return-value>
707
+ </function>
708
+ <function name="error_quark"
709
+ c:identifier="rsvg_error_quark"
710
+ moved-to="Error.quark">
711
+ <doc xml:space="preserve">The error domain for RSVG</doc>
712
+ <return-value transfer-ownership="none">
713
+ <doc xml:space="preserve">The error domain</doc>
714
+ <type name="GLib.Quark" c:type="GQuark"/>
715
+ </return-value>
716
+ </function>
717
+ <function name="set_default_dpi"
718
+ c:identifier="rsvg_set_default_dpi"
719
+ version="2.8">
720
+ <doc xml:space="preserve">Sets the DPI for the all future outgoing pixbufs. Common values are
721
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to @dpi will
722
+ reset the DPI to whatever the default value happens to be.</doc>
723
+ <return-value transfer-ownership="none">
724
+ <type name="none" c:type="void"/>
725
+ </return-value>
726
+ <parameters>
727
+ <parameter name="dpi" transfer-ownership="none">
728
+ <doc xml:space="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
729
+ <type name="gdouble" c:type="double"/>
730
+ </parameter>
731
+ </parameters>
732
+ </function>
733
+ <function name="set_default_dpi_x_y"
734
+ c:identifier="rsvg_set_default_dpi_x_y"
735
+ version="2.8">
736
+ <doc xml:space="preserve">Sets the DPI for the all future outgoing pixbufs. Common values are
737
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to @dpi will
738
+ reset the DPI to whatever the default value happens to be.</doc>
739
+ <return-value transfer-ownership="none">
740
+ <type name="none" c:type="void"/>
741
+ </return-value>
742
+ <parameters>
743
+ <parameter name="dpi_x" transfer-ownership="none">
744
+ <doc xml:space="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
745
+ <type name="gdouble" c:type="double"/>
746
+ </parameter>
747
+ <parameter name="dpi_y" transfer-ownership="none">
748
+ <doc xml:space="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
749
+ <type name="gdouble" c:type="double"/>
750
+ </parameter>
751
+ </parameters>
752
+ </function>
753
+ </namespace>
754
+ </repository>