tiger.h | tiger.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
#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 2 /**< minor version number of the l ibtiger API */ | #define TIGER_VERSION_MINOR 2 /**< minor version number of the l ibtiger API */ | |||
#define TIGER_VERSION_PATCH 1 /**< patch version number of the l ibtiger API */ | #define TIGER_VERSION_PATCH 2 /**< patch version number of the l ibtiger API */ | |||
/** @} */ | /** @} */ | |||
typedef struct tiger_renderer tiger_renderer; | typedef struct tiger_renderer tiger_renderer; | |||
#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); | |||
skipping to change at line 55 | skipping to change at line 55 | |||
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_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); | ||||
#ifdef DEBUG | #ifdef 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 | |||
/** \name Error codes */ | /** \name Error codes */ | |||
/** @{ */ | /** @{ */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added | |||