diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ev-selection.c | 16 | ||||
-rw-r--r-- | backend/ev-selection.h | 4 |
2 files changed, 17 insertions, 3 deletions
diff --git a/backend/ev-selection.c b/backend/ev-selection.c index fc8caa6..074bbbc 100644 --- a/backend/ev-selection.c +++ b/backend/ev-selection.c @@ -70,11 +70,21 @@ ev_selection_render_selection (EvSelection *selection, points, old_points); } -GdkRegion *ev_selection_get_selection_region (EvSelection *selection, - EvRenderContext *rc, - EvRectangle *points) +GdkRegion * +ev_selection_get_selection_region (EvSelection *selection, + EvRenderContext *rc, + EvRectangle *points) { EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); return iface->get_selection_region (selection, rc, points); } + +GdkRegion * +ev_selection_get_selection_map (EvSelection *selection, + EvRenderContext *rc) +{ + EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); + + return iface->get_selection_map (selection, rc); +} diff --git a/backend/ev-selection.h b/backend/ev-selection.h index a07d639..8c5e224 100644 --- a/backend/ev-selection.h +++ b/backend/ev-selection.h @@ -48,6 +48,8 @@ struct _EvSelectionIface GdkPixbuf **pixbuf, EvRectangle *points, EvRectangle *old_points); + GdkRegion * (* get_selection_map) (EvSelection *selection, + EvRenderContext *rc); GdkRegion * (* get_selection_region) (EvSelection *selection, EvRenderContext *rc, EvRectangle *points); @@ -59,6 +61,8 @@ void ev_selection_render_selection (EvSelection *selection, GdkPixbuf **pixbuf, EvRectangle *points, EvRectangle *old_points); +GdkRegion *ev_selection_get_selection_map (EvSelection *selection, + EvRenderContext *rc); GdkRegion *ev_selection_get_selection_region (EvSelection *selection, EvRenderContext *rc, EvRectangle *points); |