Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image.draw(), not ImageReader.drawBMP().
More...
#include <Adafruit_ImageReader_EPD.h>
|
void | dealloc (void) |
| Free/deinitialize variables. More...
|
|
union { |
GFXcanvas1 * canvas1 |
| Canvas object if 1bpp format.
|
|
GFXcanvas8 * canvas8 |
| Canvas object if 8bpp format.
|
|
GFXcanvas16 * canvas16 |
| Canvas object if 16bpp.
|
|
} | canvas |
| Union of different GFXcanvas types.
|
|
GFXcanvas1 * | mask |
| 1bpp image mask (or NULL)
|
|
uint16_t * | palette |
| Color palette for 8bpp image (or NULL)
|
|
uint8_t | format |
| Canvas bundle type in use.
|
|
Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image.draw(), not ImageReader.drawBMP().
◆ draw()
void Adafruit_Image_EPD::draw |
( |
Adafruit_EPD & |
epd, |
|
|
int16_t |
x, |
|
|
int16_t |
y |
|
) |
| |
Draw image to an Adafruit ePaper-type display.
- Parameters
-
epd | Screen to draw to (any Adafruit_EPD-derived class). |
x | Horizontal offset in pixels; left edge = 0, positive = right. Value is signed, image will be clipped if all or part is off the screen edges. Screen rotation setting is observed. |
y | Vertical offset in pixels; top edge = 0, positive = down. |
- Returns
- None (void).
The documentation for this class was generated from the following files: