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-document-transition.h File Reference
#include <glib-object.h>
#include "ev-document.h"
#include "ev-transition-effect.h"
+ Include dependency graph for ev-document-transition.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvDocumentTransitionInterface
 

Macros

#define EV_TYPE_DOCUMENT_TRANSITION   (ev_document_transition_get_type ())
 
#define EV_DOCUMENT_TRANSITION(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransition))
 
#define EV_DOCUMENT_TRANSITION_IFACE(k)   (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionInterface))
 
#define EV_IS_DOCUMENT_TRANSITION(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_TRANSITION))
 
#define EV_IS_DOCUMENT_TRANSITION_IFACE(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_TRANSITION))
 
#define EV_DOCUMENT_TRANSITION_GET_IFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionInterface))
 

Typedefs

typedef struct
_EvDocumentTransition 
EvDocumentTransition
 
typedef struct
_EvDocumentTransitionInterface 
EvDocumentTransitionInterface
 

Functions

GType ev_document_transition_get_type (void) G_GNUC_CONST
 
gdouble ev_document_transition_get_page_duration (EvDocumentTransition *document_trans, gint page)
 
EvTransitionEffectev_document_transition_get_effect (EvDocumentTransition *document_trans, gint page)
 

Macro Definition Documentation

#define EV_DOCUMENT_TRANSITION (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransition))

Definition at line 36 of file ev-document-transition.h.

#define EV_DOCUMENT_TRANSITION_GET_IFACE (   inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionInterface))

Definition at line 40 of file ev-document-transition.h.

#define EV_DOCUMENT_TRANSITION_IFACE (   k)    (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionInterface))

Definition at line 37 of file ev-document-transition.h.

#define EV_IS_DOCUMENT_TRANSITION (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_TRANSITION))

Definition at line 38 of file ev-document-transition.h.

#define EV_IS_DOCUMENT_TRANSITION_IFACE (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_TRANSITION))

Definition at line 39 of file ev-document-transition.h.

#define EV_TYPE_DOCUMENT_TRANSITION   (ev_document_transition_get_type ())

Definition at line 35 of file ev-document-transition.h.

Typedef Documentation

typedef struct _EvDocumentTransition EvDocumentTransition

Definition at line 42 of file ev-document-transition.h.

Function Documentation

EvTransitionEffect* ev_document_transition_get_effect ( EvDocumentTransition document_trans,
gint  page 
)

Definition at line 51 of file ev-document-transition.c.

53 {
55  EvTransitionEffect *effect = NULL;
56 
57  if (iface->get_effect)
58  effect = iface->get_effect (document_trans, page);
59 
60  if (!effect)
62 
63  return effect;
64 }

+ Here is the caller graph for this function:

gdouble ev_document_transition_get_page_duration ( EvDocumentTransition document_trans,
gint  page 
)

Definition at line 32 of file ev-document-transition.c.

34 {
36 
37  if (iface->get_page_duration)
38  return iface->get_page_duration (document_trans, page);
39 
40  return -1;
41 }

+ Here is the caller graph for this function:

GType ev_document_transition_get_type ( void  )