summaryrefslogtreecommitdiff
path: root/rsvg.h
diff options
context:
space:
mode:
authorDom Lachowicz <doml@src.gnome.org>2003-01-30 20:14:52 +0000
committerDom Lachowicz <doml@src.gnome.org>2003-01-30 20:14:52 +0000
commitb2e39d1955ffdfe11f883a04e7dd1e0b11b9b4c4 (patch)
treee46011b590776937d349d926a0f65b1d18111620 /rsvg.h
parent3697a8a813af1c978e60bbcf3991f7b6d053e940 (diff)
downloadlibrsvg-b2e39d1955ffdfe11f883a04e7dd1e0b11b9b4c4.tar.gz
expose new API calls (_ex form)
conditionally enable and install the SVGZ handle, based on libgsf
Diffstat (limited to 'rsvg.h')
-rw-r--r--rsvg.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/rsvg.h b/rsvg.h
index 70f9f053..0983cf65 100644
--- a/rsvg.h
+++ b/rsvg.h
@@ -83,6 +83,34 @@ GdkPixbuf *rsvg_pixbuf_from_file_at_zoom_with_max (const gchar *file_name,
gint max_height,
GError **error);
+/* "New" convenience API (2.2.2+) */
+
+GdkPixbuf * rsvg_pixbuf_from_file_at_size_ex (RsvgHandle * handle,
+ const gchar *file_name,
+ gint width,
+ gint height,
+ GError **error);
+GdkPixbuf * rsvg_pixbuf_from_file_ex (RsvgHandle * handle,
+ const gchar *file_name,
+ GError **error);
+GdkPixbuf * rsvg_pixbuf_from_file_at_zoom_ex (RsvgHandle * handle,
+ const gchar *file_name,
+ double x_zoom,
+ double y_zoom,
+ GError **error);
+GdkPixbuf * rsvg_pixbuf_from_file_at_max_size_ex (RsvgHandle * handle,
+ const gchar *file_name,
+ gint max_width,
+ gint max_height,
+ GError **error);
+GdkPixbuf * rsvg_pixbuf_from_file_at_zoom_with_max_ex (RsvgHandle * handle,
+ const gchar *file_name,
+ double x_zoom,
+ double y_zoom,
+ gint max_width,
+ gint max_height,
+ GError **error);
+
G_END_DECLS
#endif /* RSVG_H */