Null.h
Go to the documentation of this file.
39 NullDevice(uint16_t width = 240, uint16_t height = 320, PixelFormat format = PixelFormat::RGB565)
#define F(string_literal)
Wrap a string literal stored in flash and access it using a String object.
Definition: WString.h:113
Definition: Display.h:22
Definition: AbstractDisplay.h:31
Orientation orientation
Definition: Libraries/Graphics/src/include/Graphics/Device.h:79
bool begin(uint16_t width, uint16_t height, PixelFormat format)
Definition: Null.h:49
String getName() const override
Get name of display.
Definition: Null.h:58
PixelFormat getPixelFormat() const override
All surfaces support the same pixel format.
Definition: Null.h:92
bool setScrollMargins(uint16_t top, uint16_t bottom) override
Set margins for hardware scrolling.
Definition: Null.h:72
bool scroll(int16_t y) override
Scroll region of display up or down using hardware scrolling.
Definition: Null.h:79
Surface * createSurface(size_t bufferSize=0) override
Create a surface for use with this render target.
NullDevice(uint16_t width=240, uint16_t height=320, PixelFormat format=PixelFormat::RGB565)
Definition: Null.h:39
Size getSize() const override
Get target dimensions.
Definition: Null.h:87
Size getNativeSize() const override
Get physical size of display.
Definition: Null.h:62
bool setOrientation(Orientation orientation) override
Set display orientation.
Definition: Null.h:66
Definition: Virtual.h:31
Orientation
Defines orientation of display.
Definition: Libraries/Graphics/src/include/Graphics/Types.h:47
constexpr Size rotate(Size size, Orientation orientation)
Definition: Libraries/Graphics/src/include/Graphics/Types.h:122
Manages a rectangular area of display memory with position information.
Definition: AddressWindow.h:37
Size of rectangular area (width x height)
Definition: Libraries/Graphics/src/include/Graphics/Types.h:105