21 #ifndef COSA_CANVAS_OFFSCREEN_HH 22 #define COSA_CANVAS_OFFSCREEN_HH 33 template<u
int16_t w
idth, u
int16_t height>
70 uint8_t* bp = &m_bitmap[((y >> 3) *
WIDTH) + x];
71 uint8_t pos = (y & 0x07);
98 static const uint16_t COUNT = (width * height) /
CHARBITS;
99 uint8_t m_bitmap[COUNT];
virtual void fill_screen()
color16_t get_canvas_color() const
color16_t get_pen_color() const
virtual void draw_pixel(uint16_t x, uint16_t y)