14 #ifndef __NIBO_GFX_H__
15 #define __NIBO_GFX_H__
21 virtual size_t write(uint8_t) {
return 0;}
22 virtual size_t write(
const uint8_t *buffer,
size_t size) {
return 0;}
38 GFX_TYPE_DEM12064 = 2,
48 virtual size_t write(uint8_t);
55 virtual size_t write(
const uint8_t *buffer,
size_t size);
77 void cursor(
unsigned char col,
unsigned char row);
84 void cursorRel(
signed char col,
signed char row);
102 void scroll(
unsigned char lines);
114 void begin(
unsigned char type = GFX_TYPE_RG12064);
119 virtual size_t write(uint8_t);
126 virtual size_t write(
const uint8_t *buffer,
size_t size);
131 unsigned char get_x();
136 unsigned char get_y();
143 void move(
unsigned char x,
unsigned char y);
155 void fill(
unsigned char val);
202 void draw_xbm(
unsigned char width,
unsigned char height,
unsigned char * data);
228 void hline(
unsigned char length);
234 void vline(
unsigned char length);
241 void box(
unsigned char width,
unsigned char height);
248 void lineTo(
unsigned char x,
unsigned char y);
254 void pixel(
unsigned char value);
unsigned char text_width(const char *txt)
void cursorCol(unsigned char col)
void cursorRel(signed char col, signed char row)
Definition: NIBO_GFX.h:43
void draw_mode(unsigned char mode)
void cursor(unsigned char col, unsigned char row)
void draw_xbm(unsigned char width, unsigned char height, unsigned char *data)
void print_text(const char *txt)
Definition: NIBO_GFX.h:20
void lineTo(unsigned char x, unsigned char y)
void vline(unsigned char length)
virtual size_t write(uint8_t)
void box(unsigned char width, unsigned char height)
virtual size_t write(uint8_t)
void begin(unsigned char type=GFX_TYPE_RG12064)
void cursorRow(unsigned char row)
void hline(unsigned char length)
void pixel(unsigned char value)
void fill(unsigned char val)
unsigned char get_proportional(void)
Definition: NIBO_GFX.h:105
void move(unsigned char x, unsigned char y)
void scroll(unsigned char lines)
unsigned char char_width(char ch)
void set_proportional(unsigned char prop)