diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-02 17:14:27 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-07 16:08:40 +0800 |
commit | 0c479224642498769daf3144a67f64bdb0714424 (patch) | |
tree | b264c3775534dbc0107a8f1f0ae30e145f668aa6 /gdk-pixbuf/gdk-pixbuf-transform.h | |
parent | f0312dd9277178691442a0b23e0547fb59c6bf16 (diff) | |
download | gdk-pixbuf-0c479224642498769daf3144a67f64bdb0714424.tar.gz |
Add version macro header
Add a version macro header that would reveal the availability of the
various APIs, which is used to indicate what stable release series an
API is available, and what release series is an API deprecated. This
is also used to export the symbols using compiler directives, which
would eliminate the need to maintain .symbols files.
Annotate the symbols in the pubic headers accordingly, and update the
doc sections file so that the macros are included in the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=767164
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-transform.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-transform.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-transform.h b/gdk-pixbuf/gdk-pixbuf-transform.h index 2a8f936cf..875628c7f 100644 --- a/gdk-pixbuf/gdk-pixbuf-transform.h +++ b/gdk-pixbuf/gdk-pixbuf-transform.h @@ -92,6 +92,7 @@ typedef enum { GDK_PIXBUF_ROTATE_CLOCKWISE = 270 } GdkPixbufRotation; +GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_scale (const GdkPixbuf *src, GdkPixbuf *dest, int dest_x, @@ -103,6 +104,7 @@ void gdk_pixbuf_scale (const GdkPixbuf *src, double scale_x, double scale_y, GdkInterpType interp_type); +GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_composite (const GdkPixbuf *src, GdkPixbuf *dest, int dest_x, @@ -115,6 +117,7 @@ void gdk_pixbuf_composite (const GdkPixbuf *src, double scale_y, GdkInterpType interp_type, int overall_alpha); +GDK_PIXBUF_AVAILABLE_IN_ALL void gdk_pixbuf_composite_color (const GdkPixbuf *src, GdkPixbuf *dest, int dest_x, @@ -133,11 +136,13 @@ void gdk_pixbuf_composite_color (const GdkPixbuf *src, guint32 color1, guint32 color2); +GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf *gdk_pixbuf_scale_simple (const GdkPixbuf *src, int dest_width, int dest_height, GdkInterpType interp_type); +GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf *gdk_pixbuf_composite_color_simple (const GdkPixbuf *src, int dest_width, int dest_height, @@ -147,8 +152,10 @@ GdkPixbuf *gdk_pixbuf_composite_color_simple (const GdkPixbuf *src, guint32 color1, guint32 color2); +GDK_PIXBUF_AVAILABLE_IN_2_6 GdkPixbuf *gdk_pixbuf_rotate_simple (const GdkPixbuf *src, GdkPixbufRotation angle); +GDK_PIXBUF_AVAILABLE_IN_2_6 GdkPixbuf *gdk_pixbuf_flip (const GdkPixbuf *src, gboolean horizontal); |