// writeRect8BPP - write 8 bit per pixel paletted bitmap
// bitmap data in array at pixels, one byte per
//pixel
// color palette data in array at palette
void writeRect8BPP(int16_t x, int16_t y, int16_t w, int16_t h,
const uint8_t *pixels, const uint16_t *palette);
// writeRect4BPP - write 4 bit per pixel paletted bitmap
// bitmap data in array at pixels, 4 bits per
//pixel
// color palette data in array at palette
// width must be at least 2 pixels
void writeRect4BPP(int16_t x, int16_t y, int16_t w, int16_t h,
const uint8_t *pixels, const uint16_t *palette);
// writeRect2BPP - write 2 bit per pixel paletted bitmap
// bitmap data in array at pixels, 4 bits per
//pixel
// color palette data in array at palette
// width must be at least 4 pixels
void writeRect2BPP(int16_t x, int16_t y, int16_t w, int16_t h,
const uint8_t *pixels, const uint16_t *palette);
// writeRect1BPP - write 1 bit per pixel paletted bitmap
// bitmap data in array at pixels, 4 bits per
//pixel
// color palette data in array at palette
// width must be at least 8 pixels
void writeRect1BPP(int16_t x, int16_t y, int16_t w, int16_t h,
const uint8_t *pixels, const uint16_t *palette);