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
AdafruitCanvasBase< BPP > Class Template Referenceabstract

`#include <adafruit.h>`

Inheritance diagram for AdafruitCanvasBase< BPP >:

## Public Member Functions
virtual void | blt (lcdint_t x, lcdint_t y)=0
virtual void | blt ()=0
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

### template<uint8_t BPP>
class AdafruitCanvasBase< BPP >

Base class for all AdafruitCanvas childs

Definition at line 151 of file adafruit.h.

## Member Function Documentation

## ◆ blt() [1/2]

template<uint8_t BPP>

virtual void AdafruitCanvasBase< BPP >::blt | ( | lcdint_t | x,
|  | lcdint_t | y
| ) |  |
| pure virtual

Draws canvas on the LCD display

Parameters

  x | - horizontal position in pixels
  y | - vertical position in blocks (pixels/8)

Implemented in AdafruitCanvas16, AdafruitCanvas8, and AdafruitCanvas1.

## ◆ blt() [2/2]

template<uint8_t BPP>

virtual void AdafruitCanvasBase< BPP >::blt | ( |  | ) |
| pure virtual

Draws canvas on the LCD display using offset values.

Implemented in AdafruitCanvas16, AdafruitCanvas8, and AdafruitCanvas1.

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

- nano_engine/adafruit.h