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. | |
| NullGraphicsOutput (unsigned int width=320, unsigned height=200) | |
| Constructor. | |
| virtual void | present () |
| Does nothing. | |
| void | swapInterval (int interval) |
| Does nothing. | |
| ~NullGraphicsOutput () override | |
| Destructor. | |
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. | |
| KZ_NO_DISCARD unsigned int | getHeight () const noexcept |
| Returns the height of layout area in the target coordinate system. | |
| KZ_NO_DISCARD unsigned int | getWidth () const noexcept |
| Returns the width of layout area in the target coordinate system. | |
| virtual | ~GraphicsOutput ()=default |
| Destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::GraphicsOutput | |
| void | updateDpi (Vector2 dpi) |
| Updates the target layout area resolution. | |
| void | updateSize (unsigned int width, unsigned int height) |
| Updates the target layout area size. | |
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.