summaryrefslogtreecommitdiff
path: root/gdk/gdkcairo.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-09-09 01:45:54 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:34 +0200
commitd4f08efd57207b24837a5c2d8833139acb9005ad (patch)
tree94c9b0e32234ee3549a9c89e802cb97137f8b126 /gdk/gdkcairo.h
parent39b376681c8b99cf7031c0c4afb275f10cfaa167 (diff)
downloadgtk+-d4f08efd57207b24837a5c2d8833139acb9005ad.tar.gz
API: add gdk_cairo_get_clip_rectangle() convenience API
Diffstat (limited to 'gdk/gdkcairo.h')
-rw-r--r--gdk/gdkcairo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h
index 99afc064f8..6da20007c4 100644
--- a/gdk/gdkcairo.h
+++ b/gdk/gdkcairo.h
@@ -33,6 +33,8 @@ G_BEGIN_DECLS
cairo_t *gdk_cairo_create (GdkDrawable *drawable);
void gdk_cairo_reset_clip (cairo_t *cr,
GdkDrawable *drawable);
+gboolean gdk_cairo_get_clip_rectangle(cairo_t *cr,
+ GdkRectangle *rect);
void gdk_cairo_set_source_color (cairo_t *cr,
const GdkColor *color);