Adafruit ImageReader Library
Adafruit_ImageReader_EPD.h
Go to the documentation of this file.
1 
15 #ifndef __ADAFRUIT_IMAGE_READER_EPD_H__
16 #define __ADAFRUIT_IMAGE_READER_EPD_H__
17 
18 #include "Adafruit_EPD.h"
19 #include "Adafruit_ImageReader.h"
20 
26 public:
27  void draw(Adafruit_EPD &epd, int16_t x, int16_t y);
28 
29 protected:
30  friend class Adafruit_ImageReader_EPD;
31 };
32 
46 public:
47  Adafruit_ImageReader_EPD(FatVolume &fs);
48  ImageReturnCode drawBMP(char *filename, Adafruit_EPD &epd, int16_t x,
49  int16_t y, boolean transact = true);
50 
51 private:
52  ImageReturnCode coreBMP(char *filename, Adafruit_EPD *epd, uint16_t *dest,
53  int16_t x, int16_t y, Adafruit_Image_EPD *img,
54  boolean transact);
55 };
56 
57 #endif // __ADAFRUIT_IMAGE_READER_EPD_H__
An optional adjunct to Adafruit_EPD that reads RGB BMP images (maybe others in the future) from a fla...
Definition: Adafruit_ImageReader_EPD.h:45
Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image...
Definition: Adafruit_ImageReader_EPD.h:25
void draw(Adafruit_EPD &epd, int16_t x, int16_t y)
Draw image to an Adafruit ePaper-type display.
Definition: Adafruit_ImageReader_EPD.cpp:21
An optional adjunct to Adafruit_SPITFT that reads RGB BMP images (maybe others in the future) from a ...
Definition: Adafruit_ImageReader.h:95
friend class Adafruit_ImageReader_EPD
Loading occurs here.
Definition: Adafruit_ImageReader_EPD.h:30
Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image...
Definition: Adafruit_ImageReader.h:41
ImageReturnCode
Definition: Adafruit_ImageReader.h:22