rsvg2 2.2.3-x86-mingw32 → 2.2.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -2
  3. data/ext/rsvg2/extconf.rb +2 -15
  4. data/ext/rsvg2/rbrsvghandle.c +46 -25
  5. data/ext/rsvg2/rsvg2.h +4 -2
  6. data/lib/2.0/rsvg2.so +0 -0
  7. data/lib/2.1/rsvg2.so +0 -0
  8. data/lib/2.2/rsvg2.so +0 -0
  9. data/test/rsvg2-test-utils.rb +23 -0
  10. data/test/run-test.rb +49 -0
  11. data/test/test-handle.rb +91 -0
  12. data/vendor/local/bin/croco-0.6-config +3 -3
  13. data/vendor/local/bin/csslint-0.6.exe +0 -0
  14. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  15. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  16. data/vendor/local/bin/rsvg-convert.exe +0 -0
  17. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +2 -2
  18. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +31 -10
  19. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  20. data/vendor/local/lib/libcroco-0.6.a +0 -0
  21. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  22. data/vendor/local/lib/libcroco-0.6.la +2 -2
  23. data/vendor/local/lib/librsvg-2.a +0 -0
  24. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  25. data/vendor/local/lib/librsvg-2.la +3 -3
  26. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
  27. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +2 -2
  28. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +75 -42
  29. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1046 -699
  30. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +26 -26
  31. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
  32. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
  33. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
  34. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
  35. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
  36. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
  37. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
  38. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
  39. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +80 -85
  40. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  41. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
  42. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +30 -25
  43. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  44. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  45. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
  46. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
  47. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  48. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  49. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -57
  50. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +253 -176
  51. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +337 -239
  52. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +96 -68
  53. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +83 -50
  54. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
  55. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
  56. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  57. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  58. metadata +11 -4
@@ -17,7 +17,7 @@ old_library='libcroco-0.6.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -R/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la -lpthread /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/rcairo.win32/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local/lib /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la -lpthread /home/vagrant/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib'
41
+ libdir='/home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local/lib'
Binary file
@@ -17,7 +17,7 @@ old_library='librsvg-2.a'
17
17
  inherited_linker_flags=' -pthread'
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -R/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/../lib /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -liphlpapi /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/../lib/libffi.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la /home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib/libcroco-0.6.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la -lpthread /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/rcairo.win32/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/../lib /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/../lib/libffi.la /home/vagrant/rcairo.win32/vendor/local/lib/libcairo.la /home/vagrant/rcairo.win32/vendor/local/lib/libpixman-1.la /home/vagrant/rcairo.win32/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo.win32/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/vagrant/rcairo.win32/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local/lib/libcroco-0.6.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la -lpthread /home/vagrant/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for librsvg-2.
26
26
  current=42
27
27
  age=40
28
- revision=1
28
+ revision=6
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib'
41
+ libdir='/home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local/lib'
@@ -1,4 +1,4 @@
1
- prefix=/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local
1
+ prefix=/home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local
2
2
  exec_prefix=${prefix}
3
3
  libdir=${exec_prefix}/lib
4
4
  includedir=${prefix}/include
@@ -1,4 +1,4 @@
1
- prefix=/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local
1
+ prefix=/home/vagrant/ruby-gnome2.win32/rsvg2/vendor/local
2
2
  exec_prefix=${prefix}
3
3
  libdir=${exec_prefix}/lib
4
4
  includedir=${prefix}/include
@@ -8,7 +8,7 @@ css_supported=true
8
8
 
9
9
  Name: librsvg
10
10
  Description: library that renders svg files
11
- Version: 2.40.1
11
+ Version: 2.40.6
12
12
  Requires: glib-2.0 gio-2.0 gdk-pixbuf-2.0 cairo
13
13
  Requires.private:
14
14
  Libs: -L${libdir} -lrsvg-2 -lm
@@ -41,11 +41,12 @@ and/or use gtk-doc annotations. -->
41
41
  glib:get-type="rsvg_error_get_type"
42
42
  c:type="RsvgError"
43
43
  glib:error-domain="rsvg-error-quark">
44
- <doc xml:space="preserve">An enumeration representing possible error domains</doc>
44
+ <doc xml:space="preserve">An enumeration representing possible errors</doc>
45
45
  <member name="failed"
46
46
  value="0"
47
47
  c:identifier="RSVG_ERROR_FAILED"
48
48
  glib:nick="failed">
49
+ <doc xml:space="preserve">the request failed</doc>
49
50
  </member>
50
51
  <function name="quark" c:identifier="rsvg_error_quark">
51
52
  <doc xml:space="preserve">The error domain for RSVG</doc>
@@ -62,7 +63,7 @@ and/or use gtk-doc annotations. -->
62
63
  glib:type-name="RsvgHandle"
63
64
  glib:get-type="rsvg_handle_get_type"
64
65
  glib:type-struct="HandleClass">
65
- <doc xml:space="preserve">The RsvgHandle is an object representing the parsed form of a SVG</doc>
66
+ <doc xml:space="preserve">The #RsvgHandle is an object representing the parsed form of a SVG</doc>
66
67
  <constructor name="new" c:identifier="rsvg_handle_new">
67
68
  <doc xml:space="preserve">Returns a new rsvg handle. Must be freed with @g_object_unref. This
68
69
  handle can be used for dynamically loading an image. You need to feed it
@@ -79,9 +80,9 @@ with one handle.</doc>
79
80
  c:identifier="rsvg_handle_new_from_data"
80
81
  version="2.14"
81
82
  throws="1">
82
- <doc xml:space="preserve">Loads the SVG specified by #data.</doc>
83
+ <doc xml:space="preserve">Loads the SVG specified by @data.</doc>
83
84
  <return-value transfer-ownership="full">
84
- <doc xml:space="preserve">A RsvgHandle or %NULL if an error occurs.</doc>
85
+ <doc xml:space="preserve">A #RsvgHandle or %NULL if an error occurs.</doc>
85
86
  <type name="Handle" c:type="RsvgHandle*"/>
86
87
  </return-value>
87
88
  <parameters>
@@ -92,7 +93,7 @@ with one handle.</doc>
92
93
  </array>
93
94
  </parameter>
94
95
  <parameter name="data_len" transfer-ownership="none">
95
- <doc xml:space="preserve">The length of #data, in bytes</doc>
96
+ <doc xml:space="preserve">The length of @data, in bytes</doc>
96
97
  <type name="gsize" c:type="gsize"/>
97
98
  </parameter>
98
99
  </parameters>
@@ -101,9 +102,9 @@ with one handle.</doc>
101
102
  c:identifier="rsvg_handle_new_from_file"
102
103
  version="2.14"
103
104
  throws="1">
104
- <doc xml:space="preserve">Loads the SVG specified by #file_name.</doc>
105
+ <doc xml:space="preserve">Loads the SVG specified by @file_name.</doc>
105
106
  <return-value transfer-ownership="full">
106
- <doc xml:space="preserve">A RsvgHandle or %NULL if an error occurs.</doc>
107
+ <doc xml:space="preserve">A #RsvgHandle or %NULL if an error occurs.</doc>
107
108
  <type name="Handle" c:type="RsvgHandle*"/>
108
109
  </return-value>
109
110
  <parameters>
@@ -121,7 +122,7 @@ with one handle.</doc>
121
122
 
122
123
  If @cancellable is not %NULL, then the operation can be cancelled by
123
124
  triggering the cancellable object from another thread. If the
124
- operation was cancelled, the error G_IO_ERROR_CANCELLED will be
125
+ operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
125
126
  returned.</doc>
126
127
  <return-value transfer-ownership="full">
127
128
  <doc xml:space="preserve">a new #RsvgHandle on success, or %NULL with @error filled in</doc>
@@ -153,7 +154,7 @@ returned.</doc>
153
154
 
154
155
  If @cancellable is not %NULL, then the operation can be cancelled by
155
156
  triggering the cancellable object from another thread. If the
156
- operation was cancelled, the error G_IO_ERROR_CANCELLED will be
157
+ operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
157
158
  returned.</doc>
158
159
  <return-value transfer-ownership="full">
159
160
  <doc xml:space="preserve">a new #RsvgHandle on success, or %NULL with @error filled in</doc>
@@ -269,22 +270,26 @@ freed until @g_object_unref is called.</doc>
269
270
  <doc xml:space="preserve">A place to store the SVG's size</doc>
