rsvg2 3.2.3-x64-mingw32 → 3.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -2
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +1 -1
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +3 -3
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +13 -9
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +5 -5
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/doc/librsvg/COMPILING.md +266 -0
- data/vendor/local/share/doc/librsvg/CONTRIBUTING.md +152 -0
- data/vendor/local/share/doc/librsvg/README.md +162 -0
- data/vendor/local/share/doc/librsvg/code-of-conduct.md +74 -0
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +49 -32
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +6 -6
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +65 -108
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/ch01.html +54 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +35 -19
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +14 -10
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +10 -14
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +46 -55
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/{RsvgHandle.html → rsvg-RsvgHandle.html} +252 -338
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +35 -42
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +38 -34
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +13 -13
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +13 -13
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +61 -15
- data/vendor/local/share/man/man1/rsvg-convert.1 +33 -16
- metadata +14 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +0 -54
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +0 -42
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +0 -46
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +0 -45
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +0 -38
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +0 -53
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +0 -52
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +0 -99
@@ -0,0 +1,162 @@
|
|
1
|
+
Librsvg
|
2
|
+
=======
|
3
|
+
|
4
|
+
This is librsvg - A small library to render Scalable Vector Graphics
|
5
|
+
([SVG][svg]), associated with the [GNOME Project][gnome]. It renders
|
6
|
+
SVG files to [Cairo][cairo] surfaces. Cairo is the 2D, antialiased
|
7
|
+
drawing library that GNOME uses to draw things to the screen or to
|
8
|
+
generate output for printing.
|
9
|
+
|
10
|
+
Do you want to render non-animated SVGs to a Cairo surface with a
|
11
|
+
minimal API? Librsvg may be adequate for you.
|
12
|
+
|
13
|
+
Using librsvg
|
14
|
+
-------------
|
15
|
+
|
16
|
+
**Compiling:** Librsvg uses a mostly normal [autotools] setup. You
|
17
|
+
may run into some peculiarities due to the Rust internals library if
|
18
|
+
you are **cross-compiling** or if you are in a **build system with no
|
19
|
+
network access**, or if you are **building binary packages from a
|
20
|
+
librsvg tarball**. In those cases, please refer to the
|
21
|
+
[`COMPILING.md`][compiling] file.
|
22
|
+
|
23
|
+
**Documentation:** You can read the [documentation for librsvg][docs] at
|
24
|
+
developer.gnome.org. Please [tell us][mail] if you don't find
|
25
|
+
something there that you need.
|
26
|
+
|
27
|
+
**Bug tracking:** If you have found a bug, take a look at [our bug
|
28
|
+
tracker][bugs]. Please see the "[reporting bugs][reporting-bugs]"
|
29
|
+
section in the file [CONTRIBUTING.md][contributing] to see how to
|
30
|
+
provide a good bug report.
|
31
|
+
|
32
|
+
**Asking questions:** Feel free to ask questions about using librsvg
|
33
|
+
in the [desktop-devel-list][d-d-l] mailing list.
|
34
|
+
|
35
|
+
**Programming languages:** Librsvg exports its API through [GObject
|
36
|
+
Introspection][gi]. This way, it is available in many programming
|
37
|
+
languages other than C. Please see your language binding's
|
38
|
+
documentation for information on how to load the `Rsvg` namespace.
|
39
|
+
|
40
|
+
Contributing to librsvg's development
|
41
|
+
-------------------------------------
|
42
|
+
|
43
|
+
There is a code of conduct for contributors to librsvg; please see the
|
44
|
+
file [`code-of-conduct.md`][coc].
|
45
|
+
|
46
|
+
For information on how to report bugs, or how to contribute to librsvg
|
47
|
+
in general, please see the file [`CONTRIBUTING.md`][contributing].
|
48
|
+
|
49
|
+
Goals of librsvg
|
50
|
+
----------------
|
51
|
+
|
52
|
+
Librsvg aims to be a low-footprint library for rendering SVG images.
|
53
|
+
It is used primarily in the [GNOME project](https://www.gnome.org) to
|
54
|
+
render SVG icons and vector images that appear on the desktop. It is
|
55
|
+
also used in Wikimedia to render the SVG images that appear in
|
56
|
+
Wikipedia, so that even old web browsers can display them. Many
|
57
|
+
projects which casually need to render static SVG images use librsvg.
|
58
|
+
|
59
|
+
We aim to be a "render this SVG for me, quickly, and with a minimal
|
60
|
+
API" kind of library.
|
61
|
+
|
62
|
+
Feature additions will be considered on a case-by-case basis.
|
63
|
+
|
64
|
+
Non-goals of librsvg
|
65
|
+
--------------------
|
66
|
+
|
67
|
+
We don't aim to:
|
68
|
+
|
69
|
+
* Implement every single SVG feature that is in the spec.
|
70
|
+
|
71
|
+
* Implement scripting or external access to the SVG's DOM.
|
72
|
+
|
73
|
+
* Implement support for CSS-based animations (but if you can think of
|
74
|
+
a nice API to do this, we would be glad to know!)
|
75
|
+
|
76
|
+
* Replace the industrial-strength SVG rendering machinery in modern
|
77
|
+
web browsers.
|
78
|
+
|
79
|
+
Of course, [contributions are welcome][contributing]. In particular,
|
80
|
+
if you find nice ways of doing the above while still maintaining the
|
81
|
+
existing API of librsvg, we would love to know about it!
|
82
|
+
|
83
|
+
Who uses librsvg?
|
84
|
+
-----------------
|
85
|
+
|
86
|
+
Librsvg is part of the [GNOME platform][platform]. Inside GNOME,
|
87
|
+
librsvg takes multiple roles:
|
88
|
+
|
89
|
+
* Loads SVGs from the generic gdk-pixbuf loader infrastructure, so any
|
90
|
+
application which uses gdk-pixbuf can load SVGs as if they were
|
91
|
+
raster images.
|
92
|
+
|
93
|
+
* Loads SVG icons for the desktop.
|
94
|
+
|
95
|
+
* Creates SVG thumbnails for the file manager.
|
96
|
+
|
97
|
+
* Loads SVGs within GNOME's default image viewer, Eye of Gnome.
|
98
|
+
|
99
|
+
Outside of GNOME's core:
|
100
|
+
|
101
|
+
* GNOME games (chess, five-or-more, etc. to draw game pieces)
|
102
|
+
|
103
|
+
* GIMP
|
104
|
+
|
105
|
+
* GCompris
|
106
|
+
|
107
|
+
* Claws-mail
|
108
|
+
|
109
|
+
* Darktable
|
110
|
+
|
111
|
+
* Mate-panel
|
112
|
+
|
113
|
+
* Evas/Enlightenment
|
114
|
+
|
115
|
+
* Emacs
|
116
|
+
|
117
|
+
* ImageMagick
|
118
|
+
|
119
|
+
* Wikipedia, to render SVGs as raster images for old browsers.
|
120
|
+
*Special thanks to Wikimedia for providing excellent bug reports.*
|
121
|
+
|
122
|
+
|
123
|
+
Presentations on librsvg
|
124
|
+
------------------------
|
125
|
+
|
126
|
+
"[Replacing C library code with Rust: What I learned with
|
127
|
+
librsvg][guadec-presentation]" was presented at GUADEC 2017. It gives
|
128
|
+
a little history of librsvg, and how/why it is being ported to Rust
|
129
|
+
from C.
|
130
|
+
|
131
|
+
Maintainers
|
132
|
+
-----------
|
133
|
+
|
134
|
+
The maintainer of librsvg is [Federico Mena Quintero][federico]. Feel
|
135
|
+
free to contact me for any questions you may have about librsvg, both
|
136
|
+
its usage and its development. You can contact me in the following
|
137
|
+
ways:
|
138
|
+
|
139
|
+
* [Mail me][mail] at federico@gnome.org.
|
140
|
+
|
141
|
+
* IRC: I am `federico` on `irc.gnome.org` in the `#rust` or
|
142
|
+
`#gnome-hackers` channels. I'm there most weekdays (Mon-Fri)
|
143
|
+
starting at about UTC 14:00 (that's 08:00 my time; I am in the UTC-6
|
144
|
+
timezone). If this is not a convenient time for you, feel free to
|
145
|
+
[mail me][mail] and we can arrange a time.
|
146
|
+
|
147
|
+
[svg]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
|
148
|
+
[gnome]: https://www.gnome.org/
|
149
|
+
[cairo]: https://www.cairographics.org/
|
150
|
+
[coc]: code-of-conduct.md
|
151
|
+
[autotools]: https://autotools.io/index.html
|
152
|
+
[compiling]: COMPILING.md
|
153
|
+
[docs]: https://developer.gnome.org/rsvg/stable/
|
154
|
+
[mail]: mailto:federico@gnome.org
|
155
|
+
[bugs]: https://gitlab.gnome.org/GNOME/librsvg/issues
|
156
|
+
[gi]: https://wiki.gnome.org/Projects/GObjectIntrospection
|
157
|
+
[contributing]: CONTRIBUTING.md
|
158
|
+
[reporting-bugs]: CONTRIBUTING.md#reporting-bugs
|
159
|
+
[d-d-l]: https://mail.gnome.org/mailman/listinfo/desktop-devel-list
|
160
|
+
[federico]: https://people.gnome.org/~federico/
|
161
|
+
[platform]: https://developer.gnome.org/
|
162
|
+
[guadec-presentation]: https://people.gnome.org/~federico/blog/docs/fmq-porting-c-to-rust.pdf
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
education, socio-economic status, nationality, personal appearance, race,
|
10
|
+
religion, or sexual identity and orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at federico@gnome.org. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
72
|
+
|
73
|
+
[homepage]: https://www.contributor-covenant.org
|
74
|
+
|
@@ -63,7 +63,7 @@ and/or use gtk-doc annotations. -->
|
|
63
63
|
glib:type-name="RsvgHandle"
|
64
64
|
glib:get-type="rsvg_handle_get_type"
|
65
65
|
glib:type-struct="HandleClass">
|
66
|
-
<doc xml:space="preserve">
|
66
|
+
<doc xml:space="preserve">Lets you load SVG data and render it.</doc>
|
67
67
|
<constructor name="new" c:identifier="rsvg_handle_new">
|
68
68
|
<doc xml:space="preserve">Returns a new rsvg handle. Must be freed with @g_object_unref. This
|
69
69
|
handle can be used for dynamically loading an image. You need to feed it
|
@@ -254,7 +254,8 @@ freed until @g_object_unref is called.</doc>
|
|
254
254
|
<method name="get_dimensions_sub"
|
255
255
|
c:identifier="rsvg_handle_get_dimensions_sub"
|
256
256
|
version="2.22">
|
257
|
-
<doc xml:space="preserve">Get the size of a subelement of the SVG file. Do not call from within the
|
257
|
+
<doc xml:space="preserve">Get the size of a subelement of the SVG file. Do not call from within the
|
258
|
+
size_func callback, because an infinite loop will occur.</doc>
|
258
259
|
<return-value transfer-ownership="none">
|
259
260
|
<type name="gboolean" c:type="gboolean"/>
|
260
261
|
</return-value>
|
@@ -274,10 +275,8 @@ freed until @g_object_unref is called.</doc>
|
|
274
275
|
transfer-ownership="none"
|
275
276
|
nullable="1"
|
276
277
|
allow-none="1">
|
277
|
-
<doc xml:space="preserve">An element's id within the SVG,
|
278
|
-
|
279
|
-
called "layer1" for that you want to get the dimension, pass
|
280
|
-
"#layer1" as the id.</doc>
|
278
|
+
<doc xml:space="preserve">An element's id within the SVG, starting with "##", for
|
279
|
+
example, "##layer1"; or %NULL to use the whole SVG.</doc>
|
281
280
|
<type name="utf8" c:type="const char*"/>
|
282
281
|
</parameter>
|
283
282
|
</parameters>
|
@@ -302,13 +301,19 @@ will be returned. Note that the pixbuf may not be complete until
|
|
302
301
|
<method name="get_pixbuf_sub"
|
303
302
|
c:identifier="rsvg_handle_get_pixbuf_sub"
|
304
303
|
version="2.14">
|
305
|
-
<doc xml:space="preserve">
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
304
|
+
<doc xml:space="preserve">Creates a #GdkPixbuf the same size as the entire SVG loaded into @handle, but
|
305
|
+
only renders the sub-element that has the specified @id (and all its
|
306
|
+
sub-sub-elements recursively). If @id is #NULL, this function renders the
|
307
|
+
whole SVG.
|
308
|
+
|
309
|
+
If you need to render an image which is only big enough to fit a particular
|
310
|
+
sub-element of the SVG, consider using rsvg_handle_render_cairo_sub(), upon a
|
311
|
+
surface that is just the size returned by rsvg_handle_get_dimensions_sub().
|
312
|
+
You will need to offset the rendering by the amount returned in
|
313
|
+
rsvg_handle_get_position_sub().</doc>
|
310
314
|
<return-value transfer-ownership="full" nullable="1">
|
311
|
-
<doc xml:space="preserve">
|
315
|
+
<doc xml:space="preserve">a pixbuf, or %NULL if an error occurs
|
316
|
+
during rendering.</doc>
|
312
317
|
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
313
318
|
</return-value>
|
314
319
|
<parameters>
|
@@ -320,9 +325,8 @@ will be returned. Note that the pixbuf may not be complete until
|
|
320
325
|
transfer-ownership="none"
|
321
326
|
nullable="1"
|
322
327
|
allow-none="1">
|
323
|
-
<doc xml:space="preserve">
|
324
|
-
|
325
|
-
"layer1" that you wish to render, pass "##layer1" as the id.</doc>
|
328
|
+
<doc xml:space="preserve">An element's id within the SVG, starting with "##", for
|
329
|
+
example, "##layer1"; or %NULL to use the whole SVG.</doc>
|
326
330
|
<type name="utf8" c:type="const char*"/>
|
327
331
|
</parameter>
|
328
332
|
</parameters>
|
@@ -347,10 +351,12 @@ the size_func callback, because an infinite loop will occur.</doc>
|
|
347
351
|
<doc xml:space="preserve">A place to store the SVG fragment's position.</doc>
|
348
352
|
<type name="PositionData" c:type="RsvgPositionData*"/>
|
349
353
|
</parameter>
|
350
|
-
<parameter name="id"
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
+
<parameter name="id"
|
355
|
+
transfer-ownership="none"
|
356
|
+
nullable="1"
|
357
|
+
allow-none="1">
|
358
|
+
<doc xml:space="preserve">An element's id within the SVG, starting with "##", for
|
359
|
+
example, "##layer1"; or %NULL to use the whole SVG.</doc>
|
354
360
|
<type name="utf8" c:type="const char*"/>
|
355
361
|
</parameter>
|
356
362
|
</parameters>
|
@@ -367,7 +373,7 @@ the position, pass "##layer1" as the id.</doc>
|
|
367
373
|
<type name="Handle" c:type="RsvgHandle*"/>
|
368
374
|
</instance-parameter>
|
369
375
|
<parameter name="id" transfer-ownership="none">
|
370
|
-
<doc xml:space="preserve">an element's id within the SVG
|
376
|
+
<doc xml:space="preserve">an element's id within the SVG, starting with "##", for example, "##layer1".</doc>
|
371
377
|
<type name="utf8" c:type="const char*"/>
|
372
378
|
</parameter>
|
373
379
|
</parameters>
|
@@ -634,6 +640,7 @@ from #GIOErrorEnum are also possible.</doc>
|
|
634
640
|
<type name="gint" c:type="gint"/>
|
635
641
|
</property>
|
636
642
|
<field name="parent">
|
643
|
+
<doc xml:space="preserve">parent instance</doc>
|
637
644
|
<type name="GObject.Object" c:type="GObject"/>
|
638
645
|
</field>
|
639
646
|
<field name="priv" readable="0" private="1">
|
@@ -648,7 +655,7 @@ from #GIOErrorEnum are also possible.</doc>
|
|
648
655
|
<record name="HandleClass"
|
649
656
|
c:type="RsvgHandleClass"
|
650
657
|
glib:is-gtype-struct-for="Handle">
|
651
|
-
<doc xml:space="preserve">Class structure for #RsvgHandle
|
658
|
+
<doc xml:space="preserve">Class structure for #RsvgHandle.</doc>
|
652
659
|
<field name="parent">
|
653
660
|
<doc xml:space="preserve">parent class</doc>
|
654
661
|
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
@@ -692,10 +699,10 @@ from #GIOErrorEnum are also possible.</doc>
|
|
692
699
|
<constant name="MAJOR_VERSION" value="2" c:type="LIBRSVG_MAJOR_VERSION">
|
693
700
|
<type name="gint" c:type="gint"/>
|
694
701
|
</constant>
|
695
|
-
<constant name="MICRO_VERSION" value="
|
702
|
+
<constant name="MICRO_VERSION" value="3" c:type="LIBRSVG_MICRO_VERSION">
|
696
703
|
<type name="gint" c:type="gint"/>
|
697
704
|
</constant>
|
698
|
-
<constant name="MINOR_VERSION" value="
|
705
|
+
<constant name="MINOR_VERSION" value="42" c:type="LIBRSVG_MINOR_VERSION">
|
699
706
|
<type name="gint" c:type="gint"/>
|
700
707
|
</constant>
|
701
708
|
<record name="PositionData" c:type="RsvgPositionData">
|
@@ -709,7 +716,7 @@ from #GIOErrorEnum are also possible.</doc>
|
|
709
716
|
<type name="gint" c:type="int"/>
|
710
717
|
</field>
|
711
718
|
</record>
|
712
|
-
<constant name="VERSION" value="2.
|
719
|
+
<constant name="VERSION" value="2.42.3" c:type="LIBRSVG_VERSION">
|
713
720
|
<type name="utf8" c:type="gchar*"/>
|
714
721
|
</constant>
|
715
722
|
<function name="cleanup" c:identifier="rsvg_cleanup" version="2.36">
|
@@ -730,10 +737,15 @@ See xmlCleanupParser() for more information.</doc>
|
|
730
737
|
</function>
|
731
738
|
<function name="set_default_dpi"
|
732
739
|
c:identifier="rsvg_set_default_dpi"
|
733
|
-
version="2.8"
|
734
|
-
|
735
|
-
|
736
|
-
|
740
|
+
version="2.8"
|
741
|
+
deprecated="1"
|
742
|
+
deprecated-version="2.42.3">
|
743
|
+
<doc xml:space="preserve">Do not use this function. Create an #RsvgHandle and call
|
744
|
+
rsvg_handle_set_dpi() on it instead.</doc>
|
745
|
+
<doc-deprecated xml:space="preserve">This function used to set a global default DPI. However,
|
746
|
+
it only worked if it was called before any #RsvgHandle objects had been
|
747
|
+
created; it would not work after that. To avoid global mutable state, please
|
748
|
+
use rsvg_handle_set_dpi() instead.</doc-deprecated>
|
737
749
|
<return-value transfer-ownership="none">
|
738
750
|
<type name="none" c:type="void"/>
|
739
751
|
</return-value>
|
@@ -746,10 +758,15 @@ reset the DPI to whatever the default value happens to be.</doc>
|
|
746
758
|
</function>
|
747
759
|
<function name="set_default_dpi_x_y"
|
748
760
|
c:identifier="rsvg_set_default_dpi_x_y"
|
749
|
-
version="2.8"
|
750
|
-
|
751
|
-
|
752
|
-
|
761
|
+
version="2.8"
|
762
|
+
deprecated="1"
|
763
|
+
deprecated-version="2.42.3">
|
764
|
+
<doc xml:space="preserve">Do not use this function. Create an #RsvgHandle and call
|
765
|
+
rsvg_handle_set_dpi_x_y() on it instead.</doc>
|
766
|
+
<doc-deprecated xml:space="preserve">This function used to set a global default DPI. However,
|
767
|
+
it only worked if it was called before any #RsvgHandle objects had been
|
768
|
+
created; it would not work after that. To avoid global mutable state, please
|
769
|
+
use rsvg_handle_set_dpi() instead.</doc-deprecated>
|
753
770
|
<return-value transfer-ownership="none">
|
754
771
|
<type name="none" c:type="void"/>
|
755
772
|
</return-value>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Annotation Glossary:
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets
|
7
|
-
<link rel="home" href="index.html" title="
|
8
|
-
<link rel="up" href="index.html" title="
|
5
|
+
<title>Annotation Glossary: Librsvg Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
7
|
+
<link rel="home" href="index.html" title="Librsvg Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="Librsvg Reference Manual">
|
9
9
|
<link rel="prev" href="api-index-2-36.html" title="Index of new symbols in 2.32">
|
10
10
|
<link rel="next" href="licence.html" title="Appendix A. Licence">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (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">
|
@@ -49,6 +49,6 @@
|
|
49
49
|
<dd class="glossdef"><p>Free data after the code is done.</p></dd>
|
50
50
|
</div>
|
51
51
|
<div class="footer">
|
52
|
-
<hr>Generated by GTK-Doc V1.
|
52
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
53
53
|
</body>
|
54
54
|
</html>
|