28 void display_drawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
41 void display_drawRect(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t color);
54 void display_fillRect(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t color);
143 void display_double(
char *text,
int text_size,
double v,
int decimalDigits);
195 #if (defined EPAPER_2_9_INCH || defined EPAPER_MIKROE_1_54_INCH)
197 #ifdef EPAPER_MIKROE_1_54_INCH
211 ca_error display_deinitialise(
void);
224 #ifdef EPAPER_2_9_INCH
227 #elif defined EPAPER_MIKROE_1_54_INCH
232 #ifdef EPAPER_MIKROE_1_54_INCH
242 #elif defined EPAPER_WAVESHARE_1_54_INCH
247 void display_render_full(
void);
254 void display_render_partial(
bool sleep_when_done);
264 #ifdef EPAPER_MIKROE_1_54_INCH
270 void display_fixed_image_nowait(
const uint8_t *image);
276 void display_drawTriangle(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
277 void display_fillTriangle(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
278 void display_drawRoundRect(uint16_t x0, uint16_t y0, uint16_t w, uint16_t h, uint16_t radius, uint16_t color);
279 void display_fillRoundRect(uint16_t x0, uint16_t y0, uint16_t w, uint16_t h, uint16_t radius, uint16_t color);
281 void display_drawBitmapV1(uint16_t x, uint16_t y,
const uint8_t *bitmap, uint16_t w, uint16_t h, uint16_t color);
284 const uint8_t *bitmap,
289 void display_drawBitmapV2(uint16_t x, uint16_t y,
const uint8_t *bitmap, uint16_t w, uint16_t h, uint16_t color);
292 const uint8_t *bitmap,
302 void display_drawChar(uint16_t x, uint16_t y, uint8_t c, uint16_t color, uint16_t bg, uint8_t size);
void display_putc(uint8_t c)
Print one byte/character of data.
Definition: gfx_library.c:861
void display_setTextSize(uint8_t s)
Set text 'magnification' size.
Definition: gfx_library.c:1077
void display_double(char *text, int text_size, double v, int decimalDigits)
convert a float to a string
Definition: gfx_library.c:1287
uint16_t display_getHeight()
Get display Height.
Definition: gfx_library.c:1134
void display_drawCircle(uint16_t x0, uint16_t y0, uint16_t r, uint16_t color)
draw circle
Definition: gfx_library.c:501
void display_drawBitmapV1_bg(uint16_t x, uint16_t y, const uint8_t *bitmap, uint16_t w, uint16_t h, uint16_t color, uint16_t bg)
Draw a ROM-resident 1-bit image at the specified (x,y) position, using the specified foreground (for ...
Definition: gfx_library.c:1194
void display_puts_max_n(const uint8_t *s, uint8_t n)
Print a maximum of (n - 1) characters from the input string to the display and put "....
Definition: gfx_library.c:928
uint16_t getCursorY(void)
Get text cursor Y location.
void display_fillRect(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t color)
draw filled rectangle
Definition: gfx_library.c:285
void display_drawPixel(int16_t x, int16_t y, uint16_t color)
Definition: gfx_library.c:142
void display_setTextColor(uint16_t c, uint16_t b)
Set text font color with custom background color.
Definition: gfx_library.c:1089
void display_clear(void)
clears the frame buffer intializes the background on white.
Definition: gfx_library.c:148
void display_drawRect(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t color)
draw rectangle
Definition: gfx_library.c:674
void display_drawRoundRect(uint16_t x0, uint16_t y0, uint16_t w, uint16_t h, uint16_t radius, uint16_t color)
Draw a rounded rectangle with no fill color.
Definition: gfx_library.c:693
void display_drawChar(uint16_t x, uint16_t y, uint8_t c, uint16_t color, uint16_t bg, uint8_t size)
Draw a single character.
Definition: gfx_library.c:1019
void display_slider(int x, int y, int length, int value)
Definition: gfx_library.c:1313
uint8_t display_getRotation()
Get rotation setting for display.
Definition: gfx_library.c:1112
void display_drawBitmapV1(uint16_t x, uint16_t y, const uint8_t *bitmap, uint16_t w, uint16_t h, uint16_t color)
Draw a ROM-resident 1-bit image at the specified (x,y) position, using the specified foreground color...
Definition: gfx_library.c:1168
void display_customChar(const uint8_t *c)
Definition: gfx_library.c:961
void display_fixed_image(const uint8_t *image)
Displays the image provided, using full update (slow).
void display_drawTriangle(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)
Draw a triangle with no fill color.
Definition: gfx_library.c:746
void display_setCursor(uint16_t x, uint16_t y)
Set text cursor location.
Definition: gfx_library.c:1043
void display_drawBitmapV2_bg(uint16_t x, uint16_t y, const uint8_t *bitmap, uint16_t w, uint16_t h, uint16_t color, uint16_t bg)
Draw a ROM-resident 1-bit image at the specified (x,y) position, using the specified foreground (for ...
Definition: gfx_library.c:1260
void display_setContrast(uint32_t contrast)
void display_progressbar(int x, int y, int length, int value)
Definition: gfx_library.c:1322
void display_fillRoundRect(uint16_t x0, uint16_t y0, uint16_t w, uint16_t h, uint16_t radius, uint16_t color)
Draw a rounded rectangle with fill color.
Definition: gfx_library.c:721
void display_setRotation(uint16_t rotation)
set the rotation prints starting at the cursor position.
Definition: gfx_library.c:277
void display_fillCircle(uint16_t x0, uint16_t y0, uint16_t r, uint16_t color)
draw a filled circle
Definition: gfx_library.c:598
void display_fillTriangle(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)
Draw a triangle with color-fill.
Definition: gfx_library.c:765
void display_drawBitmapV2(uint16_t x, uint16_t y, const uint8_t *bitmap, uint16_t w, uint16_t h, uint16_t color)
Draw a ROM-resident 1-bit image at the specified (x,y) position, using the specified foreground color...
Definition: gfx_library.c:1227
void display_puts(const uint8_t *s)
Print a string to the display.
Definition: gfx_library.c:922
void display_drawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color)
draw line
Definition: gfx_library.c:471
uint16_t getCursorX(void)
Get text cursor X location.
uint16_t display_getWidth()
Get display Width.
Definition: gfx_library.c:1123
SIF_IL3820_Clear_Mode
Definition: sif_il3820.h:98
SIF_IL3820_Update_Mode
Definition: sif_il3820.h:91
SIF_SSD1608_Update_Mode
Definition: sif_ssd1608.h:108
SIF_SSD1608_Clear_Mode
Definition: sif_ssd1608.h:115
ca_error
Cascoda error type.
Definition: ca821x_error.h:51