270
271
  <type name="DimensionData" c:type="RsvgDimensionData*"/>
271
272
  </parameter>
272
- <parameter name="id" transfer-ownership="none">
273
- <doc xml:space="preserve">An element's id within the SVG, or NULL to get the dimension of the whole SVG.
274
- For example, if you have a layer called "layer1" for that you want to get the dimension,
275
- pass "#layer1" as the id.</doc>
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>
276
281
  <type name="utf8" c:type="const char*"/>
277
282
  </parameter>
278
283
  </parameters>
279
284
  </method>
280
285
  <method name="get_pixbuf" c:identifier="rsvg_handle_get_pixbuf">
281
- <doc xml:space="preserve">Returns the pixbuf loaded by #handle. The pixbuf returned will be reffed, so
286
+ <doc xml:space="preserve">Returns the pixbuf loaded by @handle. The pixbuf returned will be reffed, so
282
287
  the caller of this function must assume that ref. If insufficient data has
283
288
  been read to create the pixbuf, or an error occurred in loading, then %NULL
284
289
  will be returned. Note that the pixbuf may not be complete until
285
290
  @rsvg_handle_close has been called.</doc>
286
- <return-value transfer-ownership="full">
287
- <doc xml:space="preserve">the pixbuf loaded by #handle, or %NULL.</doc>
291
+ <return-value transfer-ownership="full" nullable="1">
292
+ <doc xml:space="preserve">the pixbuf loaded by @handle, or %NULL.</doc>
288
293
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
289
294
  </return-value>
290
295
  <parameters>
@@ -297,13 +302,13 @@ will be returned. Note that the pixbuf may not be complete until
297
302
  <method name="get_pixbuf_sub"
298
303
  c:identifier="rsvg_handle_get_pixbuf_sub"
299
304
  version="2.14">
300
- <doc xml:space="preserve">Returns the pixbuf loaded by #handle. The pixbuf returned will be reffed, so
305
+ <doc xml:space="preserve">Returns the pixbuf loaded by @handle. The pixbuf returned will be reffed, so
301
306
  the caller of this function must assume that ref. If insufficient data has
302
307
  been read to create the pixbuf, or an error occurred in loading, then %NULL
303
308
  will be returned. Note that the pixbuf may not be complete until
304
309
  @rsvg_handle_close has been called.</doc>
305
- <return-value transfer-ownership="full">
306
- <doc xml:space="preserve">the pixbuf loaded by #handle, or %NULL.</doc>
310
+ <return-value transfer-ownership="full" nullable="1">
311
+ <doc xml:space="preserve">the pixbuf loaded by @handle, or %NULL.</doc>
307
312
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
308
313
  </return-value>
309
314
  <parameters>
@@ -311,10 +316,13 @@ will be returned. Note that the pixbuf may not be complete until
311
316
  <doc xml:space="preserve">An #RsvgHandle</doc>
312
317
  <type name="Handle" c:type="RsvgHandle*"/>
313
318
  </instance-parameter>
314
- <parameter name="id" transfer-ownership="none">
315
- <doc xml:space="preserve">The id of an element inside the SVG, or %NULL to render the whole SVG. For
316
- example, if you have a layer called "layer1" that you wish to render, pass
317
- "##layer1" as the id.</doc>
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>
318
326
  <type name="utf8" c:type="const char*"/>
319
327
  </parameter>
320
328
  </parameters>
@@ -372,7 +380,7 @@ the position, pass "##layer1" as the id.</doc>
372
380
 
373
381
  If @cancellable is not %NULL, then the operation can be cancelled by
374
382
  triggering the cancellable object from another thread. If the
375
- operation was cancelled, the error G_IO_ERROR_CANCELLED will be
383
+ operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
376
384
  returned.</doc>
377
385
  <return-value transfer-ownership="none">
378
386
  <doc xml:space="preserve">%TRUE if reading @stream succeeded, or %FALSE otherwise
@@ -407,7 +415,7 @@ returned.</doc>
407
415
  </return-value>
408
416
  <parameters>
409
417
  <instance-parameter name="handle" transfer-ownership="none">
410
- <doc xml:space="preserve">A RsvgHandle</doc>
418
+ <doc xml:space="preserve">A #RsvgHandle</doc>
411
419
  <type name="Handle" c:type="RsvgHandle*"/>
412
420
  </instance-parameter>
413
421
  <parameter name="cr" transfer-ownership="none">
@@ -426,17 +434,20 @@ returned.</doc>
426
434
  </return-value>
427
435
  <parameters>
428
436
  <instance-parameter name="handle" transfer-ownership="none">
429
- <doc xml:space="preserve">A RsvgHandle</doc>
437
+ <doc xml:space="preserve">A #RsvgHandle</doc>
430
438
  <type name="Handle" c:type="RsvgHandle*"/>
431
439
  </instance-parameter>
432
440
  <parameter name="cr" transfer-ownership="none">
433
441
  <doc xml:space="preserve">A Cairo renderer</doc>
434
442
  <type name="cairo.Context" c:type="cairo_t*"/>
435
443
  </parameter>
436
- <parameter name="id" transfer-ownership="none">
437
- <doc xml:space="preserve">An element's id within the SVG, or %NULL to render the whole SVG. For
438
- example, if you have a layer called "layer1" that you wish to render, pass
439
- "##layer1" as the id.</doc>
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>
440
451
  <type name="utf8" c:type="const char*"/>
441
452
  </parameter>
442
453
  </parameters>
@@ -482,7 +493,7 @@ has been called.</doc>
482
493
  </method>
483
494
  <method name="set_dpi" c:identifier="rsvg_handle_set_dpi" version="2.8">
484
495
  <doc xml:space="preserve">Sets the DPI for the outgoing pixbuf. Common values are
485
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to #dpi will
496
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to @dpi will
486
497
  reset the DPI to whatever the default value happens to be.</doc>
487
498
  <return-value transfer-ownership="none">
488
499
  <type name="none" c:type="void"/>
@@ -502,7 +513,7 @@ reset the DPI to whatever the default value happens to be.</doc>
502
513
  c:identifier="rsvg_handle_set_dpi_x_y"
503
514
  version="2.8">
504
515
  <doc xml:space="preserve">Sets the DPI for the outgoing pixbuf. Common values are
505
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to #dpi_x or #dpi_y will
516
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to #dpi_x or @dpi_y will
506
517
  reset the DPI to whatever the default value happens to be.</doc>
507
518
  <return-value transfer-ownership="none">
508
519
  <type name="none" c:type="void"/>
@@ -523,9 +534,9 @@ reset the DPI to whatever the default value happens to be.</doc>
523
534
  </parameters>
524
535
  </method>
525
536
  <method name="write" c:identifier="rsvg_handle_write" throws="1">
526
- <doc xml:space="preserve">Loads the next @count bytes of the image. This will return #TRUE if the data
527
- was loaded successful, and #FALSE if an error occurred. In the latter case,
528
- the loader will be closed, and will not accept further writes. If FALSE is
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
529
540
  returned, @error will be set to an error from the #RsvgError domain. Errors
530
541
  from #GIOErrorEnum are also possible.</doc>
531
542
  <return-value transfer-ownership="none">
@@ -623,10 +634,12 @@ from #GIOErrorEnum are also possible.</doc>
623
634
  <record name="HandleClass"
624
635
  c:type="RsvgHandleClass"
625
636
  glib:is-gtype-struct-for="Handle">
637
+ <doc xml:space="preserve">Class structure for #RsvgHandle</doc>
626
638
  <field name="parent">
639
+ <doc xml:space="preserve">parent class</doc>
627
640
  <type name="GObject.ObjectClass" c:type="GObjectClass"/>
628
641
  </field>
629
- <field name="_abi_padding">
642
+ <field name="_abi_padding" readable="0" private="1">
630
643
  <array zero-terminated="0" c:type="gpointer" fixed-size="15">
631
644
  <type name="gpointer" c:type="gpointer"/>
632
645
  </array>
@@ -636,10 +649,28 @@ from #GIOErrorEnum are also possible.</doc>
636
649
  glib:type-name="RsvgHandleFlags"
637
650
  glib:get-type="rsvg_handle_flags_get_type"
638
651
  c:type="RsvgHandleFlags">
639
- <member name="none"
652
+ <member name="flags_none"
640
653
  value="0"
641
654
  c:identifier="RSVG_HANDLE_FLAGS_NONE"
642
- glib:nick="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>
643
674
  </member>
