Kanzi 3.9.10
kanzi::NullGraphicsOutput Class Reference

NullGraphicsOutput class. More...

#include <kanzi/core.ui/platform/graphics_output/null/null_graphics_output.hpp>

Inheritance diagram for kanzi::NullGraphicsOutput:
[legend]

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NullGraphicsOutput()

kanzi::NullGraphicsOutput::NullGraphicsOutput ( unsigned int width = 320,
unsigned height = 200 )
explicit

Constructor.

◆ ~NullGraphicsOutput()

kanzi::NullGraphicsOutput::~NullGraphicsOutput ( )
override

Destructor.

Member Function Documentation

◆ present()

virtual void kanzi::NullGraphicsOutput::present ( )
virtual

Does nothing.

◆ swapInterval()

void kanzi::NullGraphicsOutput::swapInterval ( int interval)

Does nothing.

◆ handleEvents()

virtual void kanzi::NullGraphicsOutput::handleEvents ( EventQueue & eventQueue)
virtual

Does nothing.


The documentation for this class was generated from the following file: