SSD1306 OLED display driver  1.8.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
Public Member Functions | List of all members
AdafruitCanvas8 Class Reference

#include <adafruit.h>

Inheritance diagram for AdafruitCanvas8:
AdafruitCanvasBase< 8 > AdafruitCanvasOps< BPP >

Public Member Functions

void blt (lcdint_t x, lcdint_t y) override
 
void blt () override
 
- Public Member Functions inherited from AdafruitCanvasOps< BPP >
 AdafruitCanvasOps (lcduint_t w, lcduint_t h, uint8_t *buffer)
 
void drawPixel (int16_t x, int16_t y, uint16_t color) override
 
void setOffset (lcdint_t ox, lcdint_t oy)
 

Additional Inherited Members

- Public Attributes inherited from AdafruitCanvasOps< BPP >
NanoPoint offset
 
- Static Public Attributes inherited from AdafruitCanvasOps< BPP >
static const uint8_t BITS_PER_PIXEL = BPP
 
- Protected Attributes inherited from AdafruitCanvasOps< BPP >
uint8_t * m_buffer
 

Detailed Description

AdafruitCanvas8 represents objects for drawing in memory buffer AdafruitCanvas8 represents each pixel as single byte with RGB bits: RRRGGGBB For details refer to SSD1331 datasheet.

Definition at line 236 of file adafruit.h.

Member Function Documentation

◆ blt() [1/2]

void AdafruitCanvas8::blt ( lcdint_t  x,
lcdint_t  y 
)
inlineoverridevirtual

Draws canvas on the LCD display

Parameters
x- horizontal position in pixels
y- vertical position in pixels

Implements AdafruitCanvasBase< 8 >.

Definition at line 246 of file adafruit.h.

◆ blt() [2/2]

void AdafruitCanvas8::blt ( )
inlineoverridevirtual

Draws canvas on the LCD display using offset values.

Implements AdafruitCanvasBase< 8 >.

Definition at line 254 of file adafruit.h.


The documentation for this class was generated from the following file: