diff options
Diffstat (limited to 'libgnomecanvas/gnome-canvas.h')
-rw-r--r-- | libgnomecanvas/gnome-canvas.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h index 3236e20a5f..5c46464f85 100644 --- a/libgnomecanvas/gnome-canvas.h +++ b/libgnomecanvas/gnome-canvas.h @@ -373,9 +373,6 @@ struct _GnomeCanvas { gdouble scroll_x1, scroll_y1; gdouble scroll_x2, scroll_y2; - /* Scaling factor to be used for display */ - gdouble pixels_per_unit; - /* Idle handler ID */ guint idle_id; @@ -397,11 +394,6 @@ struct _GnomeCanvas { /* Event mask specified when grabbing an item */ guint grabbed_event_mask; - /* Whether the canvas should center the scroll region in the middle of - * the window if the scroll region is smaller than the window. - */ - guint center_scroll_region : 1; - /* Whether items need update at next idle loop iteration */ guint need_update : 1; @@ -453,15 +445,6 @@ void gnome_canvas_set_scroll_region (GnomeCanvas *canvas, void gnome_canvas_get_scroll_region (GnomeCanvas *canvas, gdouble *x1, gdouble *y1, gdouble *x2, gdouble *y2); -/* Whether the canvas centers the scroll region if it is smaller than the window */ -void gnome_canvas_set_center_scroll_region (GnomeCanvas *canvas, gboolean center_scroll_region); - -/* Returns whether the canvas is set to center the scroll region if it is smaller than the window */ -gboolean gnome_canvas_get_center_scroll_region (GnomeCanvas *canvas); - -/* Sets the number of pixels that correspond to one unit in world coordinates */ -void gnome_canvas_set_pixels_per_unit (GnomeCanvas *canvas, gdouble n); - /* Scrolls the canvas to the specified offsets, given in canvas pixel coordinates */ void gnome_canvas_scroll_to (GnomeCanvas *canvas, gint cx, gint cy); |