Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-selection.c File Reference
#include "config.h"
#include "ev-selection.h"
+ Include dependency graph for ev-selection.c:

Go to the source code of this file.

Functions

static void ev_selection_default_init (EvSelectionInterface *klass)
 
void ev_selection_render_selection (EvSelection *selection, EvRenderContext *rc, cairo_surface_t **surface, EvRectangle *points, EvRectangle *old_points, EvSelectionStyle style, GdkColor *text, GdkColor *base)
 
gchar * ev_selection_get_selected_text (EvSelection *selection, EvPage *page, EvSelectionStyle style, EvRectangle *points)
 
cairo_region_t * ev_selection_get_selection_region (EvSelection *selection, EvRenderContext *rc, EvSelectionStyle style, EvRectangle *points)
 

Function Documentation

static void ev_selection_default_init ( EvSelectionInterface klass)
static

Definition at line 28 of file ev-selection.c.

29 {
30 }
gchar* ev_selection_get_selected_text ( EvSelection selection,
EvPage page,
EvSelectionStyle  style,
EvRectangle points 
)

Definition at line 55 of file ev-selection.c.

59 {
60  EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
61 
62  return iface->get_selected_text (selection, page, style, points);
63 }

+ Here is the caller graph for this function:

cairo_region_t* ev_selection_get_selection_region ( EvSelection selection,
EvRenderContext rc,
EvSelectionStyle  style,
EvRectangle points 
)

Definition at line 66 of file ev-selection.c.

70 {
71  EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
72 
73  if (!iface->get_selection_region)
74  return NULL;
75 
76  return iface->get_selection_region (selection, rc, style, points);
77 }

+ Here is the caller graph for this function:

void ev_selection_render_selection ( EvSelection selection,
EvRenderContext rc,
cairo_surface_t **  surface,
EvRectangle points,
EvRectangle old_points,
EvSelectionStyle  style,
GdkColor *  text,
GdkColor *  base 
)

Definition at line 33 of file ev-selection.c.

41 {
42  EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
43 
44  if (!iface->render_selection)
45  return;
46 
47  iface->render_selection (selection, rc,
48  surface,
49  points, old_points,
50  style,
51  text, base);
52 }

+ Here is the caller graph for this function: