Kanzi  3.9.5
Kanzi Engine API
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. 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...
 

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: