blob: 9210a11133ffd6d3f99af11a3a034d1e0876c07c (
plain)
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
|
namespace Rsvg {
public class Handle : GLib.Object {
[Version (deprecated_since = "2.36")]
public unowned string get_desc ();
[Version (replacement = "GLib.Object.unref")]
public void free ();
[Version (replacement = "render_cairo")]
public void set_size_callback (owned Rsvg.SizeFunc size_func);
[Version (deprecated_since = "2.36")]
public unowned string get_title ();
[Version (deprecated_since = "2.36")]
public unowned string get_metadata ();
}
namespace Version {
[CCode (cname = "LIBRSVG_CHECK_VERSION")]
public static bool check (int major, int minor, int micro);
}
[Version (deprecated = true)]
public delegate void SizeFunc (ref int width, ref int height);
[Version (deprecated_since = "2.36")]
public static void init ();
[Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file (string file_name) throws GLib.Error;
[Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_max_size (string file_name, int max_width, int max_height) throws GLib.Error;
[Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_size (string file_name, int width, int height) throws GLib.Error;
[Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_zoom (string file_name, double x_zoom, double y_zoom) throws GLib.Error;
[Version (deprecated = true)]
public static Gdk.Pixbuf pixbuf_from_file_at_zoom_with_max (string file_name, double x_zoom, double y_zoom, int max_width, int max_height) throws GLib.Error;
[Version (deprecated_since = "2.36")]
public static void term ();
}
|