tiger.h   tiger.h 
skipping to change at line 36 skipping to change at line 36
#include <stddef.h> #include <stddef.h>
#include <cairo/cairo.h> #include <cairo/cairo.h>
#include <kate/kate.h> #include <kate/kate.h>
#include "tiger/tiger_config.h" #include "tiger/tiger_config.h"
/** \name API version */ /** \name API version */
/** @{ */ /** @{ */
#define TIGER_VERSION_MAJOR 0 /**< major version number of the l ibtiger API */ #define TIGER_VERSION_MAJOR 0 /**< major version number of the l ibtiger API */
#define TIGER_VERSION_MINOR 3 /**< minor version number of the l ibtiger API */ #define TIGER_VERSION_MINOR 3 /**< minor version number of the l ibtiger API */
#define TIGER_VERSION_PATCH 0 /**< patch version number of the l ibtiger API */ #define TIGER_VERSION_PATCH 1 /**< patch version number of the l ibtiger API */
/** @} */ /** @} */
typedef struct tiger_renderer tiger_renderer; typedef struct tiger_renderer tiger_renderer;
typedef enum {
tiger_font_plain,
tiger_font_shadow,
tiger_font_outline
} tiger_font_effect;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/** \defgroup version Version information */ /** \defgroup version Version information */
extern int tiger_get_version(void); extern int tiger_get_version(void);
extern const char *tiger_get_version_string(void); extern const char *tiger_get_version_string(void);
/** \defgroup renderer */ /** \defgroup renderer */
extern int tiger_renderer_create(tiger_renderer **tr); extern int tiger_renderer_create(tiger_renderer **tr);
extern int tiger_renderer_set_cairo_surface(tiger_renderer *tr,cairo_surfac e_t *cs); extern int tiger_renderer_set_cairo_surface(tiger_renderer *tr,cairo_surfac e_t *cs);
extern int tiger_renderer_set_buffer(tiger_renderer *tr,unsigned char *ptr, int width,int height,int stride); extern int tiger_renderer_set_buffer(tiger_renderer *tr,unsigned char *ptr, int width,int height,int stride,int swap_rgb);
extern int tiger_renderer_set_surface_clear_color(tiger_renderer *tr,int cl ear,double r,double g,double b,double a); extern int tiger_renderer_set_surface_clear_color(tiger_renderer *tr,int cl ear,double r,double g,double b,double a);
extern int tiger_renderer_set_quality(tiger_renderer *tr,double quality); extern int tiger_renderer_set_quality(tiger_renderer *tr,double quality);
extern int tiger_renderer_add_event(tiger_renderer *tr,const kate_info *ki, const kate_event *ev); extern int tiger_renderer_add_event(tiger_renderer *tr,const kate_info *ki, const kate_event *ev);
extern int tiger_renderer_update(tiger_renderer *tr,kate_float t,int track) ; extern int tiger_renderer_update(tiger_renderer *tr,kate_float t,int track) ;
extern int tiger_renderer_seek(tiger_renderer *tr, kate_float target); extern int tiger_renderer_seek(tiger_renderer *tr, kate_float target);
extern int tiger_renderer_render(tiger_renderer *tr); extern int tiger_renderer_render(tiger_renderer *tr);
extern int tiger_renderer_destroy(tiger_renderer *tr); extern int tiger_renderer_destroy(tiger_renderer *tr);
extern int tiger_renderer_is_dirty(const tiger_renderer *tr); extern int tiger_renderer_is_dirty(const tiger_renderer *tr);
extern int tiger_renderer_enable_caching(tiger_renderer *tr,int enable); extern int tiger_renderer_enable_caching(tiger_renderer *tr,int enable);
extern int tiger_renderer_set_default_font_description(tiger_renderer *tr,c onst char *desc); extern int tiger_renderer_set_default_font_description(tiger_renderer *tr,c onst char *desc);
extern int tiger_renderer_set_default_font(tiger_renderer *tr,const char *f ont); extern int tiger_renderer_set_default_font(tiger_renderer *tr,const char *f ont);
extern int tiger_renderer_set_default_font_size(tiger_renderer *tr,double s ize); extern int tiger_renderer_set_default_font_size(tiger_renderer *tr,double s ize);
extern int tiger_renderer_set_default_font_color(tiger_renderer *tr,double r,double g, double b,double a); extern int tiger_renderer_set_default_font_color(tiger_renderer *tr,double r,double g, double b,double a);
extern int tiger_renderer_set_default_background_fill_color(tiger_renderer *tr,double r,double g,double b,double a); extern int tiger_renderer_set_default_background_fill_color(tiger_renderer *tr,double r,double g,double b,double a);
extern int tiger_renderer_set_default_font_effect(tiger_renderer *tr,tiger_ font_effect effect,double strength);
#ifdef DEBUG #ifdef DEBUG
/** \defgroup debug */ /** \defgroup debug */
extern int tiger_renderer_enable_debug(tiger_renderer *tr,int debug); extern int tiger_renderer_enable_debug(tiger_renderer *tr,int debug);
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
 End of changes. 4 change blocks. 
2 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/