#include "kate/kate_config.h"
Go to the source code of this file.
#define KATE_BITSTREAM_VERSION_MAJOR 0 |
major version number of the highest bitstream version this version of libkate supports
#define KATE_BITSTREAM_VERSION_MINOR 4 |
minor version number of the highest bitstream version this version of libkate supports
#define KATE_E_BAD_GRANULE (-4) |
decreasing granule
#define KATE_E_BAD_PACKET (-6) |
packet contains invalid data
#define KATE_E_BAD_TAG (-11) |
a tag does not comply with the Vorbis comment rules
#define KATE_E_INIT (-5) |
initializing twice, using an uninitialized state, etc
#define KATE_E_INVALID_PARAMETER (-2) |
a bogus parameter was passed (usually NULL)
#define KATE_E_LIMIT (-8) |
a limit was exceeded (eg, string too long, pixel value above bpp, etc)
#define KATE_E_NOT_FOUND (-1) |
whatever was requested was not found
#define KATE_E_NOT_KATE (-10) |
the packet is not a Kate packet
#define KATE_E_OUT_OF_MEMORY (-3) |
we're running out of cheese, bring some more
#define KATE_E_TEXT (-7) |
invalid/truncated character/sequence, etc
#define KATE_E_VERSION (-9) |
we do not understand that bitstream version
#define KATE_VERSION_MAJOR 0 |
major version number of the libkate API
#define KATE_VERSION_MINOR 2 |
minor version number of the libkate API
#define KATE_VERSION_PATCH 2 |
patch version number of the libkate API
enum kate_bitmap_type |
enum kate_curve_type |
defines a type of curve
enum kate_markup_type |
enum kate_motion_mapping |
defines a way to transform a curve point
defines what uses a motion can have
enum kate_space_metric |
defines the direction in which glyphs within a text are drawn
enum kate_text_encoding |
enum kate_wrap_mode |
int kate_clear | ( | kate_state * | k | ) |
Destroys a kate_state structure. The kate_state structure should have been initialized with kate_decode_init or kate_encode_init.
k | the kate_state structure to clear |
KATE_E_* error
int kate_curve_get_point | ( | const kate_curve * | kc, | |
kate_float | t, | |||
kate_float * | x, | |||
kate_float * | y | |||
) |
Returns the point defined by the given curve at the given time. t will be between 0 and 1
kc | the curve to get the point from | |
t | the time at which the point should be taken (between 0 and motion duration) | |
x | a pointer to the first coordinate of the computed point (may be NULL) | |
y | a pointer to the second coordinate of the computed point (may be NULL) |
1 no point at this time in the curve
KATE_E_* error
int kate_motion_get_point | ( | const kate_motion * | km, | |
kate_float | duration, | |||
kate_float | t, | |||
kate_float * | x, | |||
kate_float * | y | |||
) |
Returns the point defined by the given motion at the given time. t will be between 0 and the duration of the motion
km | the motion to get the point from | |
duration | the duration the motion spans | |
t | the time at which the point should be taken (between 0 and motion duration) | |
x | a pointer to the first coordinate of the computed point (may be NULL) | |
y | a pointer to the second coordinate of the computed point (may be NULL) |
1 no point at this time in the motion
KATE_E_* error