# zoom-region.c File Reference

`#include "config.h"`
`#include "gmag-graphical-server.h"`
`#include <stdlib.h>`
`#include <string.h>`
`#include <popt.h>`
`#include <gdk/gdk.h>`
`#include <gtk/gtk.h>`
`#include <gdk/gdkx.h>`
`#include <libbonobo.h>`
`#include <math.h>`
`#include "zoom-region.h"`
`#include "zoom-region-private.h"`
`#include "magnifier.h"`
`#include "magnifier-private.h"`
`#include "zoom-region-server.h"`
`#include <glib-object.h>`
`#include <dbus/dbus-glib.h>`

Go to the source code of this file.

## Defines
#define | DEBUG_CLIENT_CALLS
#define | DBG(a)
#define | CLAMP_B_C(v) (t = (v), CLAMP (t, -1, 1));
#define | DEBUG_RECT(a, b)
| DEBUG STUFF.
#define | _is_horizontal_rect(r) ((r)->width > (r)->height)
| EVENT COALESCING.
#define | _is_vertical_rect(r) ((r)->height > (r)->width)
#define | CLAMP_UCHAR(v) (t = (v), CLAMP (t, 0, 255))
#define | CLAMP_LOW_MID(v) (t = (v), CLAMP (t, 0, 127))
#define | CLAMP_MID_HIGH(v) (t = (v), CLAMP (t, 127, 255))
## Enumerations
enum | { ZOOM_REGION_MANAGED_PROP, ZOOM_REGION_POLL_MOUSE_PROP, ZOOM_REGION_DRAW_CURSOR_PROP, ZOOM_REGION_SMOOTHSCROLL_PROP, ZOOM_REGION_COLORBLIND_PROP, ZOOM_REGION_INVERT_PROP, ZOOM_REGION_SMOOTHING_PROP, ZOOM_REGION_CONTRASTR_PROP, ZOOM_REGION_CONTRASTG_PROP, ZOOM_REGION_CONTRASTB_PROP, ZOOM_REGION_BRIGHTR_PROP, ZOOM_REGION_BRIGHTG_PROP, ZOOM_REGION_BRIGHTB_PROP, ZOOM_REGION_XSCALE_PROP, ZOOM_REGION_YSCALE_PROP, ZOOM_REGION_BORDERSIZE_PROP, ZOOM_REGION_BORDERSIZETOP_PROP, ZOOM_REGION_BORDERSIZELEFT_PROP, ZOOM_REGION_BORDERSIZERIGHT_PROP, ZOOM_REGION_BORDERSIZEBOTTOM_PROP, ZOOM_REGION_BORDERCOLOR_PROP, ZOOM_REGION_XALIGN_PROP, ZOOM_REGION_YALIGN_PROP, ZOOM_REGION_VIEWPORT_PROP, ZOOM_REGION_TESTPATTERN_PROP, ZOOM_REGION_TIMING_TEST_PROP, ZOOM_REGION_TIMING_OUTPUT_PROP, ZOOM_REGION_TIMING_PAN_RATE_PROP, ZOOM_REGION_EXIT_MAGNIFIER }
enum | ZoomRegionPixmapCreationError { ZOOM_REGION_ERROR_NONE, ZOOM_REGION_ERROR_NO_TARGET_DRAWABLE, ZOOM_REGION_ERROR_TOO_BIG }
## Functions
static void | zoom_region_sync (ZoomRegion *region)
static void | zoom_region_finalize (GObject *object)
static void | zoom_region_update (ZoomRegion *zoom_region, const GdkRectangle update_rect)
| zoom_region_update:
static void | zoom_region_queue_update (ZoomRegion *zoom_region, const GdkRectangle rect)
static int | zoom_region_process_updates (gpointer data)
static void | zoom_region_paint (ZoomRegion *zoom_region, GdkRectangle *area)
| Note: clips to region's current GdkWindow.
static void | zoom_region_paint_pixmap (ZoomRegion *zoom_region, GdkRectangle *rect)
static int | zoom_region_update_pointer_timeout (gpointer data)
static GdkRectangle | zoom_region_rect_from_bounds (ZoomRegion *zoom_region, const GNOME_Magnifier_RectBounds *bounds)
static ZoomRegionPixmapCreationError | zoom_region_create_pixmap (ZoomRegion *zoom_region)
static GdkRectangle | zoom_region_update_pixmap (ZoomRegion *zoom_region, const GdkRectangle update_rect, GdkRectangle *paint_rect)
static void | zoom_region_get_move_x_y (ZoomRegion *zoom_region, long *x, long *y)
static void | zoom_region_recompute_exposed_bounds (ZoomRegion *zoom_region)
static void | zoom_region_update_current (ZoomRegion *zoom_region)
void | reset_timing_stats ()
static void | _debug_announce_rect (char *msg, GdkRectangle rect)
static void | _set_bounds (RectBounds *struct_bounds, const gint32 **vector_bounds)
static gboolean | _diff_pixbufs (const GdkPixbuf *a, const GdkPixbuf *b)
static GList * | _coalesce_update_rects (GList *q, int min_coalesce_length)
| _coalesce_update_rects : coalesces multiple "vertical" rects and "horizontal" rects into one of each.
static GdkRectangle | _rectangle_clip_to_rectangle (GdkRectangle area, GdkRectangle clip_rect)
| COORDINATE CONVERSIONS.
static GdkRectangle | _rectangle_clip_to_bounds (GdkRectangle area, GNOME_Magnifier_RectBounds *clip_bounds)
static GdkRectangle | zoom_region_clip_to_source (ZoomRegion *zoom_region, GdkRectangle area)
static GdkRectangle | zoom_region_clip_to_exposed_target (ZoomRegion *zoom_region, GdkRectangle area)
static GdkRectangle | zoom_region_clip_to_scaled_pixmap (ZoomRegion *zoom_region, GdkRectangle area)
static GdkRectangle | zoom_region_clip_to_window (ZoomRegion *zoom_region, GdkRectangle area)
static GdkRectangle | zoom_region_source_rect_from_view_bounds (ZoomRegion *zoom_region, const GNOME_Magnifier_RectBounds *view_bounds)
static GdkRectangle | zoom_region_view_rect_from_source_rect (ZoomRegion *zoom_region, const GdkRectangle source_rect)
static GdkRectangle | zoom_region_source_rect_from_view_rect (ZoomRegion *zoom_region, const GdkRectangle view_rect)
static CORBA_boolean | zoom_region_update_scale (ZoomRegion *zoom_region, gdouble x, gdouble y)
| **************
static GdkRectangle | zoom_region_cursor_rect (ZoomRegion *zoom_region)
static void | zoom_region_unpaint_crosswire_cursor (ZoomRegion *zoom_region, GdkRectangle *clip_rect)
static void | zoom_region_paint_crosswire_cursor (ZoomRegion *zoom_region, GdkRectangle *clip_rect)
static void | zoom_region_unpaint_cursor (ZoomRegion *zoom_region, GdkRectangle *clip_rect)
static void | zoom_region_paint_cursor (ZoomRegion *zoom_region, GdkRectangle *clip_rect)
static void | zoom_region_coalesce_updates (ZoomRegion *zoom_region)
| zoom_region_coalesce_updates:
static void | zoom_region_paint_border (ZoomRegion *zoom_region)
static void | zoom_region_expose_handler (GtkWindow *w, GdkEventExpose *event, gpointer data)
static void | zoom_region_update_cursor (ZoomRegion *zoom_region, int dx, int dy, GdkRectangle *clip_rect)
static gboolean | zoom_region_calculate_scroll_rects (ZoomRegion *zoom_region, int dx, int dy, GdkRectangle *scroll_rect, GdkRectangle *expose_rect_h, GdkRectangle *expose_rect_v)
static void | zoom_region_scroll_fast (ZoomRegion *zoom_region, int dx, int dy, GdkRectangle *scroll_rect, GdkRectangle *expose_rect_h, GdkRectangle *expose_rect_v)
static void | zoom_region_scroll_smooth (ZoomRegion *zoom_region, int dx, int dy, GdkRectangle *scroll_rect, GdkRectangle *expose_rect_h, GdkRectangle *expose_rect_v)
static void | zoom_region_scroll (ZoomRegion *zoom_region, int dx, int dy)
static void | zoom_region_set_cursor_pos (ZoomRegion *zoom_region, int x, int y)
static gboolean | zoom_region_update_pointer (ZoomRegion *zoom_region, gboolean draw_cursor)
static int | zoom_region_update_pointer_idle (gpointer data)
static void | zoom_region_moveto (ZoomRegion *zoom_region, const long x, const long y)
static void | zoom_region_process_pixbuf (ZoomRegion *zoom_region, GdkPixbuf *pixbuf)
static void | zoom_region_post_process_pixbuf (ZoomRegion *zoom_region, GdkPixbuf *subimage, GdkPixbuf *scaled_image)
static GdkPixbuf * | zoom_region_get_source_subwindow (ZoomRegion *zoom_region, const GdkRectangle bounds)
static void | zoom_region_init_window (ZoomRegion *zoom_region)
void | timing_report (ZoomRegion *zoom_region)
static void | zoom_region_time_frame (ZoomRegion *zoom_region, Magnifier *magnifier)
static gboolean | gdk_timing_idle (gpointer data)
static void | zoom_region_align (ZoomRegion *zoom_region)
static void | zoom_region_set_viewport (ZoomRegion *zoom_region, const GNOME_Magnifier_RectBounds *viewport)
static void | zoom_region_get_property (BonoboPropertyBag *bag, BonoboArg *arg, guint arg_id, CORBA_Environment *ev, gpointer user_data)
static void | zoom_region_update_borders (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_managed (ZoomRegion *zoom_region, gboolean managed)
gboolean | impl_dbus_zoom_region_get_managed (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_poll_mouse (ZoomRegion *zoom_region, gboolean poll_mouse)
gboolean | impl_dbus_zoom_region_get_poll_mouse (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_draw_cursor (ZoomRegion *zoom_region, gboolean draw_cursor)
gboolean | impl_dbus_zoom_region_get_draw_cursor (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_invert (ZoomRegion *zoom_region, gboolean invert)
gboolean | impl_dbus_zoom_region_get_invert (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_smoothscroll (ZoomRegion *zoom_region, gshort smoothscroll)
gshort | impl_dbus_zoom_region_get_smoothscroll (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_colorblind (ZoomRegion *zoom_region, gshort colorblind)
gshort | impl_dbus_zoom_region_get_colorblind (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_smoothing (ZoomRegion *zoom_region, gchar *smoothing)
gchar * | impl_dbus_zoom_region_get_smoothing (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_testpattern (ZoomRegion *zoom_region, gboolean test)
gboolean | impl_dbus_zoom_region_get_testpattern (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_bordersizes (ZoomRegion *zoom_region, gint32 **bordersizes)
GArray * | impl_dbus_zoom_region_get_bordersizes (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_bordercolor (ZoomRegion *zoom_region, guint32 bordercolor)
guint32 | impl_dbus_zoom_region_get_bordercolor (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_xalign (ZoomRegion *zoom_region, gint32 align)
gint32 | impl_dbus_zoom_region_get_xalign (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_yalign (ZoomRegion *zoom_region, gint32 align)
gint32 | impl_dbus_zoom_region_get_yalign (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_viewport (ZoomRegion *zoom_region, gint32 **viewport)
GArray * | impl_dbus_zoom_region_get_viewport (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_timing_test (ZoomRegion *zoom_region, gint32 timing_iterations)
gint32 | impl_dbus_zoom_region_get_timing_test (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_timing_output (ZoomRegion *zoom_region, gboolean timing_output)
gboolean | impl_dbus_zoom_region_get_timing_output (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_timing_pan_rate (ZoomRegion *zoom_region, gint32 timing_pan_rate)
gint32 | impl_dbus_zoom_region_get_timing_pan_rate (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_exit_magnifier (ZoomRegion *zoom_region, gboolean exit_magnifier)
gboolean | impl_dbus_zoom_region_get_exit_magnifier (ZoomRegion *zoom_region)
static void | zoom_region_set_property (BonoboPropertyBag *bag, BonoboArg *arg, guint arg_id, CORBA_Environment *ev, gpointer user_data)
static int | zoom_region_process_pending (gpointer data)
static int | zoom_region_pan_test (gpointer data)
static void | impl_zoom_region_set_pointer_pos (PortableServer_Servant servant, const CORBA_long mouse_x, const CORBA_long mouse_y, CORBA_Environment *ev)
static void | impl_zoom_region_set_contrast (PortableServer_Servant servant, const CORBA_float R, const CORBA_float G, const CORBA_float B, CORBA_Environment *ev)
static void | impl_zoom_region_get_contrast (PortableServer_Servant servant, CORBA_float *R, CORBA_float *G, CORBA_float *B, CORBA_Environment *ev)
static void | impl_zoom_region_set_brightness (PortableServer_Servant servant, const CORBA_float R, const CORBA_float G, const CORBA_float B, CORBA_Environment *ev)
static void | impl_zoom_region_get_brightness (PortableServer_Servant servant, CORBA_float *R, CORBA_float *G, CORBA_float *B, CORBA_Environment *ev)
static void | impl_zoom_region_set_roi (PortableServer_Servant servant, const GNOME_Magnifier_RectBounds *bounds, CORBA_Environment *ev)
static CORBA_boolean | impl_zoom_region_set_mag_factor (PortableServer_Servant servant, const CORBA_float mag_factor_x, const CORBA_float mag_factor_y, CORBA_Environment *ev)
static void | impl_zoom_region_get_mag_factor (PortableServer_Servant servant, CORBA_float *mag_factor_x, CORBA_float *mag_factor_y, CORBA_Environment *ev)
static Bonobo_PropertyBag | impl_zoom_region_get_properties (PortableServer_Servant servant, CORBA_Environment *ev)
static void | impl_zoom_region_update_pointer (PortableServer_Servant servant, CORBA_Environment *ev)
static void | impl_zoom_region_mark_dirty (PortableServer_Servant servant, const GNOME_Magnifier_RectBounds *roi_dirty, CORBA_Environment *ev)
static GNOME_Magnifier_RectBounds | impl_zoom_region_get_roi (PortableServer_Servant servant, CORBA_Environment *ev)
static void | impl_zoom_region_move_resize (PortableServer_Servant servant, const GNOME_Magnifier_RectBounds *viewport_bounds, CORBA_Environment *ev)
static void | zoom_region_do_dispose (ZoomRegion *zoom_region)
static void | impl_zoom_region_dispose (PortableServer_Servant servant, CORBA_Environment *ev)
gboolean | impl_dbus_zoom_region_dispose (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_mag_factor (ZoomRegion *zoom_region, const gdouble mag_factor_x, const gdouble mag_factor_y)
GArray * | impl_dbus_zoom_region_get_mag_factor (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_roi (ZoomRegion *zoom_region, const gint32 **roi)
gboolean | impl_dbus_zoom_region_update_pointer (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_mark_dirty (ZoomRegion *zoom_region, gint32 **bounds)
GArray * | impl_dbus_zoom_region_get_roi (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_move_resize (ZoomRegion *zoom_region, const gint32 **viewport)
gboolean | impl_dbus_zoom_region_set_pointer_pos (ZoomRegion *zoom_region, gint32 mouse_x, gint32 mouse_y)
gboolean | impl_dbus_zoom_region_set_contrast (ZoomRegion *zoom_region, gdouble R, gdouble G, gdouble B)
GArray * | impl_dbus_zoom_region_get_contrast (ZoomRegion *zoom_region)
gboolean | impl_dbus_zoom_region_set_brightness (ZoomRegion *zoom_region, gdouble R, gdouble G, gdouble B)
GArray * | impl_dbus_zoom_region_get_brightness (ZoomRegion *zoom_region)
static void | zoom_region_dispose (GObject *object)
static void | zoom_region_class_init (ZoomRegionClass *klass)
static void | zoom_region_properties_init (ZoomRegion *zoom_region)
static void | zoom_region_private_init (ZoomRegionPrivate *priv)
static void | zoom_region_init (ZoomRegion *zoom_region)
ZoomRegion * | zoom_region_new (void)
| BONOBO_TYPE_FUNC_FULL (ZoomRegion, GNOME_Magnifier_ZoomRegion, BONOBO_TYPE_OBJECT, zoom_region)
## Variables
static GObjectClass * | parent_class = NULL
enum { ... } | PropIdx
static float | timing_scale_max = 0
static float | timing_idle_max = 0
static float | timing_frame_max = 0
static float | cps_max = 0
static float | nrr_max = 0
static float | update_nrr_max = 0
static gboolean | reset_timing = FALSE
static gboolean | timing_test = FALSE
static guint | pending_idle_handler = 0
static gboolean | processing_updates = FALSE
static gboolean | timing_start = FALSE
static gboolean | can_coalesce = TRUE
static int | zoom_region_number = 0

## Define Documentation

#define DEBUG_CLIENT_CALLS

Definition at line 53 of file zoom-region.c.

#define DBG | ( | a |  | ) |

Definition at line 59 of file zoom-region.c.

#define CLAMP_B_C | ( | v |  | ) | (t = (v), CLAMP (t, -1, 1));

Definition at line 154 of file zoom-region.c.

Referenced by impl_dbus_zoom_region_set_brightness(), impl_dbus_zoom_region_set_contrast(), impl_zoom_region_set_brightness(), impl_zoom_region_set_contrast(), and zoom_region_set_property().

#define DEBUG_RECT | ( | a,
|  | b |  | ) |

DEBUG STUFF.

Definition at line 206 of file zoom-region.c.

Referenced by impl_dbus_zoom_region_mark_dirty(), impl_zoom_region_mark_dirty(), zoom_region_clip_to_source(), zoom_region_create_pixmap(), zoom_region_expose_handler(), zoom_region_get_source_subwindow(), zoom_region_paint(), zoom_region_paint_cursor(), zoom_region_queue_update(), zoom_region_update_pixmap(), and zoom_region_view_rect_from_source_rect().

#define _is_horizontal_rect | ( | r |  | ) | ((r)->width > (r)->height)

EVENT COALESCING.

Definition at line 459 of file zoom-region.c.

Referenced by _coalesce_update_rects().

#define _is_vertical_rect | ( | r |  | ) | ((r)->height > (r)->width)

Definition at line 460 of file zoom-region.c.

Referenced by _coalesce_update_rects().

#define CLAMP_UCHAR | ( | v |  | ) | (t = (v), CLAMP (t, 0, 255))

Referenced by zoom_region_process_pixbuf().

#define CLAMP_LOW_MID | ( | v |  | ) | (t = (v), CLAMP (t, 0, 127))

Referenced by zoom_region_process_pixbuf().

#define CLAMP_MID_HIGH | ( | v |  | ) | (t = (v), CLAMP (t, 127, 255))

Referenced by zoom_region_process_pixbuf().

## Enumeration Type Documentation

anonymous enum

Enumerator:

  ZOOM_REGION_MANAGED_PROP |
  ZOOM_REGION_POLL_MOUSE_PROP |
  ZOOM_REGION_DRAW_CURSOR_PROP |
  ZOOM_REGION_SMOOTHSCROLL_PROP |
  ZOOM_REGION_COLORBLIND_PROP |
  ZOOM_REGION_INVERT_PROP |
  ZOOM_REGION_SMOOTHING_PROP |
  ZOOM_REGION_CONTRASTR_PROP |
  ZOOM_REGION_CONTRASTG_PROP |
  ZOOM_REGION_CONTRASTB_PROP |
  ZOOM_REGION_BRIGHTR_PROP |
  ZOOM_REGION_BRIGHTG_PROP |
  ZOOM_REGION_BRIGHTB_PROP |
  ZOOM_REGION_XSCALE_PROP |
  ZOOM_REGION_YSCALE_PROP |
  ZOOM_REGION_BORDERSIZE_PROP |
  ZOOM_REGION_BORDERSIZETOP_PROP |
  ZOOM_REGION_BORDERSIZELEFT_PROP |
  ZOOM_REGION_BORDERSIZERIGHT_PROP |
  ZOOM_REGION_BORDERSIZEBOTTOM_PROP |
  ZOOM_REGION_BORDERCOLOR_PROP |
  ZOOM_REGION_XALIGN_PROP |
  ZOOM_REGION_YALIGN_PROP |
  ZOOM_REGION_VIEWPORT_PROP |
  ZOOM_REGION_TESTPATTERN_PROP |
  ZOOM_REGION_TIMING_TEST_PROP |
  ZOOM_REGION_TIMING_OUTPUT_PROP |
  ZOOM_REGION_TIMING_PAN_RATE_PROP |
  ZOOM_REGION_EXIT_MAGNIFIER |

Definition at line 64 of file zoom-region.c.

enum ZoomRegionPixmapCreationError

Enumerator:

  ZOOM_REGION_ERROR_NONE |
  ZOOM_REGION_ERROR_NO_TARGET_DRAWABLE |
  ZOOM_REGION_ERROR_TOO_BIG |

Definition at line 131 of file zoom-region.c.

## Function Documentation

static void zoom_region_sync | ( | ZoomRegion * | region | ) | `[static]`

Definition at line 2198 of file zoom-region.c.

References ZoomRegion::priv, _ZoomRegionPrivate::q, and zoom_region_process_updates().

Referenced by impl_dbus_zoom_region_set_mag_factor(), and impl_zoom_region_set_mag_factor().

static void zoom_region_finalize | ( | GObject * | object | ) | `[static]`

Definition at line 4376 of file zoom-region.c.

References _ZoomRegionPrivate::border, _ZoomRegionPrivate::cursor_backing_pixels, DBG, _ZoomRegionPrivate::parent, _ZoomRegionPrivate::pixmap, ZoomRegion::priv, _ZoomRegionPrivate::q, _ZoomRegionPrivate::scaled_pixbuf, _ZoomRegionPrivate::source_pixbuf_cache, _ZoomRegionPrivate::w, and zoom_region.

Referenced by zoom_region_class_init().

static void zoom_region_update | ( | ZoomRegion * | zoom_region,
|  | const GdkRectangle | update_rect |
| ) |  |  | `[static]`

zoom_region_update:

: a RectBounds structure indicating the source area to update, in the source coordinate system.

Definition at line 1942 of file zoom-region.c.

References mag_timing, timing::num_scale_samples, ZoomRegion::priv, timing::scale, timing::scale_total, timing::scale_val, ZoomRegion::timing_output, timing_scale_max, timing_test, update_nrr_max, timing::update_pixels_total, _ZoomRegionPrivate::w, zoom_region_paint(), and zoom_region_update_pixmap().

Referenced by zoom_region_process_updates(), and zoom_region_update_current().

static void zoom_region_queue_update | ( | ZoomRegion * | zoom_region,
|  | const GdkRectangle | rect |
| ) |  |  | `[static]`

Definition at line 734 of file zoom-region.c.

References DEBUG_RECT, ZoomRegion::priv, _ZoomRegionPrivate::q, _ZoomRegionPrivate::update_handler_id, and zoom_region_process_updates().

Referenced by impl_dbus_zoom_region_mark_dirty(), impl_zoom_region_mark_dirty(), zoom_region_coalesce_updates(), zoom_region_scroll(), and zoom_region_set_viewport().

static int zoom_region_process_updates | ( | gpointer | data | ) | `[static]`

Definition at line 2042 of file zoom-region.c.

References ZoomRegion::priv, _ZoomRegionPrivate::q, _ZoomRegionPrivate::update_handler_id, zoom_region, zoom_region_coalesce_updates(), and zoom_region_update().

Referenced by zoom_region_pan_test(), zoom_region_queue_update(), and zoom_region_sync().

static void zoom_region_paint | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle * | rect |
| ) |  |  | `[static]`

Note: clips to region's current GdkWindow.

Definition at line 1190 of file zoom-region.c.

References DEBUG_RECT, zoom_region_clip_to_window(), zoom_region_paint_crosswire_cursor(), zoom_region_paint_cursor(), and zoom_region_paint_pixmap().

Referenced by zoom_region_expose_handler(), and zoom_region_update().

static void zoom_region_paint_pixmap | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle * | rect |
| ) |  |  | `[static]`

Definition at line 1159 of file zoom-region.c.

References _ZoomRegionPrivate::default_gc, _ZoomRegionPrivate::exposed_bounds, _ZoomRegionPrivate::pixmap, ZoomRegion::priv, _ZoomRegionPrivate::source_area, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, and ZoomRegion::yscale.

Referenced by zoom_region_paint(), zoom_region_unpaint_crosswire_cursor(), and zoom_region_unpaint_cursor().

static int zoom_region_update_pointer_timeout | ( | gpointer | data | ) | `[static]`

Definition at line 1536 of file zoom-region.c.

References ZoomRegion::priv, _ZoomRegionPrivate::update_pointer_id, zoom_region, zoom_region_update_pointer(), and zoom_region_update_pointer_idle().

Referenced by impl_dbus_zoom_region_set_poll_mouse(), zoom_region_init(), zoom_region_set_property(), and zoom_region_update_pointer_idle().

static GdkRectangle zoom_region_rect_from_bounds | ( | ZoomRegion * | zoom_region,
|  | const GNOME_Magnifier_RectBounds * | bounds |
| ) |  |  | `[static]`

Definition at line 678 of file zoom-region.c.

References GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

Referenced by impl_dbus_zoom_region_mark_dirty(), impl_zoom_region_mark_dirty(), zoom_region_clip_to_source(), zoom_region_coalesce_updates(), zoom_region_create_pixmap(), and zoom_region_paint_cursor().

static ZoomRegionPixmapCreationError zoom_region_create_pixmap | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 1206 of file zoom-region.c.

References DEBUG_RECT, _ZoomRegionPrivate::parent, _ZoomRegionPrivate::pixmap, ZoomRegion::priv, _ZoomRegionPrivate::source_area, ZoomRegion::viewport, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, ZoomRegion::yscale, ZOOM_REGION_ERROR_NO_TARGET_DRAWABLE, ZOOM_REGION_ERROR_NONE, ZOOM_REGION_ERROR_TOO_BIG, zoom_region_rect_from_bounds(), and zoom_region_source_rect_from_view_bounds().

Referenced by zoom_region_expose_handler(), zoom_region_set_viewport(), zoom_region_update_current(), and zoom_region_update_scale().

static GdkRectangle zoom_region_update_pixmap | ( | ZoomRegion * | zoom_region,
|  | const GdkRectangle | update_rect,
|  | GdkRectangle * | paint_rect |
| ) |  |  | `[static]`

XXX: We seem to be breaking with the original intention here, which was to keep a fullscreen scaled pixbuf in-sync.

Definition at line 1843 of file zoom-region.c.

References DEBUG_RECT, _ZoomRegionPrivate::default_gc, _ZoomRegionPrivate::exposed_bounds, _ZoomRegionPrivate::gdk_interp_type, mag_timing, _ZoomRegionPrivate::pixmap, ZoomRegion::priv, timing::scale, _ZoomRegionPrivate::scaled_pixbuf, _ZoomRegionPrivate::source_area, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, ZoomRegion::yscale, zoom_region_clip_to_exposed_target(), zoom_region_clip_to_source(), zoom_region_get_source_subwindow(), zoom_region_post_process_pixbuf(), zoom_region_process_pixbuf(), and zoom_region_view_rect_from_source_rect().

Referenced by zoom_region_expose_handler(), zoom_region_scroll(), and zoom_region_update().

static void zoom_region_get_move_x_y | ( | ZoomRegion * | zoom_region,
|  | long * | x,
|  | long * | y |
| ) |  |  | `[static]`

Definition at line 2236 of file zoom-region.c.

References GNOME_Magnifier_ZoomRegion_ALIGN_CENTER, GNOME_Magnifier_ZoomRegion_ALIGN_MAX, GNOME_Magnifier_ZoomRegion_ALIGN_MIN, ZoomRegion::roi, ZoomRegion::viewport, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::x_align_policy, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, ZoomRegion::y_align_policy, and ZoomRegion::yscale.

Referenced by zoom_region_align(), and zoom_region_update_scale().

static void zoom_region_recompute_exposed_bounds | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 1457 of file zoom-region.c.

References _ZoomRegionPrivate::exposed_bounds, ZoomRegion::priv, ZoomRegion::viewport, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

Referenced by zoom_region_moveto(), and zoom_region_update_scale().

static void zoom_region_update_current | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 757 of file zoom-region.c.

References _ZoomRegionPrivate::pixmap, ZoomRegion::priv, ZoomRegion::viewport, zoom_region_create_pixmap(), ZOOM_REGION_ERROR_NONE, zoom_region_source_rect_from_view_bounds(), and zoom_region_update().

Referenced by impl_dbus_zoom_region_set_brightness(), impl_dbus_zoom_region_set_colorblind(), impl_dbus_zoom_region_set_contrast(), impl_dbus_zoom_region_set_invert(), impl_dbus_zoom_region_set_smoothing(), impl_dbus_zoom_region_set_testpattern(), impl_zoom_region_set_brightness(), impl_zoom_region_set_contrast(), zoom_region_set_property(), and zoom_region_update_scale().

void reset_timing_stats | ( |  | ) |

Definition at line 176 of file zoom-region.c.

References cps_max, timing::dx_total, timing::dy_total, timing::frame_total, timing::idle_total, timing::last_dy, timing::last_frame_val, mag_timing, nrr_max, timing::num_frame_samples, timing::num_idle_samples, timing::num_line_samples, timing::num_scale_samples, timing::process, timing::scale_total, timing_frame_max, timing_idle_max, timing_scale_max, update_nrr_max, and timing::update_pixels_total.

Referenced by zoom_region_class_init(), and zoom_region_time_frame().

static void _debug_announce_rect | ( | char * | msg,
|  | GdkRectangle | rect |
| ) |  |  | `[static]`

Definition at line 209 of file zoom-region.c.

Referenced by zoom_region_get_source_subwindow().

static void _set_bounds | ( | RectBounds * | struct_bounds,
|  | const gint32 ** | vector_bounds |
| ) |  |  | `[static]`

Definition at line 216 of file zoom-region.c.

References RectBounds::x1, RectBounds::x2, RectBounds::y1, and RectBounds::y2.

Referenced by impl_dbus_zoom_region_set_roi().

static gboolean _diff_pixbufs | ( | const GdkPixbuf * | a,
|  | const GdkPixbuf * | b |
| ) |  |  | `[static]`

Definition at line 225 of file zoom-region.c.

Referenced by zoom_region_get_source_subwindow().

static GList* _coalesce_update_rects | ( | GList * | q,
|  | int | min_coalesce_length |
| ) |  |  | `[static]`

_coalesce_update_rects : coalesces multiple "vertical" rects and "horizontal" rects into one of each.

Can result in overlapping/larger update area for tiled rects, but reduces queue size dramatically.

Definition at line 469 of file zoom-region.c.

References _is_horizontal_rect, and _is_vertical_rect.

Referenced by zoom_region_init().

static GdkRectangle _rectangle_clip_to_rectangle | ( | GdkRectangle | area,
|  | GdkRectangle | clip_rect |
| ) |  |  | `[static]`

COORDINATE CONVERSIONS.

clip an area in source coords to the exposed target area

Definition at line 538 of file zoom-region.c.

Referenced by zoom_region_clip_to_scaled_pixmap(), and zoom_region_clip_to_window().

static GdkRectangle _rectangle_clip_to_bounds | ( | GdkRectangle | area,
|  | GNOME_Magnifier_RectBounds * | clip_bounds |
| ) |  |  | `[static]`

Definition at line 550 of file zoom-region.c.

References GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

Referenced by zoom_region_clip_to_exposed_target(), and zoom_region_clip_to_source().

static GdkRectangle zoom_region_clip_to_source | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle | area |
| ) |  |  | `[static]`

Definition at line 563 of file zoom-region.c.

References _rectangle_clip_to_bounds(), DEBUG_RECT, _ZoomRegionPrivate::parent, ZoomRegion::priv, and zoom_region_rect_from_bounds().

Referenced by impl_dbus_zoom_region_mark_dirty(), impl_dbus_zoom_region_set_pointer_pos(), impl_zoom_region_mark_dirty(), impl_zoom_region_set_pointer_pos(), and zoom_region_update_pixmap().

static GdkRectangle zoom_region_clip_to_exposed_target | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle | area |
| ) |  |  | `[static]`

Definition at line 577 of file zoom-region.c.

References _rectangle_clip_to_bounds(), _ZoomRegionPrivate::exposed_bounds, ZoomRegion::priv, _ZoomRegionPrivate::source_area, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, and ZoomRegion::yscale.

Referenced by zoom_region_update_pixmap().

static GdkRectangle zoom_region_clip_to_scaled_pixmap | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle | area |
| ) |  |  | `[static]`

Definition at line 600 of file zoom-region.c.

References _rectangle_clip_to_rectangle(), _ZoomRegionPrivate::pixmap, and ZoomRegion::priv.

static GdkRectangle zoom_region_clip_to_window | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle | area |
| ) |  |  | `[static]`

Definition at line 614 of file zoom-region.c.

References _rectangle_clip_to_rectangle(), ZoomRegion::priv, and _ZoomRegionPrivate::w.

Referenced by zoom_region_paint().

static GdkRectangle zoom_region_source_rect_from_view_bounds | ( | ZoomRegion * | zoom_region,
|  | const GNOME_Magnifier_RectBounds * | view_bounds |
| ) |  |  | `[static]`

Definition at line 636 of file zoom-region.c.

References _ZoomRegionPrivate::exposed_bounds, ZoomRegion::priv, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, and ZoomRegion::yscale.

Referenced by zoom_region_create_pixmap(), zoom_region_set_viewport(), and zoom_region_update_current().

static GdkRectangle zoom_region_view_rect_from_source_rect | ( | ZoomRegion * | zoom_region,
|  | const GdkRectangle | source_rect |
| ) |  |  | `[static]`

Definition at line 650 of file zoom-region.c.

References DEBUG_RECT, _ZoomRegionPrivate::exposed_bounds, ZoomRegion::priv, GNOME_Magnifier_RectBounds_type::x1, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, and ZoomRegion::yscale.

Referenced by zoom_region_cursor_rect(), zoom_region_paint_crosswire_cursor(), and zoom_region_update_pixmap().

static GdkRectangle zoom_region_source_rect_from_view_rect | ( | ZoomRegion * | zoom_region,
|  | const GdkRectangle | view_rect |
| ) |  |  | `[static]`

Definition at line 664 of file zoom-region.c.

References _ZoomRegionPrivate::exposed_bounds, ZoomRegion::priv, GNOME_Magnifier_RectBounds_type::x1, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, and ZoomRegion::yscale.

Referenced by zoom_region_scroll().

static CORBA_boolean zoom_region_update_scale | ( | ZoomRegion * | zoom_region,
|  | gdouble | x,
|  | gdouble | y |
| ) |  |  | `[static]`

**************

Definition at line 692 of file zoom-region.c.

References _ZoomRegionPrivate::exposed_bounds, _ZoomRegionPrivate::pixmap, ZoomRegion::priv, _ZoomRegionPrivate::scaled_pixbuf, _ZoomRegionPrivate::source_area, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, ZoomRegion::yscale, zoom_region_create_pixmap(), ZOOM_REGION_ERROR_TOO_BIG, zoom_region_get_move_x_y(), zoom_region_recompute_exposed_bounds(), and zoom_region_update_current().

Referenced by impl_dbus_zoom_region_set_mag_factor(), impl_zoom_region_set_mag_factor(), and zoom_region_set_property().

static GdkRectangle zoom_region_cursor_rect | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 776 of file zoom-region.c.

References Magnifier::cursor_hotspot, _ZoomRegionPrivate::last_cursor_pos, magnifier_get_cursor(), _ZoomRegionPrivate::parent, ZoomRegion::priv, GNOME_Magnifier_Point_type::x, GNOME_Magnifier_Point_type::y, and zoom_region_view_rect_from_source_rect().

Referenced by zoom_region_paint_cursor().

static void zoom_region_unpaint_crosswire_cursor | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle * | clip_rect |
| ) |  |  | `[static]`

Definition at line 796 of file zoom-region.c.

References Magnifier::crosswire_size, _ZoomRegionPrivate::last_drawn_crosswire_pos, _ZoomRegionPrivate::parent, ZoomRegion::priv, and zoom_region_paint_pixmap().

Referenced by zoom_region_scroll_fast(), and zoom_region_update_cursor().

static void zoom_region_paint_crosswire_cursor | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle * | clip_rect |
| ) |  |  | `[static]`

Definition at line 823 of file zoom-region.c.

References Magnifier::crosswire_clip, Magnifier::crosswire_color, _ZoomRegionPrivate::crosswire_gc, Magnifier::crosswire_length, Magnifier::crosswire_size, Magnifier::cursor_hotspot, _ZoomRegionPrivate::last_cursor_pos, magnifier_get_cursor(), _ZoomRegionPrivate::parent, ZoomRegion::priv, _ZoomRegionPrivate::w, GNOME_Magnifier_Point_type::x, GNOME_Magnifier_Point_type::y, and zoom_region_view_rect_from_source_rect().

Referenced by zoom_region_paint(), zoom_region_scroll_fast(), and zoom_region_update_cursor().

static void zoom_region_unpaint_cursor | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle * | clip_rect |
| ) |  |  | `[static]`

Definition at line 983 of file zoom-region.c.

References _ZoomRegionPrivate::cursor_backing_rect, ZoomRegion::priv, and zoom_region_paint_pixmap().

Referenced by impl_dbus_zoom_region_set_draw_cursor(), zoom_region_scroll_fast(), zoom_region_set_property(), and zoom_region_update_cursor().

static void zoom_region_paint_cursor | ( | ZoomRegion * | zoom_region,
|  | GdkRectangle * | clip_rect |
| ) |  |  | `[static]`

Definition at line 994 of file zoom-region.c.

References _ZoomRegionPrivate::cursor_backing_pixels, _ZoomRegionPrivate::cursor_backing_rect, Magnifier::cursor_hotspot, _MagnifierPrivate::cursor_mask, DEBUG_RECT, _ZoomRegionPrivate::default_gc, ZoomRegion::draw_cursor, _ZoomRegionPrivate::last_drawn_crosswire_pos, magnifier_get_cursor(), _ZoomRegionPrivate::paint_cursor_gc, _ZoomRegionPrivate::parent, Magnifier::priv, ZoomRegion::priv, ZoomRegion::viewport, _ZoomRegionPrivate::w, GNOME_Magnifier_Point_type::x, GNOME_Magnifier_Point_type::y, zoom_region_cursor_rect(), and zoom_region_rect_from_bounds().

Referenced by zoom_region_paint(), zoom_region_scroll_fast(), and zoom_region_update_cursor().

static void zoom_region_coalesce_updates | ( | ZoomRegion * | zoom_region | ) | `[static]`

zoom_region_coalesce_updates:

Definition at line 1090 of file zoom-region.c.

References can_coalesce, ZoomRegion::coalesce_func, ZoomRegion::priv, _ZoomRegionPrivate::q, _ZoomRegionPrivate::source_area, zoom_region_queue_update(), and zoom_region_rect_from_bounds().

Referenced by zoom_region_process_updates().

static void zoom_region_paint_border | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 1129 of file zoom-region.c.

References _ZoomRegionPrivate::border, ZoomRegion::border_color, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, and ZoomRegion::priv.

Referenced by impl_dbus_zoom_region_set_bordercolor(), and zoom_region_set_property().

static void zoom_region_expose_handler | ( | GtkWindow * | w,
|  | GdkEventExpose * | event,
|  | gpointer | data |
| ) |  |  | `[static]`

Definition at line 1242 of file zoom-region.c.

References DEBUG_RECT, _ZoomRegionPrivate::pixmap, ZoomRegion::priv, ZoomRegion::xscale, ZoomRegion::yscale, zoom_region, zoom_region_create_pixmap(), ZOOM_REGION_ERROR_NO_TARGET_DRAWABLE, ZOOM_REGION_ERROR_TOO_BIG, zoom_region_paint(), and zoom_region_update_pixmap().

Referenced by zoom_region_init_window().

static void zoom_region_update_cursor | ( | ZoomRegion * | zoom_region,
|  | int | dx,
|  | int | dy,
|  | GdkRectangle * | clip_rect |
| ) |  |  | `[static]`

Definition at line 1273 of file zoom-region.c.

References _ZoomRegionPrivate::cursor_backing_rect, _ZoomRegionPrivate::last_drawn_crosswire_pos, ZoomRegion::priv, _ZoomRegionPrivate::w, zoom_region_paint_crosswire_cursor(), zoom_region_paint_cursor(), zoom_region_unpaint_crosswire_cursor(), and zoom_region_unpaint_cursor().

Referenced by impl_dbus_zoom_region_update_pointer(), impl_zoom_region_update_pointer(), and zoom_region_update_pointer().

static gboolean zoom_region_calculate_scroll_rects | ( | ZoomRegion * | zoom_region,
|  | int | dx,
|  | int | dy,
|  | GdkRectangle * | scroll_rect,
|  | GdkRectangle * | expose_rect_h,
|  | GdkRectangle * | expose_rect_v |
| ) |  |  | `[static]`

Definition at line 1294 of file zoom-region.c.

References DBG, ZoomRegion::priv, and _ZoomRegionPrivate::w.

Referenced by zoom_region_scroll().

static void zoom_region_scroll_fast | ( | ZoomRegion * | zoom_region,
|  | int | dx,
|  | int | dy,
|  | GdkRectangle * | scroll_rect,
|  | GdkRectangle * | expose_rect_h,
|  | GdkRectangle * | expose_rect_v |
| ) |  |  | `[static]`

Definition at line 1348 of file zoom-region.c.

References GNOME_Magnifier_ZoomRegion_SCROLL_FASTEST, ZoomRegion::priv, processing_updates, ZoomRegion::smooth_scroll_policy, _ZoomRegionPrivate::w, zoom_region_paint_crosswire_cursor(), zoom_region_paint_cursor(), zoom_region_unpaint_crosswire_cursor(), and zoom_region_unpaint_cursor().

Referenced by zoom_region_scroll().

static void zoom_region_scroll_smooth | ( | ZoomRegion * | zoom_region,
|  | int | dx,
|  | int | dy,
|  | GdkRectangle * | scroll_rect,
|  | GdkRectangle * | expose_rect_h,
|  | GdkRectangle * | expose_rect_v |
| ) |  |  | `[static]`

Definition at line 1377 of file zoom-region.c.

References ZoomRegion::priv, and _ZoomRegionPrivate::w.

Referenced by zoom_region_scroll().

static void zoom_region_scroll | ( | ZoomRegion * | zoom_region,
|  | int | dx,
|  | int | dy |
| ) |  |  | `[static]`

Definition at line 1403 of file zoom-region.c.

References timing::dx, timing::dx_total, timing::dy, timing::dy_total, GNOME_Magnifier_ZoomRegion_SCROLL_FAST, mag_timing, timing::num_line_samples, processing_updates, ZoomRegion::smooth_scroll_policy, ZoomRegion::timing_output, timing_test, zoom_region_calculate_scroll_rects(), zoom_region_queue_update(), zoom_region_scroll_fast(), zoom_region_scroll_smooth(), zoom_region_source_rect_from_view_rect(), and zoom_region_update_pixmap().

Referenced by zoom_region_moveto().

static void zoom_region_set_cursor_pos | ( | ZoomRegion * | zoom_region,
|  | int | x,
|  | int | y |
| ) |  |  | `[static]`

Definition at line 1466 of file zoom-region.c.

References _ZoomRegionPrivate::last_cursor_pos, and ZoomRegion::priv.

Referenced by impl_dbus_zoom_region_set_pointer_pos(), impl_zoom_region_set_pointer_pos(), and zoom_region_update_pointer().

static gboolean zoom_region_update_pointer | ( | ZoomRegion * | zoom_region,
|  | gboolean | draw_cursor |
| ) |  |  | `[static]`

Definition at line 1476 of file zoom-region.c.

References _ZoomRegionPrivate::last_cursor_pos, magnifier_get_root(), _ZoomRegionPrivate::parent, ZoomRegion::poll_mouse, Magnifier::priv, ZoomRegion::priv, zoom_region_set_cursor_pos(), and zoom_region_update_cursor().

Referenced by impl_dbus_zoom_region_mark_dirty(), impl_zoom_region_mark_dirty(), zoom_region_moveto(), zoom_region_update_pointer_idle(), and zoom_region_update_pointer_timeout().

static int zoom_region_update_pointer_idle | ( | gpointer | data | ) | `[static]`

Definition at line 1517 of file zoom-region.c.

References ZoomRegion::priv, _ZoomRegionPrivate::update_pointer_id, zoom_region, zoom_region_update_pointer(), and zoom_region_update_pointer_timeout().

Referenced by zoom_region_update_pointer_timeout().

static void zoom_region_moveto | ( | ZoomRegion * | zoom_region,
|  | const long | x,
|  | const long | y |
| ) |  |  | `[static]`

Definition at line 1553 of file zoom-region.c.

References timing::dx, timing::dy, _ZoomRegionPrivate::exposed_bounds, mag_timing, ZoomRegion::priv, GNOME_Magnifier_RectBounds_type::x1, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, ZoomRegion::yscale, zoom_region_recompute_exposed_bounds(), zoom_region_scroll(), and zoom_region_update_pointer().

Referenced by zoom_region_align().

static void zoom_region_process_pixbuf | ( | ZoomRegion * | zoom_region,
|  | GdkPixbuf * | pixbuf |
| ) |  |  | `[static]`

Definition at line 1580 of file zoom-region.c.

References ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, CLAMP_LOW_MID, CLAMP_MID_HIGH, CLAMP_UCHAR, ZoomRegion::color_blind_filter, ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_HUE_SHIFT_NEGATIVE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_HUE_SHIFT_POSITIVE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_MONOCHRONE_OTHERS, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_NO_FILTER, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE_BLUE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE_GREEN, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_DESSATURATE_RED, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_SATURATE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_SATURATE_BLUE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_SATURATE_GREEN, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_SELECTIVE_SATURATE_RED, and ZoomRegion::invert.

Referenced by zoom_region_update_pixmap().

static void zoom_region_post_process_pixbuf | ( | ZoomRegion * | zoom_region,
|  | GdkPixbuf * | subimage,
|  | GdkPixbuf * | scaled_image |
| ) |  |  | `[static]`

ADI: This is where your image smoothing code hooks into the magnifier. This routine can call others which post-process the GdkPixbuf before rendering to the screen.

We can make this a two-stage process also, whereby the post-process code is only called in a lower-priority idle handler, and queues repaints when it is done.

Definition at line 1722 of file zoom-region.c.

Referenced by zoom_region_update_pixmap().

static GdkPixbuf* zoom_region_get_source_subwindow | ( | ZoomRegion * | zoom_region,
|  | const GdkRectangle | bounds |
| ) |  |  | `[static]`

Definition at line 1739 of file zoom-region.c.

References _debug_announce_rect(), _diff_pixbufs(), ZoomRegion::cache_source, DEBUG_RECT, _ZoomRegionPrivate::default_gc, _ZoomRegionPrivate::parent, Magnifier::priv, ZoomRegion::priv, Magnifier::source_display, _MagnifierPrivate::source_drawable, _ZoomRegionPrivate::source_drawable, _ZoomRegionPrivate::source_pixbuf_cache, Magnifier::source_screen_num, _ZoomRegionPrivate::test, and _ZoomRegionPrivate::w.

Referenced by zoom_region_update_pixmap().

static void zoom_region_init_window | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 1993 of file zoom-region.c.

References _ZoomRegionPrivate::border, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, DBG, _ZoomRegionPrivate::expose_handler_id, _ZoomRegionPrivate::parent, ZoomRegion::priv, ZoomRegion::viewport, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, and zoom_region_expose_handler().

Referenced by zoom_region_set_viewport().

void timing_report | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2075 of file zoom-region.c.

References cps_max, timing::dx_total, timing::dy_total, timing::frame_total, timing::idle_total, mag_timing, nrr_max, timing::num_frame_samples, timing::num_idle_samples, timing::num_line_samples, timing::num_scale_samples, ZoomRegion::priv, timing::scale_total, timing_frame_max, timing_idle_max, timing_scale_max, timing_test, update_nrr_max, timing::update_pixels_total, ZoomRegion::viewport, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, and ZoomRegion::yscale.

Referenced by impl_dbus_zoom_region_set_roi(), impl_zoom_region_set_roi(), and zoom_region_time_frame().

static void zoom_region_time_frame | ( | ZoomRegion * | zoom_region,
|  | Magnifier * | magnifier |
| ) |  |  | `[static]`

Definition at line 2136 of file zoom-region.c.

References cps_max, timing::dx_total, timing::dy, timing::dy_total, timing::frame, timing::frame_total, timing::frame_val, timing::last_dy, timing::last_frame_val, mag_timing, nrr_max, timing::num_frame_samples, timing::num_line_samples, reset_timing, reset_timing_stats(), Magnifier::target_bounds, timing_frame_max, ZoomRegion::timing_output, timing_report(), GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

Referenced by zoom_region_align().

static gboolean gdk_timing_idle | ( | gpointer | data | ) | `[static]`

Definition at line 2205 of file zoom-region.c.

References timing::idle, timing::idle_total, timing::idle_val, mag_timing, timing::num_idle_samples, processing_updates, timing_idle_max, ZoomRegion::timing_output, timing_test, and zoom_region.

Referenced by zoom_region_align().

static void zoom_region_align | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 2273 of file zoom-region.c.

References timing::frame, gdk_timing_idle(), timing::idle, mag_timing, timing::num_frame_samples, _ZoomRegionPrivate::parent, ZoomRegion::priv, timing::process, ZoomRegion::roi, ZoomRegion::timing_output, timing_start, timing_test, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, zoom_region_get_move_x_y(), zoom_region_moveto(), and zoom_region_time_frame().

Referenced by impl_dbus_zoom_region_set_roi(), impl_dbus_zoom_region_set_xalign(), impl_dbus_zoom_region_set_yalign(), impl_zoom_region_set_roi(), zoom_region_process_pending(), zoom_region_set_property(), and zoom_region_set_viewport().

static void zoom_region_set_viewport | ( | ZoomRegion * | zoom_region,
|  | const GNOME_Magnifier_RectBounds * | viewport |
| ) |  |  | `[static]`

Definition at line 2337 of file zoom-region.c.

References Bonobo_PropertyBag_getValue(), _ZoomRegionPrivate::border, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, _MagnifierPrivate::canvas, GNOME_Magnifier_Magnifier_getProperties(), _ZoomRegionPrivate::parent, _ZoomRegionPrivate::pixmap, Magnifier::priv, ZoomRegion::priv, _ZoomRegionPrivate::scaled_pixbuf, _ZoomRegionPrivate::source_area, ZoomRegion::viewport, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::xscale, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, ZoomRegion::yscale, zoom_region_align(), zoom_region_create_pixmap(), zoom_region_init_window(), zoom_region_queue_update(), and zoom_region_source_rect_from_view_bounds().

Referenced by impl_dbus_zoom_region_move_resize(), impl_dbus_zoom_region_set_viewport(), impl_zoom_region_move_resize(), and zoom_region_set_property().

static void zoom_region_get_property | ( | BonoboPropertyBag * | bag,
|  | BonoboArg * | arg,
|  | guint | arg_id,
|  | CORBA_Environment * | ev,
|  | gpointer | user_data |
| ) |  |  | `[static]`

Definition at line 2417 of file zoom-region.c.

References ZoomRegion::border_color, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, ZoomRegion::color_blind_filter, ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, DBG, ZoomRegion::draw_cursor, ex_Bonobo_PropertyBag_NotFound, ZoomRegion::exit_magnifier, ZoomRegion::invert, ZoomRegion::is_managed, ZoomRegion::poll_mouse, ZoomRegion::priv, ZoomRegion::smooth_scroll_policy, ZoomRegion::smoothing, TC_GNOME_Magnifier_RectBounds, _ZoomRegionPrivate::test, ZoomRegion::timing_iterations, ZoomRegion::timing_output, ZoomRegion::timing_pan_rate, ZoomRegion::viewport, ZoomRegion::x_align_policy, ZoomRegion::xscale, ZoomRegion::y_align_policy, ZoomRegion::yscale, zoom_region, ZOOM_REGION_BORDERCOLOR_PROP, ZOOM_REGION_BORDERSIZE_PROP, ZOOM_REGION_BORDERSIZEBOTTOM_PROP, ZOOM_REGION_BORDERSIZELEFT_PROP, ZOOM_REGION_BORDERSIZERIGHT_PROP, ZOOM_REGION_BORDERSIZETOP_PROP, ZOOM_REGION_BRIGHTB_PROP, ZOOM_REGION_BRIGHTG_PROP, ZOOM_REGION_BRIGHTR_PROP, ZOOM_REGION_COLORBLIND_PROP, ZOOM_REGION_CONTRASTB_PROP, ZOOM_REGION_CONTRASTG_PROP, ZOOM_REGION_CONTRASTR_PROP, ZOOM_REGION_DRAW_CURSOR_PROP, ZOOM_REGION_EXIT_MAGNIFIER, ZOOM_REGION_INVERT_PROP, ZOOM_REGION_MANAGED_PROP, ZOOM_REGION_POLL_MOUSE_PROP, ZOOM_REGION_SMOOTHING_PROP, ZOOM_REGION_SMOOTHSCROLL_PROP, ZOOM_REGION_TESTPATTERN_PROP, ZOOM_REGION_TIMING_OUTPUT_PROP, ZOOM_REGION_TIMING_PAN_RATE_PROP, ZOOM_REGION_TIMING_TEST_PROP, ZOOM_REGION_VIEWPORT_PROP, ZOOM_REGION_XALIGN_PROP, ZOOM_REGION_XSCALE_PROP, ZOOM_REGION_YALIGN_PROP, and ZOOM_REGION_YSCALE_PROP.

Referenced by zoom_region_properties_init().

static void zoom_region_update_borders | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 2533 of file zoom-region.c.

References _ZoomRegionPrivate::border, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, _ZoomRegionPrivate::parent, ZoomRegion::priv, ZoomRegion::viewport, _ZoomRegionPrivate::w, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

Referenced by impl_dbus_zoom_region_set_bordersizes(), and zoom_region_set_property().

gboolean impl_dbus_zoom_region_set_managed | ( | ZoomRegion * | zoom_region,
|  | gboolean | managed |
| ) |  |  |

Definition at line 2554 of file zoom-region.c.

References ZoomRegion::is_managed.

gboolean impl_dbus_zoom_region_get_managed | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2562 of file zoom-region.c.

References ZoomRegion::is_managed.

gboolean impl_dbus_zoom_region_set_poll_mouse | ( | ZoomRegion * | zoom_region,
|  | gboolean | poll_mouse |
| ) |  |  |

Definition at line 2568 of file zoom-region.c.

References ZoomRegion::poll_mouse, ZoomRegion::priv, _ZoomRegionPrivate::update_pointer_id, and zoom_region_update_pointer_timeout().

gboolean impl_dbus_zoom_region_get_poll_mouse | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2588 of file zoom-region.c.

References ZoomRegion::poll_mouse.

gboolean impl_dbus_zoom_region_set_draw_cursor | ( | ZoomRegion * | zoom_region,
|  | gboolean | draw_cursor |
| ) |  |  |

Definition at line 2594 of file zoom-region.c.

References ZoomRegion::draw_cursor, and zoom_region_unpaint_cursor().

gboolean impl_dbus_zoom_region_get_draw_cursor | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2605 of file zoom-region.c.

References ZoomRegion::draw_cursor.

gboolean impl_dbus_zoom_region_set_invert | ( | ZoomRegion * | zoom_region,
|  | gboolean | invert |
| ) |  |  |

Definition at line 2611 of file zoom-region.c.

References ZoomRegion::invert, and zoom_region_update_current().

gboolean impl_dbus_zoom_region_get_invert | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2620 of file zoom-region.c.

References ZoomRegion::invert.

gboolean impl_dbus_zoom_region_set_smoothscroll | ( | ZoomRegion * | zoom_region,
|  | gshort | smoothscroll |
| ) |  |  |

Definition at line 2626 of file zoom-region.c.

References ZoomRegion::smooth_scroll_policy.

gshort impl_dbus_zoom_region_get_smoothscroll | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2634 of file zoom-region.c.

References ZoomRegion::smooth_scroll_policy.

gboolean impl_dbus_zoom_region_set_colorblind | ( | ZoomRegion * | zoom_region,
|  | gshort | colorblind |
| ) |  |  |

Definition at line 2640 of file zoom-region.c.

References ZoomRegion::color_blind_filter, and zoom_region_update_current().

gshort impl_dbus_zoom_region_get_colorblind | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2649 of file zoom-region.c.

References ZoomRegion::color_blind_filter.

gboolean impl_dbus_zoom_region_set_smoothing | ( | ZoomRegion * | zoom_region,
|  | gchar * | smoothing |
| ) |  |  |

Definition at line 2655 of file zoom-region.c.

References _ZoomRegionPrivate::gdk_interp_type, ZoomRegion::priv, ZoomRegion::smoothing, and zoom_region_update_current().

gchar* impl_dbus_zoom_region_get_smoothing | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2669 of file zoom-region.c.

References ZoomRegion::smoothing.

gboolean impl_dbus_zoom_region_set_testpattern | ( | ZoomRegion * | zoom_region,
|  | gboolean | test |
| ) |  |  |

Definition at line 2675 of file zoom-region.c.

References ZoomRegion::priv, _ZoomRegionPrivate::source_drawable, _ZoomRegionPrivate::test, and zoom_region_update_current().

gboolean impl_dbus_zoom_region_get_testpattern | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2688 of file zoom-region.c.

References ZoomRegion::priv, and _ZoomRegionPrivate::test.

gboolean impl_dbus_zoom_region_set_bordersizes | ( | ZoomRegion * | zoom_region,
|  | gint32 ** | bordersizes |
| ) |  |  |

Definition at line 2694 of file zoom-region.c.

References ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, and zoom_region_update_borders().

GArray* impl_dbus_zoom_region_get_bordersizes | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2706 of file zoom-region.c.

References ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, and ZoomRegion::border_size_top.

gboolean impl_dbus_zoom_region_set_bordercolor | ( | ZoomRegion * | zoom_region,
|  | guint32 | bordercolor |
| ) |  |  |

Definition at line 2721 of file zoom-region.c.

References ZoomRegion::border_color, and zoom_region_paint_border().

guint32 impl_dbus_zoom_region_get_bordercolor | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2730 of file zoom-region.c.

References ZoomRegion::border_color.

gboolean impl_dbus_zoom_region_set_xalign | ( | ZoomRegion * | zoom_region,
|  | gint32 | align |
| ) |  |  |

Definition at line 2736 of file zoom-region.c.

References ZoomRegion::x_align_policy, and zoom_region_align().

gint32 impl_dbus_zoom_region_get_xalign | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2745 of file zoom-region.c.

References ZoomRegion::x_align_policy.

gboolean impl_dbus_zoom_region_set_yalign | ( | ZoomRegion * | zoom_region,
|  | gint32 | align |
| ) |  |  |

Definition at line 2751 of file zoom-region.c.

References ZoomRegion::y_align_policy, and zoom_region_align().

gint32 impl_dbus_zoom_region_get_yalign | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2760 of file zoom-region.c.

References ZoomRegion::y_align_policy.

gboolean impl_dbus_zoom_region_set_viewport | ( | ZoomRegion * | zoom_region,
|  | gint32 ** | viewport |
| ) |  |  |

Definition at line 2766 of file zoom-region.c.

References GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, and zoom_region_set_viewport().

GArray* impl_dbus_zoom_region_get_viewport | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2783 of file zoom-region.c.

References ZoomRegion::viewport, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

gboolean impl_dbus_zoom_region_set_timing_test | ( | ZoomRegion * | zoom_region,
|  | gint32 | timing_iterations |
| ) |  |  |

Definition at line 2798 of file zoom-region.c.

References ZoomRegion::timing_iterations, and timing_test.

gint32 impl_dbus_zoom_region_get_timing_test | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2807 of file zoom-region.c.

References ZoomRegion::timing_iterations.

gboolean impl_dbus_zoom_region_set_timing_output | ( | ZoomRegion * | zoom_region,
|  | gboolean | timing_output |
| ) |  |  |

Definition at line 2813 of file zoom-region.c.

References ZoomRegion::timing_output.

gboolean impl_dbus_zoom_region_get_timing_output | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2821 of file zoom-region.c.

References ZoomRegion::timing_output.

gboolean impl_dbus_zoom_region_set_timing_pan_rate | ( | ZoomRegion * | zoom_region,
|  | gint32 | timing_pan_rate |
| ) |  |  |

Definition at line 2827 of file zoom-region.c.

References ZoomRegion::timing_pan_rate, and timing_test.

gint32 impl_dbus_zoom_region_get_timing_pan_rate | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2836 of file zoom-region.c.

References ZoomRegion::timing_pan_rate.

gboolean impl_dbus_zoom_region_set_exit_magnifier | ( | ZoomRegion * | zoom_region,
|  | gboolean | exit_magnifier |
| ) |  |  |

Definition at line 2842 of file zoom-region.c.

References ZoomRegion::exit_magnifier.

gboolean impl_dbus_zoom_region_get_exit_magnifier | ( | ZoomRegion * | zoom_region | ) |

Definition at line 2850 of file zoom-region.c.

References ZoomRegion::exit_magnifier.

static void zoom_region_set_property | ( | BonoboPropertyBag * | bag,
|  | BonoboArg * | arg,
|  | guint | arg_id,
|  | CORBA_Environment * | ev,
|  | gpointer | user_data |
| ) |  |  | `[static]`

Definition at line 2856 of file zoom-region.c.

References ZoomRegion::border_color, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, CLAMP_B_C, ZoomRegion::color_blind_filter, ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, DBG, ZoomRegion::draw_cursor, ex_Bonobo_PropertyBag_NotFound, ZoomRegion::exit_magnifier, _ZoomRegionPrivate::gdk_interp_type, ZoomRegion::invert, ZoomRegion::is_managed, ZoomRegion::poll_mouse, ZoomRegion::priv, ZoomRegion::smooth_scroll_policy, ZoomRegion::smoothing, _ZoomRegionPrivate::source_drawable, TC_GNOME_Magnifier_RectBounds, _ZoomRegionPrivate::test, ZoomRegion::timing_iterations, ZoomRegion::timing_output, ZoomRegion::timing_pan_rate, timing_test, _ZoomRegionPrivate::update_pointer_id, ZoomRegion::x_align_policy, ZoomRegion::xscale, ZoomRegion::y_align_policy, ZoomRegion::yscale, zoom_region, zoom_region_align(), ZOOM_REGION_BORDERCOLOR_PROP, ZOOM_REGION_BORDERSIZE_PROP, ZOOM_REGION_BORDERSIZEBOTTOM_PROP, ZOOM_REGION_BORDERSIZELEFT_PROP, ZOOM_REGION_BORDERSIZERIGHT_PROP, ZOOM_REGION_BORDERSIZETOP_PROP, ZOOM_REGION_BRIGHTB_PROP, ZOOM_REGION_BRIGHTG_PROP, ZOOM_REGION_BRIGHTR_PROP, ZOOM_REGION_COLORBLIND_PROP, ZOOM_REGION_CONTRASTB_PROP, ZOOM_REGION_CONTRASTG_PROP, ZOOM_REGION_CONTRASTR_PROP, ZOOM_REGION_DRAW_CURSOR_PROP, ZOOM_REGION_EXIT_MAGNIFIER, ZOOM_REGION_INVERT_PROP, ZOOM_REGION_MANAGED_PROP, zoom_region_paint_border(), ZOOM_REGION_POLL_MOUSE_PROP, zoom_region_set_viewport(), ZOOM_REGION_SMOOTHING_PROP, ZOOM_REGION_SMOOTHSCROLL_PROP, ZOOM_REGION_TESTPATTERN_PROP, ZOOM_REGION_TIMING_OUTPUT_PROP, ZOOM_REGION_TIMING_PAN_RATE_PROP, ZOOM_REGION_TIMING_TEST_PROP, zoom_region_unpaint_cursor(), zoom_region_update_borders(), zoom_region_update_current(), zoom_region_update_pointer_timeout(), zoom_region_update_scale(), ZOOM_REGION_VIEWPORT_PROP, ZOOM_REGION_XALIGN_PROP, ZOOM_REGION_XSCALE_PROP, ZOOM_REGION_YALIGN_PROP, and ZOOM_REGION_YSCALE_PROP.

Referenced by zoom_region_properties_init().

static int zoom_region_process_pending | ( | gpointer | data | ) | `[static]`

Definition at line 3032 of file zoom-region.c.

References zoom_region, and zoom_region_align().

Referenced by impl_dbus_zoom_region_set_roi(), and impl_zoom_region_set_roi().

static int zoom_region_pan_test | ( | gpointer | data | ) | `[static]`

Definition at line 3044 of file zoom-region.c.

References CORBA_sequence_CORBA_Object::_buffer, CORBA_sequence_CORBA_Object::_length, _MagnifierPrivate::cursor_x, _MagnifierPrivate::cursor_y, ZoomRegion::exit_magnifier, timing::frame_total, GNOME_Magnifier_Magnifier_getZoomRegions(), GNOME_Magnifier_ZoomRegion_setROI(), mag_timing, _ZoomRegionPrivate::parent, Magnifier::priv, ZoomRegion::priv, timing::process, reset_timing, ZoomRegion::roi, Magnifier::source_display, Magnifier::source_screen_num, ZoomRegion::timing_iterations, ZoomRegion::timing_pan_rate, ZoomRegion::viewport, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, ZoomRegion::yscale, zoom_region, and zoom_region_process_updates().

Referenced by impl_dbus_zoom_region_set_roi(), and impl_zoom_region_set_roi().

static void impl_zoom_region_set_pointer_pos | ( | PortableServer_Servant | servant,
|  | const CORBA_long | mouse_x,
|  | const CORBA_long | mouse_y,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3135 of file zoom-region.c.

References DBG, ZoomRegion::priv, _ZoomRegionPrivate::w, ZOOM_REGION, zoom_region, zoom_region_clip_to_source(), and zoom_region_set_cursor_pos().

Referenced by zoom_region_class_init().

static void impl_zoom_region_set_contrast | ( | PortableServer_Servant | servant,
|  | const CORBA_float | R,
|  | const CORBA_float | G,
|  | const CORBA_float | B,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3176 of file zoom-region.c.

References CLAMP_B_C, ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, DBG, ZOOM_REGION, zoom_region, and zoom_region_update_current().

Referenced by zoom_region_class_init().

static void impl_zoom_region_get_contrast | ( | PortableServer_Servant | servant,
|  | CORBA_float * | R,
|  | CORBA_float * | G,
|  | CORBA_float * | B,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3205 of file zoom-region.c.

References ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, ZOOM_REGION, and zoom_region.

Referenced by zoom_region_class_init().

static void impl_zoom_region_set_brightness | ( | PortableServer_Servant | servant,
|  | const CORBA_float | R,
|  | const CORBA_float | G,
|  | const CORBA_float | B,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3224 of file zoom-region.c.

References ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, CLAMP_B_C, DBG, ZOOM_REGION, zoom_region, and zoom_region_update_current().

Referenced by zoom_region_class_init().

static void impl_zoom_region_get_brightness | ( | PortableServer_Servant | servant,
|  | CORBA_float * | R,
|  | CORBA_float * | G,
|  | CORBA_float * | B,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3253 of file zoom-region.c.

References ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, ZOOM_REGION, and zoom_region.

Referenced by zoom_region_class_init().

static void impl_zoom_region_set_roi | ( | PortableServer_Servant | servant,
|  | const GNOME_Magnifier_RectBounds * | bounds,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3272 of file zoom-region.c.

References DBG, ZoomRegion::exit_magnifier, pending_idle_handler, processing_updates, ZoomRegion::roi, ZoomRegion::timing_output, ZoomRegion::timing_pan_rate, timing_report(), timing_test, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, ZOOM_REGION, zoom_region, zoom_region_align(), zoom_region_pan_test(), and zoom_region_process_pending().

Referenced by zoom_region_class_init().

static CORBA_boolean impl_zoom_region_set_mag_factor | ( | PortableServer_Servant | servant,
|  | const CORBA_float | mag_factor_x,
|  | const CORBA_float | mag_factor_y,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3349 of file zoom-region.c.

References Bonobo_PropertyBag_getValue(), GNOME_Magnifier_Magnifier_getProperties(), _ZoomRegionPrivate::parent, ZoomRegion::priv, _ZoomRegionPrivate::source_area, ZoomRegion::xscale, ZoomRegion::yscale, ZOOM_REGION, zoom_region, zoom_region_sync(), and zoom_region_update_scale().

Referenced by zoom_region_class_init().

static void impl_zoom_region_get_mag_factor | ( | PortableServer_Servant | servant,
|  | CORBA_float * | mag_factor_x,
|  | CORBA_float * | mag_factor_y,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3390 of file zoom-region.c.

References ZoomRegion::xscale, ZoomRegion::yscale, ZOOM_REGION, and zoom_region.

Referenced by zoom_region_class_init().

static Bonobo_PropertyBag impl_zoom_region_get_properties | ( | PortableServer_Servant | servant,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3406 of file zoom-region.c.

References ZoomRegion::properties, ZOOM_REGION, and zoom_region.

Referenced by zoom_region_class_init().

static void impl_zoom_region_update_pointer | ( | PortableServer_Servant | servant,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3420 of file zoom-region.c.

References ZOOM_REGION, zoom_region, and zoom_region_update_cursor().

Referenced by zoom_region_class_init().

static void impl_zoom_region_mark_dirty | ( | PortableServer_Servant | servant,
|  | const GNOME_Magnifier_RectBounds * | roi_dirty,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3434 of file zoom-region.c.

References DEBUG_RECT, ZOOM_REGION, zoom_region, zoom_region_clip_to_source(), zoom_region_queue_update(), zoom_region_rect_from_bounds(), and zoom_region_update_pointer().

Referenced by zoom_region_class_init().

static GNOME_Magnifier_RectBounds impl_zoom_region_get_roi | ( | PortableServer_Servant | servant,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3455 of file zoom-region.c.

References ZoomRegion::roi, ZOOM_REGION, and zoom_region.

Referenced by zoom_region_class_init().

static void impl_zoom_region_move_resize | ( | PortableServer_Servant | servant,
|  | const GNOME_Magnifier_RectBounds * | viewport_bounds,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3468 of file zoom-region.c.

References ZOOM_REGION, zoom_region, and zoom_region_set_viewport().

Referenced by zoom_region_class_init().

static void zoom_region_do_dispose | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 3483 of file zoom-region.c.

References DBG, _ZoomRegionPrivate::expose_handler_id, ZoomRegion::priv, _ZoomRegionPrivate::update_handler_id, _ZoomRegionPrivate::update_pointer_id, and _ZoomRegionPrivate::w.

Referenced by impl_dbus_zoom_region_dispose(), impl_zoom_region_dispose(), and zoom_region_dispose().

static void impl_zoom_region_dispose | ( | PortableServer_Servant | servant,
|  | CORBA_Environment * | ev |
| ) |  |  | `[static]`

Definition at line 3505 of file zoom-region.c.

References ZOOM_REGION, zoom_region, and zoom_region_do_dispose().

Referenced by zoom_region_class_init().

gboolean impl_dbus_zoom_region_dispose | ( | ZoomRegion * | zoom_region | ) |

Definition at line 3514 of file zoom-region.c.

References zoom_region_do_dispose().

Referenced by magnifier_dbus_unref_zoom_region().

gboolean impl_dbus_zoom_region_set_mag_factor | ( | ZoomRegion * | zoom_region,
|  | const gdouble | mag_factor_x,
|  | const gdouble | mag_factor_y |
| ) |  |  |

Definition at line 3522 of file zoom-region.c.

References Bonobo_PropertyBag_getValue(), GNOME_Magnifier_Magnifier_getProperties(), _ZoomRegionPrivate::parent, ZoomRegion::priv, _ZoomRegionPrivate::source_area, ZoomRegion::xscale, ZoomRegion::yscale, zoom_region_sync(), and zoom_region_update_scale().

Referenced by impl_dbus_magnifier_create_zoom_region().

GArray* impl_dbus_zoom_region_get_mag_factor | ( | ZoomRegion * | zoom_region | ) |

Definition at line 3559 of file zoom-region.c.

References ZoomRegion::xscale, and ZoomRegion::yscale.

gboolean impl_dbus_zoom_region_set_roi | ( | ZoomRegion * | zoom_region,
|  | const gint32 ** | roi |
| ) |  |  |

Definition at line 3572 of file zoom-region.c.

References _set_bounds(), DBG, ZoomRegion::exit_magnifier, pending_idle_handler, processing_updates, ZoomRegion::roi, ZoomRegion::timing_output, ZoomRegion::timing_pan_rate, timing_report(), timing_test, GNOME_Magnifier_RectBounds_type::x1, RectBounds::x1, GNOME_Magnifier_RectBounds_type::x2, RectBounds::x2, GNOME_Magnifier_RectBounds_type::y1, RectBounds::y1, GNOME_Magnifier_RectBounds_type::y2, RectBounds::y2, zoom_region_align(), zoom_region_pan_test(), and zoom_region_process_pending().

Referenced by impl_dbus_magnifier_create_zoom_region().

gboolean impl_dbus_zoom_region_update_pointer | ( | ZoomRegion * | zoom_region | ) |

Definition at line 3653 of file zoom-region.c.

References zoom_region_update_cursor().

gboolean impl_dbus_zoom_region_mark_dirty | ( | ZoomRegion * | zoom_region,
|  | gint32 ** | bounds |
| ) |  |  |

Definition at line 3665 of file zoom-region.c.

References DEBUG_RECT, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, zoom_region_clip_to_source(), zoom_region_queue_update(), zoom_region_rect_from_bounds(), and zoom_region_update_pointer().

GArray* impl_dbus_zoom_region_get_roi | ( | ZoomRegion * | zoom_region | ) |

Definition at line 3689 of file zoom-region.c.

References ZoomRegion::roi, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, and GNOME_Magnifier_RectBounds_type::y2.

gboolean impl_dbus_zoom_region_move_resize | ( | ZoomRegion * | zoom_region,
|  | const gint32 ** | viewport |
| ) |  |  |

Definition at line 3704 of file zoom-region.c.

References GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, GNOME_Magnifier_RectBounds_type::y1, GNOME_Magnifier_RectBounds_type::y2, and zoom_region_set_viewport().

Referenced by impl_dbus_magnifier_create_zoom_region().

gboolean impl_dbus_zoom_region_set_pointer_pos | ( | ZoomRegion * | zoom_region,
|  | gint32 | mouse_x,
|  | gint32 | mouse_y |
| ) |  |  |

Definition at line 3721 of file zoom-region.c.

References DBG, ZoomRegion::priv, _ZoomRegionPrivate::w, zoom_region_clip_to_source(), and zoom_region_set_cursor_pos().

gboolean impl_dbus_zoom_region_set_contrast | ( | ZoomRegion * | zoom_region,
|  | gdouble | R,
|  | gdouble | G,
|  | gdouble | B |
| ) |  |  |

Definition at line 3759 of file zoom-region.c.

References CLAMP_B_C, ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, DBG, and zoom_region_update_current().

GArray* impl_dbus_zoom_region_get_contrast | ( | ZoomRegion * | zoom_region | ) |

Definition at line 3784 of file zoom-region.c.

References ZoomRegion::contrast_b, ZoomRegion::contrast_g, and ZoomRegion::contrast_r.

gboolean impl_dbus_zoom_region_set_brightness | ( | ZoomRegion * | zoom_region,
|  | gdouble | R,
|  | gdouble | G,
|  | gdouble | B |
| ) |  |  |

Definition at line 3798 of file zoom-region.c.

References ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, CLAMP_B_C, DBG, and zoom_region_update_current().

GArray* impl_dbus_zoom_region_get_brightness | ( | ZoomRegion * | zoom_region | ) |

Definition at line 3823 of file zoom-region.c.

References ZoomRegion::bright_b, ZoomRegion::bright_g, and ZoomRegion::bright_r.

static void zoom_region_dispose | ( | GObject * | object | ) | `[static]`

Definition at line 3838 of file zoom-region.c.

References ZOOM_REGION, zoom_region, and zoom_region_do_dispose().

Referenced by zoom_region_class_init().

static void zoom_region_class_init | ( | ZoomRegionClass * | klass | ) | `[static]`

Definition at line 3848 of file zoom-region.c.

References client_debug, POA_GNOME_Magnifier_ZoomRegion__epv::dispose, ZoomRegionClass::epv, POA_GNOME_Magnifier_ZoomRegion__epv::getBrightness, POA_GNOME_Magnifier_ZoomRegion__epv::getContrast, POA_GNOME_Magnifier_ZoomRegion__epv::getMagFactor, POA_GNOME_Magnifier_ZoomRegion__epv::getProperties, POA_GNOME_Magnifier_ZoomRegion__epv::getROI, impl_zoom_region_dispose(), impl_zoom_region_get_brightness(), impl_zoom_region_get_contrast(), impl_zoom_region_get_mag_factor(), impl_zoom_region_get_properties(), impl_zoom_region_get_roi(), impl_zoom_region_mark_dirty(), impl_zoom_region_move_resize(), impl_zoom_region_set_brightness(), impl_zoom_region_set_contrast(), impl_zoom_region_set_mag_factor(), impl_zoom_region_set_pointer_pos(), impl_zoom_region_set_roi(), impl_zoom_region_update_pointer(), POA_GNOME_Magnifier_ZoomRegion__epv::markDirty, POA_GNOME_Magnifier_ZoomRegion__epv::moveResize, parent_class, reset_timing_stats(), POA_GNOME_Magnifier_ZoomRegion__epv::setBrightness, POA_GNOME_Magnifier_ZoomRegion__epv::setContrast, POA_GNOME_Magnifier_ZoomRegion__epv::setMagFactor, POA_GNOME_Magnifier_ZoomRegion__epv::setPointerPos, POA_GNOME_Magnifier_ZoomRegion__epv::setROI, POA_GNOME_Magnifier_ZoomRegion__epv::updatePointer, zoom_region_dispose(), and zoom_region_finalize().

static void zoom_region_properties_init | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 3879 of file zoom-region.c.

References Bonobo_PROPERTY_READABLE, Bonobo_PROPERTY_WRITEABLE, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_NO_FILTER, GNOME_Magnifier_ZoomRegion_SCROLL_FASTEST, ZoomRegion::properties, TC_GNOME_Magnifier_RectBounds, ZOOM_REGION_BORDERCOLOR_PROP, ZOOM_REGION_BORDERSIZE_PROP, ZOOM_REGION_BORDERSIZEBOTTOM_PROP, ZOOM_REGION_BORDERSIZELEFT_PROP, ZOOM_REGION_BORDERSIZERIGHT_PROP, ZOOM_REGION_BORDERSIZETOP_PROP, ZOOM_REGION_BRIGHTB_PROP, ZOOM_REGION_BRIGHTG_PROP, ZOOM_REGION_BRIGHTR_PROP, ZOOM_REGION_COLORBLIND_PROP, ZOOM_REGION_CONTRASTB_PROP, ZOOM_REGION_CONTRASTG_PROP, ZOOM_REGION_CONTRASTR_PROP, ZOOM_REGION_DRAW_CURSOR_PROP, ZOOM_REGION_EXIT_MAGNIFIER, zoom_region_get_property(), ZOOM_REGION_INVERT_PROP, ZOOM_REGION_MANAGED_PROP, ZOOM_REGION_POLL_MOUSE_PROP, zoom_region_set_property(), ZOOM_REGION_SMOOTHING_PROP, ZOOM_REGION_SMOOTHSCROLL_PROP, ZOOM_REGION_TESTPATTERN_PROP, ZOOM_REGION_TIMING_OUTPUT_PROP, ZOOM_REGION_TIMING_PAN_RATE_PROP, ZOOM_REGION_TIMING_TEST_PROP, ZOOM_REGION_VIEWPORT_PROP, ZOOM_REGION_XALIGN_PROP, ZOOM_REGION_XSCALE_PROP, ZOOM_REGION_YALIGN_PROP, and ZOOM_REGION_YSCALE_PROP.

Referenced by zoom_region_init().

static void zoom_region_private_init | ( | ZoomRegionPrivate * | priv | ) | `[static]`

Definition at line 4270 of file zoom-region.c.

References _ZoomRegionPrivate::crosswire_gc, _ZoomRegionPrivate::cursor_backing_pixels, _ZoomRegionPrivate::cursor_backing_rect, _ZoomRegionPrivate::default_gc, _ZoomRegionPrivate::expose_handler_id, _ZoomRegionPrivate::exposed_bounds, _ZoomRegionPrivate::gdk_interp_type, _ZoomRegionPrivate::last_cursor_pos, _ZoomRegionPrivate::last_drawn_crosswire_pos, _ZoomRegionPrivate::paint_cursor_gc, _ZoomRegionPrivate::parent, _ZoomRegionPrivate::pixmap, _ZoomRegionPrivate::q, _ZoomRegionPrivate::scaled_pixbuf, _ZoomRegionPrivate::source_area, _ZoomRegionPrivate::source_drawable, _ZoomRegionPrivate::source_pixbuf_cache, _ZoomRegionPrivate::test, _ZoomRegionPrivate::update_handler_id, _ZoomRegionPrivate::update_pointer_id, and _ZoomRegionPrivate::w.

Referenced by zoom_region_init().

static void zoom_region_init | ( | ZoomRegion * | zoom_region | ) | `[static]`

Definition at line 4300 of file zoom-region.c.

References _coalesce_update_rects(), ZoomRegion::border_color, ZoomRegion::border_size_bottom, ZoomRegion::border_size_left, ZoomRegion::border_size_right, ZoomRegion::border_size_top, ZoomRegion::bright_b, ZoomRegion::bright_g, ZoomRegion::bright_r, ZoomRegion::cache_source, ZoomRegion::coalesce_func, ZoomRegion::color_blind_filter, ZoomRegion::contrast_b, ZoomRegion::contrast_g, ZoomRegion::contrast_r, DBG, ZoomRegion::draw_cursor, GNOME_Magnifier_ZoomRegion_ALIGN_CENTER, GNOME_Magnifier_ZoomRegion_COLORBLIND_FILTER_T_NO_FILTER, GNOME_Magnifier_ZoomRegion_SCROLL_SMOOTH, ZoomRegion::invert, ZoomRegion::poll_mouse, ZoomRegion::priv, ZoomRegion::properties, ZoomRegion::roi, ZoomRegion::smooth_scroll_policy, ZoomRegion::timing_output, _ZoomRegionPrivate::update_pointer_id, GNOME_Magnifier_RectBounds_type::x1, GNOME_Magnifier_RectBounds_type::x2, ZoomRegion::x_align_policy, ZoomRegion::y_align_policy, zoom_region_private_init(), zoom_region_properties_init(), and zoom_region_update_pointer_timeout().

ZoomRegion* zoom_region_new | ( | void |  | ) |

Definition at line 4348 of file zoom-region.c.

References ZoomRegionClass::connection, dbus_glib_impl_dbus_zoom_region_object_info, ZoomRegion::object_path, ZOOM_REGION_GET_CLASS, zoom_region_get_type(), zoom_region_number, and ZOOM_REGION_TYPE.

Referenced by impl_dbus_magnifier_create_zoom_region(), and impl_magnifier_create_zoom_region().

BONOBO_TYPE_FUNC_FULL | ( | ZoomRegion | ,
|  | GNOME_Magnifier_ZoomRegion | ,
|  | BONOBO_TYPE_OBJECT | ,
|  | zoom_region |  |
| ) |  |  |

## Variable Documentation

GObjectClass* parent_class = NULL`[static]`

Definition at line 62 of file zoom-region.c.

Referenced by zoom_region_class_init().

enum { ... } PropIdx

float timing_scale_max = 0`[static]`

Definition at line 137 of file zoom-region.c.

Referenced by reset_timing_stats(), timing_report(), and zoom_region_update().

float timing_idle_max = 0`[static]`

Definition at line 138 of file zoom-region.c.

Referenced by gdk_timing_idle(), reset_timing_stats(), and timing_report().

float timing_frame_max = 0`[static]`

Definition at line 139 of file zoom-region.c.

Referenced by reset_timing_stats(), timing_report(), and zoom_region_time_frame().

float cps_max = 0`[static]`

Definition at line 140 of file zoom-region.c.

Referenced by reset_timing_stats(), timing_report(), and zoom_region_time_frame().

float nrr_max = 0`[static]`

Definition at line 141 of file zoom-region.c.

Referenced by reset_timing_stats(), timing_report(), and zoom_region_time_frame().

float update_nrr_max = 0`[static]`

Definition at line 142 of file zoom-region.c.

Referenced by reset_timing_stats(), timing_report(), and zoom_region_update().

gboolean reset_timing = FALSE`[static]`

Definition at line 143 of file zoom-region.c.

Referenced by zoom_region_pan_test(), and zoom_region_time_frame().

gboolean timing_test = FALSE`[static]`

Definition at line 144 of file zoom-region.c.

Referenced by gdk_timing_idle(), impl_dbus_zoom_region_set_roi(), impl_dbus_zoom_region_set_timing_pan_rate(), impl_dbus_zoom_region_set_timing_test(), impl_zoom_region_set_roi(), timing_report(), zoom_region_align(), zoom_region_scroll(), zoom_region_set_property(), and zoom_region_update().

guint pending_idle_handler = 0`[static]`

Definition at line 146 of file zoom-region.c.

Referenced by impl_dbus_zoom_region_set_roi(), and impl_zoom_region_set_roi().

gboolean processing_updates = FALSE`[static]`

Definition at line 147 of file zoom-region.c.

Referenced by gdk_timing_idle(), impl_dbus_zoom_region_set_roi(), impl_zoom_region_set_roi(), zoom_region_scroll(), and zoom_region_scroll_fast().

gboolean timing_start = FALSE`[static]`

Definition at line 148 of file zoom-region.c.

Referenced by zoom_region_align().

gboolean can_coalesce = TRUE`[static]`

Definition at line 150 of file zoom-region.c.

Referenced by zoom_region_coalesce_updates().

int zoom_region_number = 0`[static]`

Definition at line 152 of file zoom-region.c.

Referenced by zoom_region_new().