11 static const char *
const TAG =
"display";
17 ESP_LOGE(TAG,
"Could not allocate buffer for display!");
virtual void draw_absolute_pixel_internal(int x, int y, Color color)=0
int get_width() override
Get the width of the image in pixels with rotation applied.
An STL allocator that uses SPI RAM.
virtual int get_width_internal()=0
Rect get_clipping() const
Get the current the clipping rectangle.
void init_internal_(uint32_t buffer_length)
int get_height() override
Get the height of the image in pixels with rotation applied.
void clear()
Clear the entire screen by filling it with OFF pixels.
Application App
Global storage of Application pointer - only one Application can exist.
void swap(optional< T > &x, optional< T > &y)
DisplayRotation rotation_
void draw_pixel_at(int x, int y, Color color) override
Set a single pixel at the specified coordinates to the given color.
virtual int get_height_internal()=0