27 #include <avr/pgmspace.h>
48 int width()
const {
return _width; }
49 int height()
const {
return _height; }
50 int stride()
const {
return _stride; }
53 uint8_t *
data() {
return fb; }
54 const uint8_t *
data()
const {
return fb; }
78 void drawText(
int x,
int y,
const char *str,
int len = -1);
79 void drawText(
int x,
int y,
const String &str,
int start = 0,
int len = -1);
84 int textWidth(
const char *str,
int len = -1)
const;
85 int textWidth(
const String &str,
int start = 0,
int len = -1)
const;
88 void copy(
int x,
int y,
int width,
int height,
Bitmap *dest,
int destX,
int destY);
89 void fill(
int x,
int y,
int width,
int height,
Color color);
93 void scroll(
int x,
int y,
int width,
int height,
int dx,
int dy,
Color fillColor =
Black);
95 void invert(
int x,
int y,
int width,
int height);
111 void blit(
int x1,
int y1,
int x2,
int y2,
int x3,
int y3);
112 void drawCirclePoints(
int centerX,
int centerY,
int radius,
int x,
int y,
Color borderColor,
Color fillColor);
117 drawRect(x1, y1, x2, y2, color, color);
122 drawCircle(centerX, centerY, radius, color, color);
137 scroll(0, 0, _width, _height, dx, dy, fillColor);