diff options
Diffstat (limited to 'libgnomecanvas')
-rw-r--r-- | libgnomecanvas/gnome-canvas.c | 18 | ||||
-rw-r--r-- | libgnomecanvas/gnome-canvas.h | 6 |
2 files changed, 0 insertions, 24 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c index 34e8c0b272..09acab0ce7 100644 --- a/libgnomecanvas/gnome-canvas.c +++ b/libgnomecanvas/gnome-canvas.c @@ -3536,24 +3536,6 @@ gnome_canvas_get_color_pixel (GnomeCanvas *canvas, guint rgba) return color.pixel; } -/** - * gnome_canvas_set_stipple_origin: - * @canvas: A canvas. - * @gc: GC on which to set the stipple origin. - * - * Sets the stipple origin of the specified GC as is appropriate for the canvas, - * so that it will be aligned with other stipple patterns used by canvas items. - * This is typically only needed by item implementations. - **/ -void -gnome_canvas_set_stipple_origin (GnomeCanvas *canvas, GdkGC *gc) -{ - g_return_if_fail (GNOME_IS_CANVAS (canvas)); - g_return_if_fail (GDK_IS_GC (gc)); - - gdk_gc_set_ts_origin (gc, -canvas->draw_xofs, -canvas->draw_yofs); -} - static gboolean boolean_handled_accumulator (GSignalInvocationHint *ihint, GValue *return_accu, diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h index 5ef653aa67..7394ff2514 100644 --- a/libgnomecanvas/gnome-canvas.h +++ b/libgnomecanvas/gnome-canvas.h @@ -520,12 +520,6 @@ gint gnome_canvas_get_color (GnomeCanvas *canvas, const gchar *spec, GdkColor *c gulong gnome_canvas_get_color_pixel (GnomeCanvas *canvas, guint rgba); -/* Sets the stipple origin of the specified gc so that it will be aligned with - * all the stipples used in the specified canvas. This is intended for use only - * by canvas item implementations. - */ -void gnome_canvas_set_stipple_origin (GnomeCanvas *canvas, GdkGC *gc); - G_END_DECLS #endif |