Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
Loading...
Searching...
No Matches
GxEPD2_GFX Class Referenceabstract

#include <GxEPD2_GFX.h>

Inheritance diagram for GxEPD2_GFX:

Public Member Functions

 GxEPD2_GFX (GxEPD2_EPD &_epd2, int16_t w, int16_t h)
 
virtual uint16_t pages ()=0
 
virtual uint16_t pageHeight ()=0
 
virtual bool mirror (bool m)=0
 
virtual void init (uint32_t serial_diag_bitrate=0)=0
 
virtual void init (uint32_t serial_diag_bitrate, bool initial, uint16_t reset_duration=20, bool pulldown_rst_mode=false)=0
 
virtual void fillScreen (uint16_t color)=0
 
virtual void display (bool partial_update_mode=false)=0
 
virtual void displayWindow (uint16_t x, uint16_t y, uint16_t w, uint16_t h)=0
 
virtual void setFullWindow ()=0
 
virtual void setPartialWindow (uint16_t x, uint16_t y, uint16_t w, uint16_t h)=0
 
virtual void firstPage ()=0
 
virtual bool nextPage ()=0
 
virtual void drawPaged (void(*drawCallback)(const void *), const void *pv)=0
 
virtual void drawInvertedBitmap (int16_t x, int16_t y, const uint8_t bitmap[], int16_t w, int16_t h, uint16_t color)=0
 
virtual void clearScreen (uint8_t value=0xFF)=0
 
virtual void writeScreenBuffer (uint8_t value=0xFF)=0
 
virtual void writeImage (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)=0
 
virtual void writeImagePart (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)=0
 
virtual void writeImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert, bool mirror_y, bool pgm)=0
 
virtual void writeImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h)=0
 
virtual void writeImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert, bool mirror_y, bool pgm)=0
 
virtual void writeImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h)=0
 
virtual void writeNative (const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)=0
 
virtual void drawImage (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)=0
 
virtual void drawImagePart (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)=0
 
virtual void drawImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert, bool mirror_y, bool pgm)=0
 
virtual void drawImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h)=0
 
virtual void drawImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert, bool mirror_y, bool pgm)=0
 
virtual void drawImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h)=0
 
virtual void drawNative (const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false)=0
 
virtual void refresh (bool partial_update_mode=false)=0
 
virtual void refresh (int16_t x, int16_t y, int16_t w, int16_t h)=0
 
virtual void powerOff ()=0
 
virtual void hibernate ()=0
 

Public Attributes

GxEPD2_EPDepd2
 

Detailed Description

Definition at line 27 of file GxEPD2_GFX.h.

Constructor & Destructor Documentation

◆ GxEPD2_GFX()

GxEPD2_GFX::GxEPD2_GFX ( GxEPD2_EPD & _epd2,
int16_t w,
int16_t h )
inline

Definition at line 30 of file GxEPD2_GFX.h.

30: GxEPD2_GFX_ROOT_CLASS(w, h), epd2(_epd2) {};
#define GxEPD2_GFX_ROOT_CLASS
Definition GxEPD2_GFX.h:22
GxEPD2_EPD & epd2
Definition GxEPD2_GFX.h:94

Member Function Documentation

◆ clearScreen()

virtual void GxEPD2_GFX::clearScreen ( uint8_t value = 0xFF)
pure virtual

◆ display()

virtual void GxEPD2_GFX::display ( bool partial_update_mode = false)
pure virtual

◆ displayWindow()

virtual void GxEPD2_GFX::displayWindow ( uint16_t x,
uint16_t y,
uint16_t w,
uint16_t h )
pure virtual

◆ drawImage() [1/3]

virtual void GxEPD2_GFX::drawImage ( const uint8_t * black,
const uint8_t * color,
int16_t x,
int16_t y,
int16_t w,
int16_t h )
pure virtual

◆ drawImage() [2/3]

virtual void GxEPD2_GFX::drawImage ( const uint8_t * black,
const uint8_t * color,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert,
bool mirror_y,
bool pgm )
pure virtual

◆ drawImage() [3/3]

