/usr/share/gir-1.0/Rsvg-2.0.gir is in librsvg2-dev 2.36.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="GdkPixbuf" version="2.0"/>
<include name="Gio" version="2.0"/>
<include name="cairo" version="1.0"/>
<package name="librsvg-2.0"/>
<namespace name="Rsvg"
version="2.0"
shared-library="librsvg-2.so.2"
c:identifier-prefixes="Rsvg"
c:symbol-prefixes="rsvg">
<record name="DimensionData" c:type="RsvgDimensionData">
<field name="width" writable="1">
<type name="gint" c:type="int"/>
</field>
<field name="height" writable="1">
<type name="gint" c:type="int"/>
</field>
<field name="em" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="ex" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
</record>
<enumeration name="Error"
glib:type-name="RsvgError"
glib:get-type="rsvg_error_get_type"
c:type="RsvgError"
glib:error-domain="rsvg-error-quark">
<member name="failed"
value="0"
c:identifier="RSVG_ERROR_FAILED"
glib:nick="failed"/>
<function name="quark" c:identifier="rsvg_error_quark">
<doc xml:whitespace="preserve">The error domain for RSVG</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The error domain</doc>
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<class name="Handle"
c:symbol-prefix="handle"
c:type="RsvgHandle"
parent="GObject.Object"
glib:type-name="RsvgHandle"
glib:get-type="rsvg_handle_get_type"
glib:type-struct="HandleClass">
<constructor name="new" c:identifier="rsvg_handle_new">
<doc xml:whitespace="preserve">Returns a new rsvg handle. Must be freed with @g_object_unref. This
handle can be used for dynamically loading an image. You need to feed it
data using @rsvg_handle_write, then call @rsvg_handle_close when done.
Afterwords, you can render it using Cairo or get a GdkPixbuf from it. When
finished, free with g_object_unref(). No more than one image can be loaded
with one handle.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A new #RsvgHandle</doc>
<type name="Handle" c:type="RsvgHandle*"/>
</return-value>
</constructor>
<constructor name="new_from_data"
c:identifier="rsvg_handle_new_from_data"
version="2.14"
throws="1">
<doc xml:whitespace="preserve">Loads the SVG specified by #data.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A RsvgHandle or %NULL if an error occurs.</doc>
<type name="Handle" c:type="RsvgHandle*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:whitespace="preserve">The SVG data</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="data_len" transfer-ownership="none">
<doc xml:whitespace="preserve">The length of #data, in bytes</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_file"
c:identifier="rsvg_handle_new_from_file"
version="2.14"
throws="1">
<doc xml:whitespace="preserve">Loads the SVG specified by #file_name.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A RsvgHandle or %NULL if an error occurs.</doc>
<type name="Handle" c:type="RsvgHandle*"/>
</return-value>
<parameters>
<parameter name="file_name" transfer-ownership="none">
<doc xml:whitespace="preserve">The file name to load. If built with gnome-vfs, can be a URI.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_gfile_sync"
c:identifier="rsvg_handle_new_from_gfile_sync"
version="2.32"
throws="1">
<doc xml:whitespace="preserve">Creates a new #RsvgHandle for @file.
If @cancellable is not %NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the
operation was cancelled, the error G_IO_ERROR_CANCELLED will be
returned.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #RsvgHandle on success, or %NULL with @error filled in</doc>
<type name="Handle" c:type="RsvgHandle*"/>
</return-value>
<parameters>
<parameter name="file" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GFile</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:whitespace="preserve">flags from #RsvgHandleFlags</doc>
<type name="HandleFlags" c:type="RsvgHandleFlags"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
allow-none="1">
<doc xml:whitespace="preserve">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_stream_sync"
c:identifier="rsvg_handle_new_from_stream_sync"
version="2.32"
throws="1">
<doc xml:whitespace="preserve">Creates a new #RsvgHandle for @stream.
If @cancellable is not %NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the
operation was cancelled, the error G_IO_ERROR_CANCELLED will be
returned.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #RsvgHandle on success, or %NULL with @error filled in</doc>
<type name="Handle" c:type="RsvgHandle*"/>
</return-value>
<parameters>
<parameter name="input_stream" transfer-ownership="none">
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="base_file" transfer-ownership="none" allow-none="1">
<doc xml:whitespace="preserve">a #GFile, or %NULL</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:whitespace="preserve">flags from #RsvgHandleFlags</doc>
<type name="HandleFlags" c:type="RsvgHandleFlags"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
allow-none="1">
<doc xml:whitespace="preserve">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_flags"
c:identifier="rsvg_handle_new_with_flags"
version="2.36">
<doc xml:whitespace="preserve">Creates a new #RsvgHandle with flags @flags.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a new #RsvgHandle</doc>
<type name="Handle" c:type="RsvgHandle*"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:whitespace="preserve">flags from #RsvgHandleFlags</doc>
<type name="HandleFlags" c:type="RsvgHandleFlags"/>
</parameter>
</parameters>
</constructor>
<method name="close" c:identifier="rsvg_handle_close" throws="1">
<doc xml:whitespace="preserve">Closes @handle, to indicate that loading the image is complete. This will
return %TRUE if the loader closed successfully. Note that @handle isn't
freed until @g_object_unref is called.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE on success, or %FALSE on error</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="get_base_uri"
c:identifier="rsvg_handle_get_base_uri"
version="2.8">
<doc xml:whitespace="preserve">Gets the base uri for this #RsvgHandle.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the base uri, possibly null</doc>
<type name="utf8" c:type="char*"/>
</return-value>
</method>
<method name="get_dimensions"
c:identifier="rsvg_handle_get_dimensions"
version="2.14">
<doc xml:whitespace="preserve">Get the SVG's size. Do not call from within the size_func callback, because an infinite loop will occur.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="dimension_data"
direction="out"
caller-allocates="1"
transfer-ownership="none">
<doc xml:whitespace="preserve">A place to store the SVG's size</doc>
<type name="DimensionData" c:type="RsvgDimensionData*"/>
</parameter>
</parameters>
</method>
<method name="get_dimensions_sub"
c:identifier="rsvg_handle_get_dimensions_sub"
version="2.22">
<doc xml:whitespace="preserve">Get the size of a subelement of the SVG file. Do not call from within the size_func callback, because an infinite loop will occur.</doc>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dimension_data" transfer-ownership="none">
<doc xml:whitespace="preserve">A place to store the SVG's size</doc>
<type name="DimensionData" c:type="RsvgDimensionData*"/>
</parameter>
<parameter name="id" transfer-ownership="none">
<doc xml:whitespace="preserve">An element's id within the SVG, or NULL to get the dimension of the whole SVG. For example, if you have a layer called "layer1" for that you want to get the dimension, pass "#layer1" as the id.</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
<method name="get_pixbuf" c:identifier="rsvg_handle_get_pixbuf">
<doc xml:whitespace="preserve">Returns the pixbuf loaded by #handle. The pixbuf returned will be reffed, so
the caller of this function must assume that ref. If insufficient data has
been read to create the pixbuf, or an error occurred in loading, then %NULL
will be returned. Note that the pixbuf may not be complete until
@rsvg_handle_close has been called.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the pixbuf loaded by #handle, or %NULL.</doc>
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
</return-value>
</method>
<method name="get_pixbuf_sub"
c:identifier="rsvg_handle_get_pixbuf_sub"
version="2.14"
introspectable="0">
<doc xml:whitespace="preserve">Returns the pixbuf loaded by #handle. The pixbuf returned will be reffed, so
the caller of this function must assume that ref. If insufficient data has
been read to create the pixbuf, or an error occurred in loading, then %NULL
will be returned. Note that the pixbuf may not be complete until
@rsvg_handle_close has been called.</doc>
<return-value>
<doc xml:whitespace="preserve">the pixbuf loaded by #handle, or %NULL.</doc>
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
<doc xml:whitespace="preserve">The id of an element inside the SVG, or %NULL to render the whole SVG. For example, if you have a layer called "layer1" that you wish to render, pass "##layer1" as the id.</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
<method name="get_position_sub"
c:identifier="rsvg_handle_get_position_sub"
version="2.22">
<doc xml:whitespace="preserve">Get the position of a subelement of the SVG file. Do not call from within
the size_func callback, because an infinite loop will occur.</doc>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="position_data" transfer-ownership="none">
<doc xml:whitespace="preserve">A place to store the SVG fragment's position.</doc>
<type name="PositionData" c:type="RsvgPositionData*"/>
</parameter>
<parameter name="id" transfer-ownership="none">
<doc xml:whitespace="preserve">An element's id within the SVG. For example, if you have a layer called "layer1" for that you want to get the position, pass "#layer1" as the id.</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
<method name="has_sub" c:identifier="rsvg_handle_has_sub" version="2.22">
<doc xml:whitespace="preserve">Checks whether the element @id exists in the SVG document.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if @id exists in the SVG document</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
<doc xml:whitespace="preserve">an element's id within the SVG</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
<method name="read_stream_sync"
c:identifier="rsvg_handle_read_stream_sync"
version="2.32"
throws="1">
<doc xml:whitespace="preserve">Reads @stream and writes the data from it to @handle.
If @cancellable is not %NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the
operation was cancelled, the error G_IO_ERROR_CANCELLED will be
returned.
with @error filled in</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if reading @stream succeeded, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GInputStream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
allow-none="1">
<doc xml:whitespace="preserve">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="render_cairo"
c:identifier="rsvg_handle_render_cairo"
version="2.14">
<doc xml:whitespace="preserve">Draws a SVG to a Cairo surface</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if drawing succeeded.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="cr" transfer-ownership="none">
<doc xml:whitespace="preserve">A Cairo renderer</doc>
<type name="cairo.Context" c:type="cairo_t*"/>
</parameter>
</parameters>
</method>
<method name="render_cairo_sub"
c:identifier="rsvg_handle_render_cairo_sub"
version="2.14">
<doc xml:whitespace="preserve">Draws a subset of a SVG to a Cairo surface</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if drawing succeeded.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="cr" transfer-ownership="none">
<doc xml:whitespace="preserve">A Cairo renderer</doc>
<type name="cairo.Context" c:type="cairo_t*"/>
</parameter>
<parameter name="id" transfer-ownership="none">
<doc xml:whitespace="preserve">An element's id within the SVG, or %NULL to render the whole SVG. For example, if you have a layer called "layer1" that you wish to render, pass "##layer1" as the id.</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
<method name="set_base_gfile"
c:identifier="rsvg_handle_set_base_gfile"
version="2.32">
<doc xml:whitespace="preserve">Set the base URI for @handle from @file.
Note: This function may only be called before rsvg_handle_write()
or rsvg_handle_read_stream_sync() has been called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="base_file" transfer-ownership="none">
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
</method>
<method name="set_base_uri"
c:identifier="rsvg_handle_set_base_uri"
version="2.9">
<doc xml:whitespace="preserve">Set the base URI for this SVG. This can only be called before rsvg_handle_write()
has been called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="base_uri" transfer-ownership="none">
<doc xml:whitespace="preserve">The base uri</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
<method name="set_dpi" c:identifier="rsvg_handle_set_dpi" version="2.8">
<doc xml:whitespace="preserve">Sets the DPI for the outgoing pixbuf. Common values are
75, 90, and 300 DPI. Passing a number <= 0 to #dpi will
reset the DPI to whatever the default value happens to be.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="dpi" transfer-ownership="none">
<doc xml:whitespace="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_dpi_x_y"
c:identifier="rsvg_handle_set_dpi_x_y"
version="2.8">
<doc xml:whitespace="preserve">Sets the DPI for the outgoing pixbuf. Common values are
75, 90, and 300 DPI. Passing a number <= 0 to #dpi_x or #dpi_y will
reset the DPI to whatever the default value happens to be.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="dpi_x" transfer-ownership="none">
<doc xml:whitespace="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="dpi_y" transfer-ownership="none">
<doc xml:whitespace="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="write"
c:identifier="rsvg_handle_write"
introspectable="0"
throws="1">
<doc xml:whitespace="preserve">Loads the next @count bytes of the image. This will return #TRUE if the data
was loaded successful, and #FALSE if an error occurred. In the latter case,
the loader will be closed, and will not accept further writes. If FALSE is
returned, @error will be set to an error from the #RsvgError domain. Errors
from #GIOErrorEnum are also possible.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE on success, or %FALSE on error</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buf" transfer-ownership="none">
<doc xml:whitespace="preserve">pointer to svg data</doc>
<array length="1" zero-terminated="0" c:type="guchar*">
<type c:type="uint8"/>
</array>
</parameter>
<parameter name="count" transfer-ownership="none">
<doc xml:whitespace="preserve">length of the @buf buffer in bytes</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</method>
<property name="base-uri"
writable="1"
construct="1"
transfer-ownership="none">
<type name="utf8"/>
</property>
<property name="desc" transfer-ownership="none">
<type name="utf8"/>
</property>
<property name="dpi-x"
writable="1"
construct="1"
transfer-ownership="none">
<type name="gdouble"/>
</property>
<property name="dpi-y"
writable="1"
construct="1"
transfer-ownership="none">
<type name="gdouble"/>
</property>
<property name="em" transfer-ownership="none">
<type name="gdouble"/>
</property>
<property name="ex" transfer-ownership="none">
<type name="gdouble"/>
</property>
<property name="flags"
version="2.36"
writable="1"
construct-only="1"
transfer-ownership="none">
<doc xml:whitespace="preserve">Flags from #RsvgHandleFlags.</doc>
<type name="HandleFlags"/>
</property>
<property name="height" transfer-ownership="none">
<type name="gint"/>
</property>
<property name="metadata" transfer-ownership="none">
<type name="utf8"/>
</property>
<property name="title" transfer-ownership="none">
<type name="utf8"/>
</property>
<property name="width" transfer-ownership="none">
<type name="gint"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="HandlePrivate" c:type="RsvgHandlePrivate*"/>
</field>
<field name="_abi_padding">
<array zero-terminated="0" c:type="gpointer" fixed-size="15">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="HandleClass"
c:type="RsvgHandleClass"
glib:is-gtype-struct-for="Handle">
<field name="parent">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_abi_padding">
<array zero-terminated="0" c:type="gpointer" fixed-size="15">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<bitfield name="HandleFlags"
glib:type-name="RsvgHandleFlags"
glib:get-type="rsvg_handle_flags_get_type"
c:type="RsvgHandleFlags">
<member name="none"
value="0"
c:identifier="RSVG_HANDLE_FLAGS_NONE"
glib:nick="none"/>
</bitfield>
<record name="HandlePrivate" c:type="RsvgHandlePrivate" disguised="1">
</record>
<record name="PositionData" c:type="RsvgPositionData">
<field name="x" writable="1">
<type name="gint" c:type="int"/>
</field>
<field name="y" writable="1">
<type name="gint" c:type="int"/>
</field>
</record>
<function name="cleanup" c:identifier="rsvg_cleanup" version="2.36">
<doc xml:whitespace="preserve">This function should not be called from normal programs.
See xmlCleanupParser() for more information.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="error_quark"
c:identifier="rsvg_error_quark"
moved-to="Error.quark">
<doc xml:whitespace="preserve">The error domain for RSVG</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The error domain</doc>
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="set_default_dpi"
c:identifier="rsvg_set_default_dpi"
version="2.8">
<doc xml:whitespace="preserve">Sets the DPI for the all future outgoing pixbufs. Common values are
75, 90, and 300 DPI. Passing a number <= 0 to #dpi will
reset the DPI to whatever the default value happens to be.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="dpi" transfer-ownership="none">
<doc xml:whitespace="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</function>
<function name="set_default_dpi_x_y"
c:identifier="rsvg_set_default_dpi_x_y"
version="2.8">
<doc xml:whitespace="preserve">Sets the DPI for the all future outgoing pixbufs. Common values are
75, 90, and 300 DPI. Passing a number <= 0 to #dpi will
reset the DPI to whatever the default value happens to be.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="dpi_x" transfer-ownership="none">
<doc xml:whitespace="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="dpi_y" transfer-ownership="none">
<doc xml:whitespace="preserve">Dots Per Inch (aka Pixels Per Inch)</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>
|