int kate_info_add_bitmap | ( | kate_info * | ki, | |
kate_bitmap * | kb | |||
) |
Adds a predefined bitmap so it can be referred to by index later.
ki | the kate_info structure for the stream | |
kb | the bitmap to add |
KATE_E_* error
int kate_info_add_curve | ( | kate_info * | ki, | |
kate_curve * | kc | |||
) |
Adds a predefined curve so it can be referred to by index later.
ki | the kate_info structure for the stream | |
kc | the curve to add |
KATE_E_* error
int kate_info_add_font_mapping | ( | kate_info * | ki, | |
kate_font_mapping * | kfm | |||
) |
Adds a predefined font mapping so it can be referred to by index later.
ki | the kate_info structure for the stream | |
kfm | the font mapping to add |
KATE_E_* error
int kate_info_add_font_range | ( | kate_info * | ki, | |
kate_font_range * | kfr | |||
) |
Adds a predefined font range so it can be referred to by index later.
ki | the kate_info structure for the stream | |
kfr | the font range to add |
KATE_E_* error
int kate_info_add_motion | ( | kate_info * | ki, | |
kate_motion * | km | |||
) |
Adds a predefined motion so it can be referred to by index later.
ki | the kate_info structure for the stream | |
km | the motion to add |
KATE_E_* error
int kate_info_add_palette | ( | kate_info * | ki, | |
kate_palette * | kp | |||
) |
Adds a predefined palette so it can be referred to by index later.
ki | the kate_info structure for the stream | |
kp | the palette to add |
KATE_E_* error
int kate_info_add_region | ( | kate_info * | ki, | |
kate_region * | kr | |||
) |
Adds a predefined region so it can be referred to by index later.
ki | the kate_info structure for the stream | |
kr | the region to add |
KATE_E_* error
int kate_info_add_style | ( | kate_info * | ki, | |
kate_style * | ks | |||
) |
Adds a predefined style so it can be referred to by index later. Adds a predefined region so it can be referred to by index later.
ki | the kate_info structure for the stream | |
ks | the style to add |
KATE_E_* error
int kate_info_clear | ( | kate_info * | ki | ) |
int kate_info_init | ( | kate_info * | ki | ) |
int kate_info_matches_language | ( | const kate_info * | ki, | |
const char * | language | |||
) |
Checks whether the given language matches (fully or partially) the language described in the kate_info structure.
ki | the kate_info structure for the stream | |
language | the language to check against |
1 success, the language matches perfectly
2 success, the language matches partially
KATE_E_* error
int kate_info_no_limits | ( | kate_info * | ki, | |
int | flag | |||
) |
Requests whether large quantities of various things should be rejected or not, as a simple defense against DOS.
ki | the kate_info structure for the stream | |
flag | if zero, values deemed arbitrarily too large will be treated as an error, else they will be accepted |
KATE_E_* error
int kate_info_remove_markup | ( | kate_info * | ki, | |
int | flag | |||
) |
Requests whether future events will strip text of markup or not.
ki | the kate_info structure for the stream | |
flag | if zero, markup will be kept, else if will be removed |
KATE_E_* error
int kate_info_set_category | ( | kate_info * | ki, | |
const char * | category | |||
) |
Sets the category for this bitstream.
ki | the kate_info structure for the stream | |
category | the stream's category |
KATE_E_* error
int kate_info_set_granule_encoding | ( | kate_info * | ki, | |
kate_float | resolution, | |||
kate_float | max_length, | |||
kate_float | max_event_lifetime | |||
) |
Sets up the granule encoding parameters so that events may be timestamped with the given resolution, and may not last longer than the given lifetime.
ki | the kate_info structure to set the granule encoding parameters in. | |
resolution | the timestamping resolution, in seconds (eg, 0.001 means millisecond resolution) | |
max_length | the maximum time we need to represent, in seconds | |
max_event_lifetime | the maximum time an event may last, in seconds |
1 success, and the granule encoding is compatible with skeleton
KATE_E_* error
int kate_info_set_language | ( | kate_info * | ki, | |
const char * | language | |||
) |
Sets the default language for this bitstream.
ki | the kate_info structure for the stream | |
language | the default language to set for this stream |
KATE_E_* error
int kate_info_set_markup_type | ( | kate_info * | ki, | |
kate_markup_type | text_markup_type | |||
) |
Sets the default text markup type for this bitstream
ki | the kate_info structure for the stream | |
text_markup_type | the default text markup type to set for this stream |
KATE_E_* error
int kate_info_set_text_directionality | ( | kate_info * | ki, | |
kate_text_directionality | text_directionality | |||
) |
Sets the default text directionality for this bitstream
ki | the kate_info structure for the stream | |
text_directionality | the default text directionality to set for this stream |
KATE_E_* error