]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkregion.h
Document how Cocoa coordinate and monitor layout transforms to GDK work
[~andy/gtk] / gdk / gdkregion.h
index f8a97f6114632aa9a949258f2520b8a47db574f1..0adffa1a080db110070c99a3b20188c39871f757 100644 (file)
  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
+#error "Only <gdk/gdk.h> can be included directly."
+#endif
+
 #ifndef __GDK_REGION_H__
 #define __GDK_REGION_H__
 
@@ -73,6 +77,8 @@ void           gdk_region_get_rectangles  (const GdkRegion    *region,
 gboolean       gdk_region_empty           (const GdkRegion    *region);
 gboolean       gdk_region_equal           (const GdkRegion    *region1,
                                            const GdkRegion    *region2);
+gboolean       gdk_region_rect_equal      (const GdkRegion    *region,
+                                           const GdkRectangle *rectangle);
 gboolean       gdk_region_point_in        (const GdkRegion    *region,
                                            int                 x,
                                            int                 y);
@@ -97,7 +103,7 @@ void           gdk_region_xor             (GdkRegion          *source1,
                                            const GdkRegion    *source2);
 
 void   gdk_region_spans_intersect_foreach (GdkRegion          *region,
-                                           GdkSpan            *spans,
+                                           const GdkSpan      *spans,
                                            int                 n_spans,
                                            gboolean            sorted,
                                            GdkSpanFunc         function,