summaryrefslogtreecommitdiff
path: root/gdk/gdkgc.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-07-18 20:09:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-07-18 20:09:28 +0000
commit94239d144e223cacbffceeb804e44ceedbf2f6b1 (patch)
tree2fa88432d1fd763b2650e0b546a732586e96e82b /gdk/gdkgc.h
parent03496763290dfdc11277e8ae8ef065e02b05f7bd (diff)
downloadgtk+-94239d144e223cacbffceeb804e44ceedbf2f6b1.tar.gz
Add a function gdk_window_get_internal_paint_info(), so that using X
Fri Jul 13 15:33:32 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.[ch]: Add a function gdk_window_get_internal_paint_info(), so that using X functions on a GdkWindow is possible, if a little hairy. * gdk/gdkgc.c (gdk_gc_offset): Add a function to offset the clip and ts_origin of a GC, so that external parties can offset/restore a GC, when using gdk_window_get_internal_paint_info().
Diffstat (limited to 'gdk/gdkgc.h')
-rw-r--r--gdk/gdkgc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkgc.h b/gdk/gdkgc.h
index b18c7fffb4..e55a41e0ea 100644
--- a/gdk/gdkgc.h
+++ b/gdk/gdkgc.h
@@ -237,6 +237,9 @@ void gdk_gc_set_dashes (GdkGC *gc,
gint dash_offset,
gint8 dash_list[],
gint n);
+void gdk_gc_offset (GdkGC *gc,
+ gint x_offset,
+ gint y_offset);
void gdk_gc_copy (GdkGC *dst_gc,
GdkGC *src_gc);