]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/gdk-pixbuf-transform.h
[quartz] Delete the typedef of GdkDevicePrivate
[~andy/gtk] / gdk-pixbuf / gdk-pixbuf-transform.h
index b6c25c9cb26ed5118c0523ea17ad420a70aa944c..57ced64d084b80087b021ded24ce6f3215fe1617 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#if !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
+#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
+#endif
+
 #ifndef GDK_PIXBUF_TRANSFORM_H
 #define GDK_PIXBUF_TRANSFORM_H
 
@@ -42,6 +46,13 @@ typedef enum {
        GDK_INTERP_HYPER
 } GdkInterpType;
 
+typedef enum {
+       GDK_PIXBUF_ROTATE_NONE             =   0,
+       GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE =  90,
+       GDK_PIXBUF_ROTATE_UPSIDEDOWN       = 180,
+       GDK_PIXBUF_ROTATE_CLOCKWISE        = 270
+} GdkPixbufRotation;
+
 void gdk_pixbuf_scale           (const GdkPixbuf *src,
                                 GdkPixbuf       *dest,
                                 int              dest_x,
@@ -97,7 +108,11 @@ GdkPixbuf *gdk_pixbuf_composite_color_simple (const GdkPixbuf *src,
                                              guint32          color1,
                                              guint32          color2);
 
-
+GdkPixbuf *gdk_pixbuf_rotate_simple          (const GdkPixbuf   *src,
+                                             GdkPixbufRotation  angle);
+GdkPixbuf *gdk_pixbuf_flip                   (const GdkPixbuf   *src,
+                                             gboolean           horizontal);
+                                    
 G_END_DECLS