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.
Rect get_clipping() const
Get the current the clipping rectangle.
void init_internal_(uint32_t buffer_length)
virtual int get_height_internal()=0
int get_height() override
Get the height of the image in pixels with rotation applied.
virtual int get_width_internal()=0
void clear()
Clear the entire screen by filling it with OFF pixels.
Application App
Global storage of Application pointer - only one Application can exist.
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.
Implementation of SPI Controller mode.
An STL allocator that uses SPI or internal RAM.
void swap(optional< T > &x, optional< T > &y) noexcept