NullGraphicsOutput class. More...
#include <kanzi/core.ui/platform/graphics_output/null/null_graphics_output.hpp>
Public Member Functions | |
virtual void | handleEvents (EventQueue &eventQueue) |
Does nothing. More... | |
NullGraphicsOutput (unsigned int width=320, unsigned height=200) | |
Constructor. More... | |
virtual void | present () |
Does nothing. More... | |
void | swapInterval (int interval) |
Does nothing. More... | |
~NullGraphicsOutput () override | |
Destructor. More... | |
Public Member Functions inherited from kanzi::GraphicsOutput | |
KZ_NO_DISCARD Vector2 | getDpi () const noexcept |
Returns the resolution of the target coordinate system in dots per inch. More... | |
KZ_NO_DISCARD unsigned int | getHeight () const noexcept |
Returns the height of layout area in the target coordinate system. More... | |
KZ_NO_DISCARD unsigned int | getWidth () const noexcept |
Returns the width of layout area in the target coordinate system. More... | |
virtual | ~GraphicsOutput ()=default |
Destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::GraphicsOutput | |
void | updateDpi (Vector2 dpi) |
Updates the target layout area resolution. More... | |
void | updateSize (unsigned int width, unsigned int height) |
Updates the target layout area size. More... | |
NullGraphicsOutput class.
A graphics output implementation that provides a width and a height, but no actual rendering output. This graphics output can be used as a placeholder, as it works on all platforms.
|
explicit |
Constructor.
|
override |
Destructor.
|
virtual |
Does nothing.
void kanzi::NullGraphicsOutput::swapInterval | ( | int | interval | ) |
Does nothing.
|
virtual |
Does nothing.