|
LCDGFX LCD display driver
1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
#include <canvas.h>


Additional Inherited Members | |
Public Types inherited from NanoCanvasOps< BPP > | |
| typedef NanoCanvasOps< BPP > | T |
Public Member Functions inherited from NanoCanvasOps< BPP > | |
| NanoCanvasOps () | |
| NanoCanvasOps (lcdint_t w, lcdint_t h, uint8_t *bytes) | |
| void | begin (lcdint_t w, lcdint_t h, uint8_t *bytes) |
| void | setOffset (lcdint_t ox, lcdint_t oy) |
| const NanoPoint | offsetEnd () const |
| const NanoRect | rect () const |
| void | putPixel (lcdint_t x, lcdint_t y) |
| void | putPixel (const NanoPoint &p) |
| void | drawVLine (lcdint_t x1, lcdint_t y1, lcdint_t y2) |
| void | drawHLine (lcdint_t x1, lcdint_t y1, lcdint_t x2) |
| void | drawLine (lcdint_t x1, lcdint_t y1, lcdint_t x2, lcdint_t y2) |
| void | drawLine (const NanoRect &rect) |
| void | drawRect (lcdint_t x1, lcdint_t y1, lcdint_t x2, lcdint_t y2) __attribute__((noinline)) |
| void | drawRect (const NanoRect &rect) |
| void | fillRect (lcdint_t x1, lcdint_t y1, lcdint_t x2, lcdint_t y2) __attribute__((noinline)) |
| void | fillRect (const NanoRect &rect) |
| void | drawCircle (lcdint_t x, lcdint_t y, lcdint_t r, uint8_t options=0x0F) __attribute__((noinline)) |
| void | drawBitmap1 (lcdint_t x, lcdint_t y, lcduint_t w, lcduint_t h, const uint8_t *bitmap) __attribute__((noinline)) |
| Draws monochrome bitmap in color buffer using color, specified via setColor() method Draws monochrome bitmap in color buffer using color, specified via setColor() method. More... | |
| void | drawBitmap8 (lcdint_t x, lcdint_t y, lcduint_t w, lcduint_t h, const uint8_t *bitmap) __attribute__((noinline)) |
| Draws 8-bit color bitmap in color buffer. Draws 8-bit color bitmap in color buffer. More... | |
| void | drawBitmap16 (lcdint_t x, lcdint_t y, lcduint_t w, lcduint_t h, const uint8_t *bitmap) __attribute__((noinline)) |
| Draws 16-bit color bitmap in color buffer. Draws 16-bit color bitmap in color buffer. More... | |
| void | clear () __attribute__((noinline)) |
| size_t | write (uint8_t c) |
| uint8_t | printChar (uint8_t c) |
| void | printFixed (lcdint_t xpos, lcdint_t y, const char *ch, EFontStyle style=STYLE_NORMAL) __attribute__((noinline)) |
| void | printFixedPgm (lcdint_t xpos, lcdint_t y, const char *ch, EFontStyle style=STYLE_NORMAL) |
| void | setMode (uint8_t modeFlags) |
| Sets canvas drawing mode Sets canvas drawing mode. The set flags define transparency of output images. More... | |
| void | setColor (uint16_t color) |
| uint16_t | getColor () |
| void | invertColors () |
| void | setBackground (uint16_t color) |
| void | setFont (NanoFont &font) |
| NanoFont & | getFont () |
| void | setFontSpacing (uint8_t spacing) |
| void | setFixedFont (const uint8_t *progmemFont) |
| void | setFreeFont (const uint8_t *progmemFont, const uint8_t *secondaryFont=nullptr) |
| uint8_t * | getData () |
| lcduint_t | width () |
| lcduint_t | height () |
| void | rotateCW (T &out) |
Public Attributes inherited from NanoCanvasOps< BPP > | |
| NanoPoint | offset |
Static Public Attributes inherited from NanoCanvasOps< BPP > | |
| static const uint8_t | BITS_PER_PIXEL = BPP |
Protected Attributes inherited from NanoCanvasOps< BPP > | |
| lcduint_t | m_w |
| width of NanoCanvas area in pixels | |
| lcduint_t | m_h |
| height of NanoCanvas area in pixels | |
| lcdint_t | m_cursorX |
| current X cursor position for text output | |
| lcdint_t | m_cursorY |
| current Y cursor position for text output | |
| uint8_t | m_textMode |
| Flags for current NanoCanvas mode. | |
| EFontStyle | m_fontStyle |
| currently active font style | |
| uint8_t * | m_buf |
| Canvas data. | |
| uint16_t | m_color |
| current color | |
| uint16_t | m_bgColor |
| current background color | |
| NanoFont * | m_font = nullptr |
| current set font to use with NanoCanvas | |
NanoCanvas1_16 represents objects for drawing in memory buffer NanoCanvas1_16 represents each pixel as single bit: 0/1 Unlike NanoCanvas1, it works with RBG color displays in normal mode.