644
675
  </bitfield>
645
676
  <record name="HandlePrivate" c:type="RsvgHandlePrivate" disguised="1">
@@ -647,7 +678,7 @@ from #GIOErrorEnum are also possible.</doc>
647
678
  <constant name="MAJOR_VERSION" value="2" c:type="LIBRSVG_MAJOR_VERSION">
648
679
  <type name="gint" c:type="gint"/>
649
680
  </constant>
650
- <constant name="MICRO_VERSION" value="1" c:type="LIBRSVG_MICRO_VERSION">
681
+ <constant name="MICRO_VERSION" value="6" c:type="LIBRSVG_MICRO_VERSION">
651
682
  <type name="gint" c:type="gint"/>
652
683
  </constant>
653
684
  <constant name="MINOR_VERSION" value="40" c:type="LIBRSVG_MINOR_VERSION">
@@ -656,13 +687,15 @@ from #GIOErrorEnum are also possible.</doc>
656
687
  <record name="PositionData" c:type="RsvgPositionData">
657
688
  <doc xml:space="preserve">Position of an SVG fragment.</doc>
658
689
  <field name="x" writable="1">
690
+ <doc xml:space="preserve">position on the x axis</doc>
659
691
  <type name="gint" c:type="int"/>
660
692
  </field>
661
693
  <field name="y" writable="1">
694
+ <doc xml:space="preserve">position on the y axis</doc>
662
695
  <type name="gint" c:type="int"/>
663
696
  </field>
664
697
  </record>
665
- <constant name="VERSION" value="2.40.1" c:type="LIBRSVG_VERSION">
698
+ <constant name="VERSION" value="2.40.6" c:type="LIBRSVG_VERSION">
666
699
  <type name="utf8" c:type="gchar*"/>
667
700
  </constant>
668
701
  <function name="cleanup" c:identifier="rsvg_cleanup" version="2.36">
@@ -685,7 +718,7 @@ See xmlCleanupParser() for more information.</doc>
685
718
  c:identifier="rsvg_set_default_dpi"
686
719
  version="2.8">
687
720
  <doc xml:space="preserve">Sets the DPI for the all future outgoing pixbufs. Common values are
688
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to #dpi will
721
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to @dpi will
689
722
  reset the DPI to whatever the default value happens to be.</doc>
690
723
  <return-value transfer-ownership="none">
691
724
  <type name="none" c:type="void"/>
@@ -701,7 +734,7 @@ reset the DPI to whatever the default value happens to be.</doc>
701
734
  c:identifier="rsvg_set_default_dpi_x_y"
702
735
  version="2.8">
703
736
  <doc xml:space="preserve">Sets the DPI for the all future outgoing pixbufs. Common values are
704
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to #dpi will
737
+ 75, 90, and 300 DPI. Passing a number &lt;= 0 to @dpi will
705
738
  reset the DPI to whatever the default value happens to be.</doc>
706
739
  <return-value transfer-ownership="none">
707
740
  <type name="none" c:type="void"/>
@@ -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.19 (XML mode)">
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="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="rsvg.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="rsvg.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">RSVG Libary Reference Manual</th>
21
- <td><a accesskey="n" href="rsvg-Using-RSVG-with-GIO.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#RsvgHandle.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#RsvgHandle.description" class="shortcut">Description</a>
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,1030 +31,1383 @@
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
- <span class="returnvalue">GQuark</span> <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
- <span class="returnvalue">gboolean</span> <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 <span class="type">guchar</span> *buf</code></em>,
65
- <em class="parameter"><code><span class="type">gsize</span> count</code></em>,
66
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
67
- <span class="returnvalue">gboolean</span> <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><span class="type">GError</span> **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
- <span class="returnvalue">gboolean</span> <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
- <span class="returnvalue">gboolean</span> <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
- <span class="returnvalue">gboolean</span> <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 <span class="type">guint8</span> *data</code></em>,
86
- <em class="parameter"><code><span class="type">gsize</span> data_len</code></em>,
87
- <em class="parameter"><code><span class="type">GError</span> **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 <span class="type">gchar</span> *file_name</code></em>,
89
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
90
- <span class="returnvalue">GType</span> <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><span class="type">gpointer</span> user_data</code></em>,
99
- <em class="parameter"><code><span class="type">GDestroyNotify</span> 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
- GObject
110
- +----RsvgHandle
111
- </pre>
112
- </div>
113
- <div class="refsect1">
114
- <a name="RsvgHandle.properties"></a><h2>Properties</h2>
115
- <pre class="synopsis">
116
- "<a class="link" href="RsvgHandle.html#RsvgHandle--base-uri" title='The "base-uri" property'>base-uri</a>" <span class="type">gchar</span>* : Read / Write / Construct
117
- "<a class="link" href="RsvgHandle.html#RsvgHandle--desc" title='The "desc" property'>desc</a>" <span class="type">gchar</span>* : Read
118
- "<a class="link" href="RsvgHandle.html#RsvgHandle--dpi-x" title='The "dpi-x" property'>dpi-x</a>" <span class="type">gdouble</span> : Read / Write / Construct
119
- "<a class="link" href="RsvgHandle.html#RsvgHandle--dpi-y" title='The "dpi-y" property'>dpi-y</a>" <span class="type">gdouble</span> : Read / Write / Construct
120
- "<a class="link" href="RsvgHandle.html#RsvgHandle--em" title='The "em" property'>em</a>" <span class="type">gdouble</span> : Read
121
- "<a class="link" href="RsvgHandle.html#RsvgHandle--ex" title='The "ex" property'>ex</a>" <span class="type">gdouble</span> : 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>" <span class="type">gint</span> : Read
124
- "<a class="link" href="RsvgHandle.html#RsvgHandle--metadata" title='The "metadata" property'>metadata</a>" <span class="type">gchar</span>* : Read
125
- "<a class="link" href="RsvgHandle.html#RsvgHandle--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read
126
- "<a class="link" href="RsvgHandle.html#RsvgHandle--width" title='The "width" property'>width</a>" <span class="type">gint</span> : 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
36
  <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 error domains
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 align="left" valign="top">
157
- <col>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
158
42
  </colgroup>
159
- <tbody><tr>
160
- <td><p><a name="RSVG-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">RSVG_ERROR_FAILED</code></span></p></td>
161
- <td></td>
162
- </tr></tbody>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
51
+ </td>
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.win32/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.win32/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.win32/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.win32/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.win32/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.win32/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>
163
257
  </table></div>
164
258
  </div>
165
- <hr>
166
- <div class="refsect2">
167
- <a name="RSVG-ERROR:CAPS"></a><h3>RSVG_ERROR</h3>
168
- <pre class="programlisting">#define RSVG_ERROR (rsvg_error_quark ())
169
- </pre>
170
- </div>
171
- <hr>
172
- <div class="refsect2">
173
- <a name="rsvg-error-quark"></a><h3>rsvg_error_quark ()</h3>
174
- <pre class="programlisting"><span class="returnvalue">GQuark</span> rsvg_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
175
- <p>
176
- The error domain for RSVG
177
- </p>
178
- <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">
179
262
  <colgroup>
180
- <col align="left" valign="top">
181
- <col>
263
+ <col width="150px" class="properties_type">
264
+ <col width="300px" class="properties_name">
265
+ <col width="200px" class="properties_flags">
182
266
  </colgroup>
183
- <tbody><tr>
184
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
185
- <td>The error domain</td>
186
- </tr></tbody>
267
+ <tbody>
268
+ <tr>
269
+ <td class="property_type">
270
+ <a href="/home/vagrant/ruby-gnome2.win32/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.win32/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.win32/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.win32/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.win32/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.win32/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>
304
+ </tr>
305
+ <tr>
306
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/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>
309
+ </tr>
310
+ <tr>
311
+ <td class="property_type">
312
+ <a href="/home/vagrant/ruby-gnome2.win32/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>
315
+ </tr>
316
+ <tr>
317
+ <td class="property_type">
318
+ <a href="/home/vagrant/ruby-gnome2.win32/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.win32/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>
326
+ </tr>
327
+ </tbody>
187
328
  </table></div>
188
329
  </div>
