libkate 0.4.3
|
Functions | |
int | kate_region_init (kate_region *kr) |
int | kate_style_init (kate_style *ks) |
int | kate_palette_init (kate_palette *kp) |
int | kate_bitmap_init (kate_bitmap *kb) |
int | kate_bitmap_init_new (kate_bitmap *kb) |
int | kate_curve_init (kate_curve *kc) |
int | kate_motion_init (kate_motion *km) |
int kate_bitmap_init | ( | kate_bitmap * | kb | ) |
Initializes a kate bitmap to sensible defaults. Obsolete, use kate_bitmap_init_new in new code.
kb | the bitmap to initialize |
< width in pixels
< height in pixels
< bits per pixel, from 1 to 8, or 0 for a raw PNG bitmap
< the type of this bitmap
< index of the default palette to use
< pixels, rows first, one byte per pixel regardless of bpp
< for raw bitmaps, number of bytes in pixels
< the horizontal offset to the logical origin of the bitmap
< the vertical offset to the logical origin of the bitmap
References kate_bitmap_type_png, and KATE_E_INVALID_PARAMETER.
int kate_bitmap_init_new | ( | kate_bitmap * | kb | ) |
Initializes a kate bitmap to sensible defaults
kb | the bitmap to initialize |
References kate_bitmap_type_png, and KATE_E_INVALID_PARAMETER.
int kate_curve_init | ( | kate_curve * | kc | ) |
Initializes a kate curve to sensible defaults
kc | the curve to initialize |
References kate_curve_none, and KATE_E_INVALID_PARAMETER.
int kate_motion_init | ( | kate_motion * | km | ) |
Initializes a kate motion to sensible defaults
km | the motion to initialize |
References KATE_E_INVALID_PARAMETER, kate_motion_mapping_none, and kate_motion_semantics_time.
int kate_palette_init | ( | kate_palette * | kp | ) |
Initializes a kate palette to sensible defaults
kp | the palette to initialize |
References KATE_E_INVALID_PARAMETER.
int kate_region_init | ( | kate_region * | kr | ) |
Initializes a kate region to sensible defaults
kr | the region to initialize |
References KATE_E_INVALID_PARAMETER, and kate_percentage.
int kate_style_init | ( | kate_style * | ks | ) |
Initializes a kate style to sensible defaults
ks | the style to initialize |
References KATE_E_INVALID_PARAMETER, kate_pixel, and kate_wrap_word.