NullGraphicsOutput class. More...
#include <kanzi/core.ui/graphics/null_graphics_output.hpp>
Public Member Functions | |
NullGraphicsOutput (unsigned int width=320, unsigned height=200) | |
Constructor. More... | |
virtual | ~NullGraphicsOutput () KZ_OVERRIDE |
Destructor. More... | |
virtual void | present () KZ_OVERRIDE |
Does nothing. More... | |
void | setSwapInterval (int interval) |
Does nothing. More... | |
virtual void | handleEvents (const struct KzsEventQueue *eventQueue) KZ_OVERRIDE |
Does nothing. More... | |
Public Member Functions inherited from kanzi::GraphicsOutput | |
GraphicsOutput () | |
Constructor. More... | |
virtual | ~GraphicsOutput () |
Destructor. More... | |
unsigned int | getWidth () const |
Returns the width of rendering area in pixels. More... | |
unsigned int | getHeight () const |
Returns the height of rendering area in pixels. More... | |
enum KzsDisplayOrientationAngle | getOrientationAngle () const |
Returns the orientations of the rendering area. More... | |
void | resize (unsigned int width, unsigned int height) |
Resizes the rendering area. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::GraphicsOutput | |
virtual void | resizeOverride (unsigned int width, unsigned int height) |
Override function for resize(). More... | |
void | updateSize (unsigned int width, unsigned int height) |
Updates the rendering 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.
|
virtual |
Destructor.
|
virtual |
Does nothing.
Implements kanzi::GraphicsOutput.
void kanzi::NullGraphicsOutput::setSwapInterval | ( | int | interval | ) |
Does nothing.
|
virtual |
Does nothing.
Implements kanzi::GraphicsOutput.