189
- <hr>
190
- <div class="refsect2">
191
- <a name="RsvgHandle-struct"></a><h3>RsvgHandle</h3>
192
- <pre class="programlisting">typedef struct _RsvgHandle RsvgHandle;</pre>
193
- <p>
194
- The RsvgHandle is an object representing the parsed form of a SVG
195
- </p>
196
- </div>
197
- <hr>
198
- <div class="refsect2">
199
- <a name="RsvgHandlePrivate"></a><h3>RsvgHandlePrivate</h3>
200
- <pre class="programlisting">typedef struct RsvgHandlePrivate RsvgHandlePrivate;
201
- </pre>
202
- </div>
203
- <hr>
204
- <div class="refsect2">
205
- <a name="RsvgHandleClass"></a><h3>struct RsvgHandleClass</h3>
206
- <pre class="programlisting">struct RsvgHandleClass {
207
- GObjectClass parent;
208
-
209
- gpointer _abi_padding[15];
210
- };
211
- </pre>
212
- </div>
213
- <hr>
214
- <div class="refsect2">
215
- <a name="RsvgDimensionData"></a><h3>struct RsvgDimensionData</h3>
216
- <pre class="programlisting">struct RsvgDimensionData {
217
- int width;
218
- int height;
219
- gdouble em;
220
- gdouble ex;
221
- };
222
- </pre>
223
- <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">
224
333
  <colgroup>
225
- <col align="left" valign="top">
226
- <col>
334
+ <col width="150px" class="name">
335
+ <col class="description">
227
336
  </colgroup>
228
337
  <tbody>
229
338
  <tr>
230
- <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="RsvgDimensionData.width"></a>width</code></em>;</span></p></td>
231
- <td>SVG's width, in pixels</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>
232
341
  </tr>
233
342
  <tr>
234
- <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="RsvgDimensionData.height"></a>height</code></em>;</span></p></td>
235
- <td>SVG's height, in pixels</td>
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>
236
345
  </tr>
237
346
  <tr>
238
- <td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="RsvgDimensionData.em"></a>em</code></em>;</span></p></td>
239
- <td>em</td>
347
+ <td class="typedef_keyword">typedef</td>
348
+ <td class="function_name"><a class="link" href="RsvgHandle.html#RsvgHandlePrivate" title="RsvgHandlePrivate">RsvgHandlePrivate</a></td>
240
349
  </tr>
241
350
  <tr>
242
- <td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="RsvgDimensionData.ex"></a>ex</code></em>;</span></p></td>
243
- <td>ex</td>
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>
353
+ </tr>
354
+ <tr>
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>
244
361
  </tr>
245
362
  </tbody>
246
363
  </table></div>
247
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.win32/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.win32/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>
248
389
  <hr>
249
390
  <div class="refsect2">
250
- <a name="RsvgPositionData"></a><h3>struct RsvgPositionData</h3>
251
- <pre class="programlisting">struct RsvgPositionData {
252
- int x;
253
- int y;
254
- };
255
- </pre>
391
+ <a name="rsvg-error-quark"></a><h3>rsvg_error_quark ()</h3>
392
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/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>
256
400
  </div>
257
401
  <hr>
258
402
  <div class="refsect2">
