diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-08 21:22:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:49:57 +0800 |
commit | df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6 (patch) | |
tree | 4c3127b1749c53edf3952ce28548411da4cc735b /libgnomecanvas/gnome-canvas.h | |
parent | 9b2576119477a2a4bcfed3d1c5f2c038403941be (diff) | |
download | gsoc2013-evolution-df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6.tar.gz gsoc2013-evolution-df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6.tar.zst gsoc2013-evolution-df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6.zip |
gnome-canvas: Remove aa code
The anti-aliased code was never used, so remove it.
Diffstat (limited to 'libgnomecanvas/gnome-canvas.h')
-rw-r--r-- | libgnomecanvas/gnome-canvas.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h index c5d6cffe3b..b8a7308d13 100644 --- a/libgnomecanvas/gnome-canvas.h +++ b/libgnomecanvas/gnome-canvas.h @@ -469,12 +469,6 @@ struct _GnomeCanvas { /* For use by internal pick_current_item() function */ guint in_repick : 1; - - /* Whether the canvas is in antialiased mode or not */ - guint aa : 1; - - /* Which dither mode to use for antialiased mode drawing */ - GdkRgbDither dither; }; struct _GnomeCanvasClass { @@ -486,12 +480,6 @@ struct _GnomeCanvasClass { void (* draw_background) (GnomeCanvas *canvas, GdkDrawable *drawable, gint x, gint y, gint width, gint height); - /* Render the background for the buffer given. The buf data structure - * contains both a pointer to a packed 24-bit RGB array, and the - * coordinates. This method is only used for antialiased canvases. - */ - void (* render_background) (GnomeCanvas *canvas, GnomeCanvasBuf *buf); - /* Private Virtual methods for groping the canvas inside bonobo */ void (* request_update) (GnomeCanvas *canvas); @@ -510,13 +498,6 @@ GType gnome_canvas_get_type (void) G_GNUC_CONST; */ GtkWidget *gnome_canvas_new (void); -/* Creates a new antialiased empty canvas. You should push the GdkRgb colormap - * and visual for this. - */ -#ifndef GNOME_EXCLUDE_EXPERIMENTAL -GtkWidget *gnome_canvas_new_aa (void); -#endif - /* Returns the root canvas item group of the canvas */ GnomeCanvasGroup *gnome_canvas_root (GnomeCanvas *canvas); @@ -608,16 +589,6 @@ gulong gnome_canvas_get_color_pixel (GnomeCanvas *canvas, */ void gnome_canvas_set_stipple_origin (GnomeCanvas *canvas, GdkGC *gc); -/* Controls the dithering used when the canvas renders. - * Only applicable to antialiased canvases - ignored by non-antialiased canvases. - */ -void gnome_canvas_set_dither (GnomeCanvas *canvas, GdkRgbDither dither); - -/* Returns the dither mode of an antialiased canvas. - * Only applicable to antialiased canvases - ignored by non-antialiased canvases. - */ -GdkRgbDither gnome_canvas_get_dither (GnomeCanvas *canvas); - G_END_DECLS #endif |