virtual void GxEPD2_GFX::drawImage ( const uint8_t bitmap[],
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
pure virtual

◆ drawImagePart() [1/3]

virtual void GxEPD2_GFX::drawImagePart ( const uint8_t * black,
const uint8_t * color,
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h )
pure virtual

◆ drawImagePart() [2/3]

virtual void GxEPD2_GFX::drawImagePart ( const uint8_t * black,
const uint8_t * color,
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert,
bool mirror_y,
bool pgm )
pure virtual

◆ drawImagePart() [3/3]

virtual void GxEPD2_GFX::drawImagePart ( const uint8_t bitmap[],
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
pure virtual

◆ drawInvertedBitmap()

virtual void GxEPD2_GFX::drawInvertedBitmap ( int16_t x,
int16_t y,
const uint8_t bitmap[],
int16_t w,
int16_t h,
uint16_t color )
pure virtual

◆ drawNative()

virtual void GxEPD2_GFX::drawNative ( const uint8_t * data1,
const uint8_t * data2,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
pure virtual

◆ drawPaged()

virtual void GxEPD2_GFX::drawPaged ( void(* drawCallback )(const void *),
const void * pv )
pure virtual

◆ fillScreen()

virtual void GxEPD2_GFX::fillScreen ( uint16_t color)
pure virtual

◆ firstPage()

virtual void GxEPD2_GFX::firstPage ( )
pure virtual

◆ hibernate()

virtual void GxEPD2_GFX::hibernate ( )
pure virtual

◆ init() [1/2]

virtual void GxEPD2_GFX::init ( uint32_t serial_diag_bitrate,
bool initial,
uint16_t reset_duration = 20,
bool pulldown_rst_mode = false )
pure virtual

◆ init() [2/2]

virtual void GxEPD2_GFX::init ( uint32_t serial_diag_bitrate = 0)
pure virtual

◆ mirror()

virtual bool GxEPD2_GFX::mirror ( bool m)
pure virtual

◆ nextPage()

virtual bool GxEPD2_GFX::nextPage ( )
pure virtual

◆ pageHeight()

virtual uint16_t GxEPD2_GFX::pageHeight ( )
pure virtual

◆ pages()

virtual uint16_t GxEPD2_GFX::pages ( )
pure virtual

◆ powerOff()

virtual void GxEPD2_GFX::powerOff ( )
pure virtual

◆ refresh() [1/2]

virtual void GxEPD2_GFX::refresh ( bool partial_update_mode = false)
pure virtual

◆ refresh() [2/2]

virtual void GxEPD2_GFX::refresh ( int16_t x,
int16_t y,
int16_t w,
int16_t h )
pure virtual

◆ setFullWindow()

virtual void GxEPD2_GFX::setFullWindow ( )
pure virtual

◆ setPartialWindow()

virtual void GxEPD2_GFX::setPartialWindow ( uint16_t x,
uint16_t y,
uint16_t w,
uint16_t h )
pure virtual

◆ writeImage() [1/3]

virtual void GxEPD2_GFX::writeImage ( const uint8_t * black,
const uint8_t * color,
int16_t x,
int16_t y,
int16_t w,
int16_t h )
pure virtual

◆ writeImage() [2/3]

virtual void GxEPD2_GFX::writeImage ( const uint8_t * black,
const uint8_t * color,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert,
bool mirror_y,
bool pgm )
pure virtual

◆ writeImage() [3/3]

virtual void GxEPD2_GFX::writeImage ( const uint8_t bitmap[],
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
pure virtual

◆ writeImagePart() [1/3]

virtual void GxEPD2_GFX::writeImagePart ( const uint8_t * black,
const uint8_t * color,
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h )
pure virtual

◆ writeImagePart() [2/3]

virtual void GxEPD2_GFX::writeImagePart ( const uint8_t * black,
const uint8_t * color,
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert,
bool mirror_y,
bool pgm )
pure virtual

◆ writeImagePart() [3/3]

virtual void GxEPD2_GFX::writeImagePart ( const uint8_t bitmap[],
int16_t x_part,
int16_t y_part,
int16_t w_bitmap,
int16_t h_bitmap,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
pure virtual

◆ writeNative()

virtual void GxEPD2_GFX::writeNative ( const uint8_t * data1,
const uint8_t * data2,
int16_t x,
int16_t y,
int16_t w,
int16_t h,
bool invert = false,
bool mirror_y = false,
bool pgm = false )
pure virtual

◆ writeScreenBuffer()

virtual void GxEPD2_GFX::writeScreenBuffer ( uint8_t value = 0xFF)
pure virtual

Member Data Documentation

◆ epd2

GxEPD2_EPD& GxEPD2_GFX::epd2

Definition at line 94 of file GxEPD2_GFX.h.


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