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-async-renderer.c File Reference
#include "config.h"
#include "ev-async-renderer.h"
#include "ev-document.h"
+ Include dependency graph for ev-async-renderer.c:

Go to the source code of this file.

Enumerations

enum  { RENDER_FINISHED, LAST_SIGNAL }
 

Functions

static void ev_async_renderer_default_init (EvAsyncRendererInterface *klass)
 
void ev_async_renderer_render_pixbuf (EvAsyncRenderer *async_renderer, int page, double scale, int rotation)
 

Variables

static guint signals [LAST_SIGNAL] = { 0 }
 

Enumeration Type Documentation

anonymous enum
Enumerator
RENDER_FINISHED 
LAST_SIGNAL 

Definition at line 26 of file ev-async-renderer.c.

27 {
30 };

Function Documentation

static void ev_async_renderer_default_init ( EvAsyncRendererInterface klass)
static

Definition at line 37 of file ev-async-renderer.c.

38 {
39  static gboolean initialized = FALSE;
40 
41  if (!initialized) {
43  g_signal_new ("render_finished",
45  G_SIGNAL_RUN_LAST,
46  G_STRUCT_OFFSET (EvAsyncRendererInterface, render_finished),
47  NULL, NULL,
48  g_cclosure_marshal_VOID__OBJECT,
49  G_TYPE_NONE,
50  1,
51  GDK_TYPE_PIXBUF);
52  initialized = TRUE;
53  }
54 }
void ev_async_renderer_render_pixbuf ( EvAsyncRenderer async_renderer,
int  page,
double  scale,
int  rotation 
)

Definition at line 57 of file ev-async-renderer.c.

61 {
62  EvAsyncRendererInterface *iface = EV_ASYNC_RENDERER_GET_IFACE (async_renderer);
63 
64  iface->render_pixbuf (async_renderer, page, scale, rotation);
65 }

Variable Documentation

guint signals[LAST_SIGNAL] = { 0 }
static

Definition at line 32 of file ev-async-renderer.c.