259
- <a name="rsvg-cleanup"></a><h3>rsvg_cleanup ()</h3>
260
- <pre class="programlisting"><span class="returnvalue">void</span> rsvg_cleanup (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
261
- <p>
262
- This function should not be called from normal programs.
263
- See <code class="function">xmlCleanupParser()</code> for more information.
264
- </p>
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>
265
408
  <p class="since">Since 2.36</p>
266
409
  </div>
267
410
  <hr>
268
411
  <div class="refsect2">
269
- <a name="rsvg-set-default-dpi"></a><h3>rsvg_set_default_dpi ()</h3>
270
- <pre class="programlisting"><span class="returnvalue">void</span> rsvg_set_default_dpi (<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
271
- <p>
272
- Sets the DPI for the all future outgoing pixbufs. Common values are
273
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to <span class="type">dpi</span> will
274
- reset the DPI to whatever the default value happens to be.
275
- </p>
276
- <div class="variablelist"><table border="0" class="variablelist">
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 &lt;= 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">
277
422
  <colgroup>
278
- <col align="left" valign="top">
279
- <col>
423
+ <col width="150px" class="parameters_name">
424
+ <col class="parameters_description">
425
+ <col width="200px" class="parameters_annotations">
280
426
  </colgroup>
281
427
  <tbody><tr>
282
- <td><p><span class="term"><em class="parameter"><code>dpi</code></em> :</span></p></td>
283
- <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>
284
431
  </tr></tbody>
285
432
  </table></div>
433
+ </div>
286
434
  <p class="since">Since 2.8</p>
287
435
  </div>
288
436
  <hr>
289
437
  <div class="refsect2">
290
- <a name="rsvg-set-default-dpi-x-y"></a><h3>rsvg_set_default_dpi_x_y ()</h3>
291
- <pre class="programlisting"><span class="returnvalue">void</span> rsvg_set_default_dpi_x_y (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
292
- <em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
293
- <p>
294
- Sets the DPI for the all future outgoing pixbufs. Common values are
295
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to <span class="type">dpi</span> will
296
- reset the DPI to whatever the default value happens to be.
297
- </p>
298
- <div class="variablelist"><table border="0" class="variablelist">
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 &lt;= 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">
299
449
  <colgroup>
300
- <col align="left" valign="top">
301
- <col>
450
+ <col width="150px" class="parameters_name">
451
+ <col class="parameters_description">
452
+ <col width="200px" class="parameters_annotations">
302
453
  </colgroup>
303
454
  <tbody>
304
455
  <tr>
305
- <td><p><span class="term"><em class="parameter"><code>dpi_x</code></em> :</span></p></td>
306
- <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>
307
459
  </tr>
308
460
  <tr>
309
- <td><p><span class="term"><em class="parameter"><code>dpi_y</code></em> :</span></p></td>
310
- <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>
311
464
  </tr>
312
465
  </tbody>
313
466
  </table></div>
467
+ </div>
314
468
  <p class="since">Since 2.8</p>
315
469
  </div>
316
470
  <hr>
317
471
  <div class="refsect2">
318
- <a name="rsvg-handle-set-dpi"></a><h3>rsvg_handle_set_dpi ()</h3>
319
- <pre class="programlisting"><span class="returnvalue">void</span> 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>,
320
- <em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
321
- <p>
322
- Sets the DPI for the outgoing pixbuf. Common values are
323
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to <span class="type">dpi</span> will
324
- reset the DPI to whatever the default value happens to be.
325
- </p>
326
- <div class="variablelist"><table border="0" class="variablelist">
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 &lt;= 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">
327
483
  <colgroup>
328
- <col align="left" valign="top">
329
- <col>
484
+ <col width="150px" class="parameters_name">
485
+ <col class="parameters_description">
486
+ <col width="200px" class="parameters_annotations">
330
487
  </colgroup>
331
488
  <tbody>
332
489
  <tr>
333
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
334
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
335
- </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>
336
493
  </tr>
337
494
  <tr>
338
- <td><p><span class="term"><em class="parameter"><code>dpi</code></em> :</span></p></td>
339
- <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>
340
498
  </tr>
341
499
  </tbody>
342
500
  </table></div>
501
+ </div>
343
502
  <p class="since">Since 2.8</p>
344
503
  </div>
345
504
  <hr>
346
505
  <div class="refsect2">
347
- <a name="rsvg-handle-set-dpi-x-y"></a><h3>rsvg_handle_set_dpi_x_y ()</h3>
348
- <pre class="programlisting"><span class="returnvalue">void</span> 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>,
349
- <em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
350
- <em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
351
- <p>
352
- Sets the DPI for the outgoing pixbuf. Common values are
353
- 75, 90, and 300 DPI. Passing a number &lt;= 0 to <span class="type">dpi_x</span> or <span class="type">dpi_y</span> will
354
- reset the DPI to whatever the default value happens to be.
355
- </p>
356
- <div class="variablelist"><table border="0" class="variablelist">
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 &lt;= 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">
357
518
  <colgroup>
358
- <col align="left" valign="top">
359
- <col>
519
+ <col width="150px" class="parameters_name">
520
+ <col class="parameters_description">
521
+ <col width="200px" class="parameters_annotations">
360
522
  </colgroup>
361
523
  <tbody>
362
524
  <tr>
363
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
364
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
365
- </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>
366
528
  </tr>
367
529
  <tr>
368
- <td><p><span class="term"><em class="parameter"><code>dpi_x</code></em> :</span></p></td>
369
- <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>
370
533
  </tr>
371
534
  <tr>
372
- <td><p><span class="term"><em class="parameter"><code>dpi_y</code></em> :</span></p></td>
373
- <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>
374
538
  </tr>
375
539
  </tbody>
376
540
  </table></div>
541
+ </div>
377
542
  <p class="since">Since 2.8</p>
378
543
  </div>
379
544
  <hr>
380
545
  <div class="refsect2">
381
- <a name="rsvg-handle-new"></a><h3>rsvg_handle_new ()</h3>
382
- <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * rsvg_handle_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
383
- <p>
384
- Returns a new rsvg handle. Must be freed with <em class="parameter"><code>g_object_unref</code></em>. This
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
385
551
  handle can be used for dynamically loading an image. You need to feed it
386
- data using <em class="parameter"><code>rsvg_handle_write</code></em>, then call <em class="parameter"><code>rsvg_handle_close</code></em> when done.
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.
387
555
  Afterwords, you can render it using Cairo or get a GdkPixbuf from it. When
388
- finished, free with <code class="function">g_object_unref()</code>. No more than one image can be loaded
389
- with one handle.
390
- </p>
391
- <div class="variablelist"><table border="0" class="variablelist">
392
- <colgroup>
393
- <col align="left" valign="top">
394
- <col>
395
- </colgroup>
396
- <tbody><tr>
397
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
398
- <td>A new <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
399
- </td>
400
- </tr></tbody>
401
- </table></div>
556
+ finished, free with <a href="/home/vagrant/ruby-gnome2.win32/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>
402
563
  </div>
403
564
  <hr>
404
565
  <div class="refsect2">
405
- <a name="rsvg-handle-new-with-flags"></a><h3>rsvg_handle_new_with_flags ()</h3>
406
- <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * rsvg_handle_new_with_flags (<em class="parameter"><code><a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> flags</code></em>);</pre>
407
- <p>
408
- 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>.
409
- </p>
410
- <div class="variablelist"><table border="0" class="variablelist">
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">
411
574
  <colgroup>
412
- <col align="left" valign="top">
413
- <col>
575
+ <col width="150px" class="parameters_name">
576
+ <col class="parameters_description">
577
+ <col width="200px" class="parameters_annotations">
414
578
  </colgroup>
415
- <tbody>
416
- <tr>
417
- <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
418
- <td>flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>
419
- </td>
420
- </tr>
421
- <tr>
422
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
423
- <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>
424
- </td>
425
- </tr>
426
- </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>
427
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>
428
591
  <p class="since">Since 2.36</p>
429
592
  </div>
430
593
  <hr>
431
594
  <div class="refsect2">
432
- <a name="rsvg-handle-write"></a><h3>rsvg_handle_write ()</h3>
433
- <pre class="programlisting"><span class="returnvalue">gboolean</span> rsvg_handle_write (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
434
- <em class="parameter"><code>const <span class="type">guchar</span> *buf</code></em>,
435
- <em class="parameter"><code><span class="type">gsize</span> count</code></em>,
436
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
437
- <p>
438
- Loads the next <em class="parameter"><code>count</code></em> bytes of the image. This will return <span class="type">TRUE</span> if the data
439
- was loaded successful, and <span class="type">FALSE</span> if an error occurred. In the latter case,
440
- the loader will be closed, and will not accept further writes. If FALSE is
441
- returned, <em class="parameter"><code>error</code></em> will be set to an error from the <a class="link" href="RsvgHandle.html#RsvgError"><span class="type">RsvgError</span></a> domain. Errors
442
- from <span class="type">GIOErrorEnum</span> are also possible.
443
- </p>
444
- <div class="variablelist"><table border="0" class="variablelist">
595
+ <a name="rsvg-handle-write"></a><h3>rsvg_handle_write ()</h3>
596
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/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.win32/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.win32/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.win32/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.win32/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.win32/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.win32/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.win32/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">
445
611
  <colgroup>
446
- <col align="left" valign="top">
447
- <col>
612
+ <col width="150px" class="parameters_name">
613
+ <col class="parameters_description">
614
+ <col width="200px" class="parameters_annotations">
448
615
  </colgroup>
449
616
  <tbody>
450
617
  <tr>
451
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
452
- <td>an <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
453
- </td>
454
- </tr>
455
- <tr>
456
- <td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
457
- <td>pointer to svg data. <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> guint8]</span>
458
- </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>
459
621
  </tr>
460
622
  <tr>
461
- <td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
462
- <td>length of the <em class="parameter"><code>buf</code></em> buffer in bytes</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> guint8]</span></td>
463
626
  </tr>
464
627
  <tr>
465
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
466
- <td>a location to store a <span class="type">GError</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
467
- </td>
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>
468
632
  </tr>
469
633
  <tr>
470
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
471
- <td>
472
- <code class="literal">TRUE</code> on success, or <code class="literal">FALSE</code> 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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
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>
473
637
  </tr>
474
638
  </tbody>
475
639
  </table></div>
476
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.win32/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.win32/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>
477
647
  <hr>
478
648
  <div class="refsect2">
479
- <a name="rsvg-handle-close"></a><h3>rsvg_handle_close ()</h3>
480
- <pre class="programlisting"><span class="returnvalue">gboolean</span> rsvg_handle_close (<em class="parameter"><code><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a> *handle</code></em>,
481
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
482
- <p>
483
- Closes <em class="parameter"><code>handle</code></em>, to indicate that loading the image is complete. This will
484
- return <code class="literal">TRUE</code> if the loader closed successfully. Note that <em class="parameter"><code>handle</code></em> isn't
485
- freed until <em class="parameter"><code>g_object_unref</code></em> is called.
486
- </p>
487
- <div class="variablelist"><table border="0" class="variablelist">
649
+ <a name="rsvg-handle-close"></a><h3>rsvg_handle_close ()</h3>
650
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/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.win32/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.win32/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">
488
662
  <colgroup>
489
- <col align="left" valign="top">
490
- <col>
663
+ <col width="150px" class="parameters_name">
664
+ <col class="parameters_description">
665
+ <col width="200px" class="parameters_annotations">
491
666
  </colgroup>
492
667
  <tbody>
493
668
  <tr>
494
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
495
- <td>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
496
- </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>
497
672
  </tr>
498
673
  <tr>
499
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
500
- <td>a location to store a <span class="type">GError</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
501
- </td>
502
- </tr>
503
- <tr>
504
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
505
- <td>
506
- <code class="literal">TRUE</code> on success, or <code class="literal">FALSE</code> on error</td>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
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>
507
677
  </tr>
508
678
  </tbody>
509
679
  </table></div>
510
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.win32/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.win32/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>
511
687
  <hr>
512
688
  <div class="refsect2">
513
- <a name="rsvg-handle-get-base-uri"></a><h3>rsvg_handle_get_base_uri ()</h3>
514
- <pre class="programlisting">const <span class="returnvalue">char</span> * 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>
515
- <p>
516
- Gets the base uri for this <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>.
517
- </p>
518
- <div class="variablelist"><table border="0" class="variablelist">
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">
519
696
  <colgroup>
520
- <col align="left" valign="top">
521
- <col>
697
+ <col width="150px" class="parameters_name">
698
+ <col class="parameters_description">
699
+ <col width="200px" class="parameters_annotations">
522
700
  </colgroup>
523
- <tbody>
524
- <tr>
525
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
526
- <td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
527
- </td>
528
- </tr>
529
- <tr>
530
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
531
- <td>the base uri, possibly null</td>
532
- </tr>
533
- </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>
534
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>
535
713
  <p class="since">Since 2.8</p>
536
714
  </div>
537
715
  <hr>
538
716
  <div class="refsect2">
539
- <a name="rsvg-handle-set-base-uri"></a><h3>rsvg_handle_set_base_uri ()</h3>
540
- <pre class="programlisting"><span class="returnvalue">void</span> 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>,
541
- <em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>);</pre>
542
- <p>
543
- 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>
544
- has been called.
545
- </p>
546
- <div class="variablelist"><table border="0" class="variablelist">
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">
547
726
  <colgroup>
548
- <col align="left" valign="top">
549
- <col>
727
+ <col width="150px" class="parameters_name">
728
+ <col class="parameters_description">
729
+ <col width="200px" class="parameters_annotations">
550
730
  </colgroup>
551
731
  <tbody>
552
732
  <tr>
553
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
554
- <td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
555
- </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>
556
736
  </tr>
557
737
  <tr>
558
- <td><p><span class="term"><em class="parameter"><code>base_uri</code></em> :</span></p></td>
559
- <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>
560
741
  </tr>
561
742
  </tbody>
562
743
  </table></div>
744
+ </div>
563
745
  <p class="since">Since 2.9</p>
564
746
  </div>
565
747
  <hr>
566
748
  <div class="refsect2">
567
- <a name="rsvg-handle-get-dimensions"></a><h3>rsvg_handle_get_dimensions ()</h3>
568
- <pre class="programlisting"><span class="returnvalue">void</span> 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>,
569
- <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>
570
- <p>
571
- Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.
572
- </p>
573
- <div class="variablelist"><table border="0" class="variablelist">
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">
574
757
  <colgroup>
575
- <col align="left" valign="top">
576
- <col>
758
+ <col width="150px" class="parameters_name">
759
+ <col class="parameters_description">
760
+ <col width="200px" class="parameters_annotations">
577
761
  </colgroup>
578
762
  <tbody>
579
763
  <tr>
580
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
581
- <td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
582
- </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>
583
767
  </tr>
584
768
  <tr>
585
- <td><p><span class="term"><em class="parameter"><code>dimension_data</code></em> :</span></p></td>
586
- <td>A place to store the SVG's size. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
587
- </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>
588
772
  </tr>
589
773
  </tbody>
590
774
  </table></div>
775
+ </div>
591
776
  <p class="since">Since 2.14</p>
592
777
  </div>
593
778
  <hr>
594
779
  <div class="refsect2">
595
- <a name="rsvg-handle-get-dimensions-sub"></a><h3>rsvg_handle_get_dimensions_sub ()</h3>
596
- <pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
597
- <em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgDimensionData" title="struct RsvgDimensionData"><span class="type">RsvgDimensionData</span></a> *dimension_data</code></em>,
598
- <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
599
- <p>
600
- 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.
601
- </p>
602
- <div class="variablelist"><table border="0" class="variablelist">
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.win32/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">
603
789
  <colgroup>
604
- <col align="left" valign="top">
605
- <col>
790
+ <col width="150px" class="parameters_name">
791
+ <col class="parameters_description">
792
+ <col width="200px" class="parameters_annotations">
606
793
  </colgroup>
607
794
  <tbody>
608
795
  <tr>
609
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
610
- <td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
611
- </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>
612
799
  </tr>
613
800
  <tr>
614
- <td><p><span class="term"><em class="parameter"><code>dimension_data</code></em> :</span></p></td>
615
- <td>A place to store the SVG's size. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
616
- </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>
617
804
  </tr>
618
805
  <tr>
619
- <td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
620
- <td>An element's id within the SVG, or NULL to get the dimension of the whole SVG.
621
- For example, if you have a layer called "layer1" for that you want to get the dimension,
622
- pass "<span class="type">layer1</span>" as the id.</td>
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to get
808
+ the dimension of the whole SVG. For example, if you have a layer
809
+ called "layer1" for that you want to get the dimension, pass
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>
623
812
  </tr>
624
813
  </tbody>
625
814
  </table></div>
815
+ </div>
626
816
  <p class="since">Since 2.22</p>
627
817
  </div>
628
818
  <hr>
629
819
  <div class="refsect2">
630
- <a name="rsvg-handle-get-position-sub"></a><h3>rsvg_handle_get_position_sub ()</h3>
631
- <pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
632
- <em class="parameter"><code><a class="link" href="RsvgHandle.html#RsvgPositionData" title="struct RsvgPositionData"><span class="type">RsvgPositionData</span></a> *position_data</code></em>,
633
- <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
634
- <p>
635
- Get the position of a subelement of the SVG file. Do not call from within
636
- the size_func callback, because an infinite loop will occur.
637
- </p>
638
- <div class="variablelist"><table border="0" class="variablelist">
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.win32/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">
639
830
  <colgroup>
640
- <col align="left" valign="top">
641
- <col>
831
+ <col width="150px" class="parameters_name">
832
+ <col class="parameters_description">
833
+ <col width="200px" class="parameters_annotations">
642
834
  </colgroup>
643
835
  <tbody>
644
836
  <tr>
645
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
646
- <td>A <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
647
- </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>
648
840
  </tr>
649
841
  <tr>
650
- <td><p><span class="term"><em class="parameter"><code>position_data</code></em> :</span></p></td>
651
- <td>A place to store the SVG fragment's position. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
652
- </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>
653
845
  </tr>
654
846
  <tr>
655
- <td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
656
- <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.
657
849
  For example, if you have a layer called "layer1" for that you want to get
658
- 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>
659
852
  </tr>
660
853
  </tbody>
661
854
  </table></div>
855
+ </div>
662
856
  <p class="since">Since 2.22</p>
663
857
  </div>
664
858
  <hr>
665
859
  <div class="refsect2">
666
- <a name="rsvg-handle-has-sub"></a><h3>rsvg_handle_has_sub ()</h3>
667
- <pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
668
- <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
669
- <p>
670
- Checks whether the element <em class="parameter"><code>id</code></em> exists in the SVG document.
671
- </p>
672
- <div class="variablelist"><table border="0" class="variablelist">
860
+ <a name="rsvg-handle-has-sub"></a><h3>rsvg_handle_has_sub ()</h3>
861
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/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">
673
869
  <colgroup>
674
- <col align="left" valign="top">
675
- <col>
870
+ <col width="150px" class="parameters_name">
871
+ <col class="parameters_description">
872
+ <col width="200px" class="parameters_annotations">
676
873
  </colgroup>
677
874
  <tbody>
678
875
  <tr>
679
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
680
- <td>a <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
681
- </td>
682
- </tr>
683
- <tr>
684
- <td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
685
- <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>
686
879
  </tr>
687
880
  <tr>
688
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
689
- <td>
690
- <code class="literal">TRUE</code> if <em class="parameter"><code>id</code></em> exists in the SVG document</td>
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>
691
884
  </tr>
692
885
  </tbody>
693
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.win32/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>
694
894
  <p class="since">Since 2.22</p>
695
895
  </div>
696
896
  <hr>
697
897
  <div class="refsect2">
698
- <a name="rsvg-handle-get-title"></a><h3>rsvg_handle_get_title ()</h3>
699
- <pre class="programlisting">const <span class="returnvalue">char</span> * 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>
700
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
701
- <h3 class="title">Warning</h3>
702
- <p><code class="literal">rsvg_handle_get_title</code> is deprecated and should not be used in newly-written code. 2.36</p>
703
- </div>
704
- <p>
705
- Returns the SVG's title in UTF-8 or <code class="literal">NULL</code>. You must make a copy
706
- of this title if you wish to use it after <span class="type">handle</span> has been freed.
707
- </p>
708
- <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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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">
709
908
  <colgroup>
710
- <col align="left" valign="top">
711
- <col>
909
+ <col width="150px" class="parameters_name">
910
+ <col class="parameters_description">
911
+ <col width="200px" class="parameters_annotations">
712
912
  </colgroup>
713
- <tbody>
714
- <tr>
715
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
716
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
717
- </td>
718
- </tr>
719
- <tr>
720
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
721
- <td>The SVG's title</td>
722
- </tr>
723
- </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>
724
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>
725
925
  <p class="since">Since 2.4</p>
726
926
  </div>
727
927
  <hr>
728
928
  <div class="refsect2">
729
- <a name="rsvg-handle-get-desc"></a><h3>rsvg_handle_get_desc ()</h3>
730
- <pre class="programlisting">const <span class="returnvalue">char</span> * 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>
731
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
732
- <h3 class="title">Warning</h3>
733
- <p><code class="literal">rsvg_handle_get_desc</code> is deprecated and should not be used in newly-written code. 2.36</p>
734
- </div>
735
- <p>
736
- Returns the SVG's description in UTF-8 or <code class="literal">NULL</code>. You must make a copy
737
- of this description if you wish to use it after <span class="type">handle</span> has been freed.
738
- </p>
739
- <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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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">
740
939
  <colgroup>
741
- <col align="left" valign="top">
742
- <col>
940
+ <col width="150px" class="parameters_name">
941
+ <col class="parameters_description">
942
+ <col width="200px" class="parameters_annotations">
743
943
  </colgroup>
744
- <tbody>
745
- <tr>
746
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
747
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
748
- </td>
749
- </tr>
750
- <tr>
751
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
752
- <td>The SVG's description</td>
753
- </tr>
754
- </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>
755
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>
756
956
  <p class="since">Since 2.4</p>
757
957
  </div>
758
958
  <hr>
759
959
  <div class="refsect2">
760
- <a name="rsvg-handle-get-metadata"></a><h3>rsvg_handle_get_metadata ()</h3>
761
- <pre class="programlisting">const <span class="returnvalue">char</span> * 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>
762
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
763
- <h3 class="title">Warning</h3>
764
- <p><code class="literal">rsvg_handle_get_metadata</code> is deprecated and should not be used in newly-written code. 2.36</p>
765
- </div>
766
- <p>
767
- Returns the SVG's metadata in UTF-8 or <code class="literal">NULL</code>. You must make a copy
768
- of this metadata if you wish to use it after <span class="type">handle</span> has been freed.
769
- </p>
770
- <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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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">
771
970
  <colgroup>
772
- <col align="left" valign="top">
773
- <col>
971
+ <col width="150px" class="parameters_name">
972
+ <col class="parameters_description">
973
+ <col width="200px" class="parameters_annotations">
774
974
  </colgroup>
775
- <tbody>
776
- <tr>
777
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
778
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
779
- </td>
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 title</td>
784
- </tr>
785
- </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>
786
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>
787
987
  <p class="since">Since 2.9</p>
788
988
  </div>
789
989
  <hr>
790
990
  <div class="refsect2">
791
- <a name="rsvg-handle-new-from-data"></a><h3>rsvg_handle_new_from_data ()</h3>
792
- <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * rsvg_handle_new_from_data (<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
793
- <em class="parameter"><code><span class="type">gsize</span> data_len</code></em>,
794
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
795
- <p>
796
- Loads the SVG specified by <span class="type">data</span>.
797
- </p>
798
- <div class="variablelist"><table border="0" class="variablelist">
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.win32/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.win32/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.win32/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">
799
1001
  <colgroup>
800
- <col align="left" valign="top">
801
- <col>
1002
+ <col width="150px" class="parameters_name">
1003
+ <col class="parameters_description">
1004
+ <col width="200px" class="parameters_annotations">
802
1005
  </colgroup>
803
1006
  <tbody>
804
1007
  <tr>
805
- <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
806
- <td>The SVG data. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_len]</span>
807
- </td>
808
- </tr>
809
- <tr>
810
- <td><p><span class="term"><em class="parameter"><code>data_len</code></em> :</span></p></td>
811
- <td>The length of <span class="type">data</span>, in bytes</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>
812
1011
  </tr>
813
1012
  <tr>
814
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
815
- <td>return location for errors</td>
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>
816
1017
  </tr>
817
1018
  <tr>
818
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
819
- <td>A RsvgHandle or <code class="literal">NULL</code> 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>
820
1022
  </tr>
821
1023
  </tbody>
822
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
1029
+ <p></p>
1030
+ </div>
823
1031
  <p class="since">Since 2.14</p>
824
1032
  </div>
825
1033
  <hr>
826
1034
  <div class="refsect2">
827
- <a name="rsvg-handle-new-from-file"></a><h3>rsvg_handle_new_from_file ()</h3>
828
- <pre class="programlisting"><a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="returnvalue">RsvgHandle</span></a> * rsvg_handle_new_from_file (<em class="parameter"><code>const <span class="type">gchar</span> *file_name</code></em>,
829
- <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
830
- <p>
831
- Loads the SVG specified by <span class="type">file_name</span>.
832
- </p>
833
- <div class="variablelist"><table border="0" class="variablelist">
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.win32/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.win32/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">
834
1044
  <colgroup>
835
- <col align="left" valign="top">
836
- <col>
1045
+ <col width="150px" class="parameters_name">
1046
+ <col class="parameters_description">
1047
+ <col width="200px" class="parameters_annotations">
837
1048
  </colgroup>
838
1049
  <tbody>
839
1050
  <tr>
840
- <td><p><span class="term"><em class="parameter"><code>file_name</code></em> :</span></p></td>
841
- <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>
842
1054
  </tr>
843
1055
  <tr>
844
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
845
- <td>return location for errors</td>
846
- </tr>
847
- <tr>
848
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
849
- <td>A RsvgHandle or <code class="literal">NULL</code> 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>
850
1059
  </tr>
851
1060
  </tbody>
852
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurs.</p>
1066
+ <p></p>
1067
+ </div>
853
1068
  <p class="since">Since 2.14</p>
854
1069
  </div>
855
1070
  <hr>
856
1071
  <div class="refsect2">
857
- <a name="rsvg-error-get-type"></a><h3>rsvg_error_get_type ()</h3>
858
- <pre class="programlisting"><span class="returnvalue">GType</span> rsvg_error_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1072
+ <a name="rsvg-error-get-type"></a><h3>rsvg_error_get_type ()</h3>
1073
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/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>
859
1075
  </div>
860
1076
  <hr>
861
1077
  <div class="refsect2">
862
1078
  <a name="RSVG-TYPE-ERROR:CAPS"></a><h3>RSVG_TYPE_ERROR</h3>
863
- <pre class="programlisting">#define RSVG_TYPE_ERROR (rsvg_error_get_type())
864
- </pre>
1079
+ <pre class="programlisting">#define RSVG_TYPE_ERROR</pre>
865
1080
  </div>
866
1081
  <hr>
867
1082
  <div class="refsect2">
868
- <a name="rsvg-init"></a><h3>rsvg_init ()</h3>
869
- <pre class="programlisting"><span class="returnvalue">void</span> rsvg_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
870
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
871
- <h3 class="title">Warning</h3>
872
- <p><code class="literal">rsvg_init</code> has been deprecated since version 2.36 and should not be used in newly-written code. Use <code class="function">g_type_init()</code></p>
873
- </div>
874
- <p>
875
- Initializes librsvg
876
- </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.win32/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>
877
1091
  <p class="since">Since 2.9</p>
878
1092
  </div>
879
1093
  <hr>
880
1094
  <div class="refsect2">
881
- <a name="rsvg-term"></a><h3>rsvg_term ()</h3>
882
- <pre class="programlisting"><span class="returnvalue">void</span> rsvg_term (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
883
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
884
- <h3 class="title">Warning</h3>
885
- <p><code class="literal">rsvg_term</code> is deprecated and should not be used in newly-written code. 2.36</p>
886
- </div>
887
- <p>
888
- This function does nothing.
889
- </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>
890
1100
  <p class="since">Since 2.9</p>
891
1101
  </div>
892
1102
  <hr>
893
1103
  <div class="refsect2">
894
- <a name="rsvg-handle-free"></a><h3>rsvg_handle_free ()</h3>
895
- <pre class="programlisting"><span class="returnvalue">void</span> 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>
896
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
897
- <h3 class="title">Warning</h3>
898
- <p><code class="literal">rsvg_handle_free</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_unref()</code> instead.</p>
899
- </div>
900
- <p>
901
- Frees <span class="type">handle</span>.
902
- </p>
903
- <div class="variablelist"><table border="0" class="variablelist">
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.win32/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">
904
1116
  <colgroup>
905
- <col align="left" valign="top">
906
- <col>
1117
+ <col width="150px" class="parameters_name">
1118
+ <col class="parameters_description">
1119
+ <col width="200px" class="parameters_annotations">
907
1120
  </colgroup>
908
1121
  <tbody><tr>
909
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
910
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
911
- </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>
912
1125
  </tr></tbody>
913
1126
  </table></div>
914
1127
  </div>
1128
+ </div>
915
1129
  <hr>
916
1130
  <div class="refsect2">
917
- <a name="rsvg-handle-set-size-callback"></a><h3>rsvg_handle_set_size_callback ()</h3>
918
- <pre class="programlisting"><span class="returnvalue">void</span> 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>,
919
- <em class="parameter"><code><span class="type">RsvgSizeFunc</span> size_func</code></em>,
920
- <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
921
- <em class="parameter"><code><span class="type">GDestroyNotify</span> user_data_destroy</code></em>);</pre>
922
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
923
- <h3 class="title">Warning</h3>
924
- <p><code class="literal">rsvg_handle_set_size_callback</code> is deprecated and should not be used in newly-written code. 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>
925
- </div>
926
- <p>
927
- Sets the sizing function for the <em class="parameter"><code>handle</code></em>. This function is called right
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.win32/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.win32/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
928
1143
  after the size of the image has been loaded. The size of the image is passed
929
1144
  in to the function, which may then modify these values to set the real size
930
1145
  of the generated pixbuf. If the image has no associated size, then the size
931
- arguments are set to -1.
932
- </p>
933
- <div class="variablelist"><table border="0" class="variablelist">
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">
934
1150
  <colgroup>
935
- <col align="left" valign="top">
936
- <col>
1151
+ <col width="150px" class="parameters_name">
1152
+ <col class="parameters_description">
1153
+ <col width="200px" class="parameters_annotations">
937
1154
  </colgroup>
938
1155
  <tbody>
939
1156
  <tr>
940
- <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
941
- <td>An <a class="link" href="RsvgHandle.html" title="RsvgHandle"><span class="type">RsvgHandle</span></a>
942
- </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>
943
1160
  </tr>
944
1161
  <tr>
945
- <td><p><span class="term"><em class="parameter"><code>size_func</code></em> :</span></p></td>
946
- <td>A sizing function, or <code class="literal">NULL</code>
947
- </td>
1162
+ <td class="parameter_name"><p>size_func</p></td>
1163
+ <td class="parameter_description"><p> A sizing function, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
948
1165
  </tr>
949
1166
  <tr>
950
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
951
- <td>User data to pass to <em class="parameter"><code>size_func</code></em>, or <code class="literal">NULL</code>
952
- </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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1170
+ <td class="parameter_annotations"> </td>
953
1171
  </tr>
954
1172
  <tr>
955
- <td><p><span class="term"><em class="parameter"><code>user_data_destroy</code></em> :</span></p></td>
956
- <td>Destroy function for <em class="parameter"><code>user_data</code></em>, or <code class="literal">NULL</code>
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
957
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.win32/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.win32/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.win32/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>
958
1278
  </tr>
959
1279
  </tbody>
960
1280
  </table></div>
961
1281
  </div>
962
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>
1310
+ </tr>
1311
+ </tbody>
1312
+ </table></div>
1313
+ </div>
1314
+ </div>
1315
+ </div>
963
1316
  <div class="refsect1">
964
1317
  <a name="RsvgHandle.property-details"></a><h2>Property Details</h2>
965
1318
  <div class="refsect2">
966
- <a name="RsvgHandle--base-uri"></a><h3>The <code class="literal">"base-uri"</code> property</h3>
967
- <pre class="programlisting"> "base-uri" <span class="type">gchar</span>* : Read / Write / Construct</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
968
1321
  <p>Base URI.</p>
1322
+ <p>Flags: Read / Write / Construct</p>
969
1323
  <p>Default value: NULL</p>
970
1324
  </div>
971
1325
  <hr>
972
1326
  <div class="refsect2">
973
- <a name="RsvgHandle--desc"></a><h3>The <code class="literal">"desc"</code> property</h3>
974
- <pre class="programlisting"> "desc" <span class="type">gchar</span>* : Read</pre>
975
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
976
- <h3 class="title">Warning</h3>
977
- <p><code class="literal">RsvgHandle:desc</code> is deprecated and should not be used in newly-written code. 2.36</p>
978
- </div>
979
- <p>
980
- SVG's description
981
- </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.win32/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>
982
1332
  <p>Default value: NULL</p>
983
1333
  </div>
984
1334
  <hr>
985
1335
  <div class="refsect2">
986
- <a name="RsvgHandle--dpi-x"></a><h3>The <code class="literal">"dpi-x"</code> property</h3>
987
- <pre class="programlisting"> "dpi-x" <span class="type">gdouble</span> : Read / Write / Construct</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
988
1338
  <p>Horizontal resolution.</p>
1339
+ <p>Flags: Read / Write / Construct</p>
989
1340
  <p>Allowed values: &gt;= 0</p>
990
1341
  <p>Default value: 90</p>
991
1342
  </div>
992
1343
  <hr>
993
1344
  <div class="refsect2">
994
- <a name="RsvgHandle--dpi-y"></a><h3>The <code class="literal">"dpi-y"</code> property</h3>
995
- <pre class="programlisting"> "dpi-y" <span class="type">gdouble</span> : Read / Write / Construct</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
996
1347
  <p>Vertical resolution.</p>
1348
+ <p>Flags: Read / Write / Construct</p>
997
1349
  <p>Allowed values: &gt;= 0</p>
998
1350
  <p>Default value: 90</p>
999
1351
  </div>
1000
1352
  <hr>
1001
1353
  <div class="refsect2">
1002
- <a name="RsvgHandle--em"></a><h3>The <code class="literal">"em"</code> property</h3>
1003
- <pre class="programlisting"> "em" <span class="type">gdouble</span> : Read</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
1004
1356
  <p>em.</p>
1357
+ <p>Flags: Read</p>
1005
1358
  <p>Allowed values: &gt;= 0</p>
1006
1359
  <p>Default value: 0</p>
1007
1360
  </div>
1008
1361
  <hr>
1009
1362
  <div class="refsect2">
1010
- <a name="RsvgHandle--ex"></a><h3>The <code class="literal">"ex"</code> property</h3>
1011
- <pre class="programlisting"> "ex" <span class="type">gdouble</span> : Read</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
1012
1365
  <p>ex.</p>
1366
+ <p>Flags: Read</p>
1013
1367
  <p>Allowed values: &gt;= 0</p>
1014
1368
  <p>Default value: 0</p>
1015
1369
  </div>
1016
1370
  <hr>
1017
1371
  <div class="refsect2">
1018
- <a name="RsvgHandle--flags"></a><h3>The <code class="literal">"flags"</code> property</h3>
1019
- <pre class="programlisting"> "flags" <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a> : Read / Write / Construct Only</pre>
1020
- <p>
1021
- Flags from <a class="link" href="rsvg-Using-RSVG-with-GIO.html#RsvgHandleFlags"><span class="type">RsvgHandleFlags</span></a>.
1022
- </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>
1023
1376
  <p class="since">Since 2.36</p>
1024
1377
  </div>
1025
1378
  <hr>
1026
1379
  <div class="refsect2">
1027
- <a name="RsvgHandle--height"></a><h3>The <code class="literal">"height"</code> property</h3>
1028
- <pre class="programlisting"> "height" <span class="type">gint</span> : Read</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
1029
1382
  <p>Image height.</p>
1383
+ <p>Flags: Read</p>
1030
1384
  <p>Allowed values: &gt;= 0</p>
1031
1385
  <p>Default value: 0</p>
1032
1386
  </div>
1033
1387
  <hr>
1034
1388
  <div class="refsect2">
1035
- <a name="RsvgHandle--metadata"></a><h3>The <code class="literal">"metadata"</code> property</h3>
1036
- <pre class="programlisting"> "metadata" <span class="type">gchar</span>* : Read</pre>
1037
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1038
- <h3 class="title">Warning</h3>
1039
- <p><code class="literal">RsvgHandle:metadata</code> is deprecated and should not be used in newly-written code. 2.36</p>
1040
- </div>
1041
- <p>
1042
- SVG's description
1043
- </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.win32/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>
1044
1394
  <p>Default value: NULL</p>
1045
1395
  </div>
1046
1396
  <hr>
1047
1397
  <div class="refsect2">
1048
- <a name="RsvgHandle--title"></a><h3>The <code class="literal">"title"</code> property</h3>
1049
- <pre class="programlisting"> "title" <span class="type">gchar</span>* : Read</pre>
1050
- <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1051
- <h3 class="title">Warning</h3>
1052
- <p><code class="literal">RsvgHandle:title</code> is deprecated and should not be used in newly-written code. 2.36</p>
1053
- </div>
1054
- <p>
1055
- SVG's description
1056
- </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.win32/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>
1057
1403
  <p>Default value: NULL</p>
1058
1404
  </div>
1059
1405
  <hr>
1060
1406
  <div class="refsect2">
1061
- <a name="RsvgHandle--width"></a><h3>The <code class="literal">"width"</code> property</h3>
1062
- <pre class="programlisting"> "width" <span class="type">gint</span> : Read</pre>
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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
1063
1409
  <p>Image width.</p>
1410
+ <p>Flags: Read</p>
1064
1411
  <p>Allowed values: &gt;= 0</p>
1065
1412
  <p>Default value: 0</p>
1066
1413
  </div>
@@ -1068,6 +1415,6 @@ SVG's description
1068
1415
  </div>
1069
1416
  <div class="footer">
1070
1417
  <hr>
1071
- Generated by GTK-Doc V1.19</div>
1418
+ Generated by GTK-Doc V1.21</div>
1072
1419
  </body>
1073
1420
  </html>