#include <kate.h>
Data Fields | |
| size_t | width |
| size_t | height |
| unsigned char | bpp |
| kate_bitmap_type | type |
| int | palette |
| unsigned char * | pixels |
| size_t | size |
| int | x_offset |
| int | y_offset |
| size_t kate_bitmap::width |
width in pixels
| size_t kate_bitmap::height |
height in pixels
| unsigned char kate_bitmap::bpp |
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
| unsigned char* kate_bitmap::pixels |
pixels, rows first, one byte per pixel regardless of bpp
| size_t kate_bitmap::size |
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
1.5.4