Kanzi 4.0.0-beta2
kanzi::FramebufferGraphicsOutput Class Referenceabstract

FramebufferGraphicsOutput class. More...

#include <kanzi/core.ui/graphics/framebuffer_graphics_output.hpp>

Inheritance diagram for kanzi::FramebufferGraphicsOutput:
[legend]

Public Member Functions

 FramebufferGraphicsOutput ()
 Constructor.
 
KZ_NO_DISCARD const FramebuffergetFramebuffer () const noexcept
 Returns the framebuffer for the Graphics Output.
 
KZ_NO_DISCARD FramebuffergetFramebuffer () noexcept
 Returns the framebuffer for the Graphics Output.
 
virtual KZ_NO_DISCARD Matrix4x4 getTargetTransformation () const noexcept=0
 Returns the target transformation.
 
virtual ~FramebufferGraphicsOutput ()=default
 Destructor.
 

Detailed Description

FramebufferGraphicsOutput class.

Mixin interface for graphics outputs that expose a kanzi::Framebuffer. This interface participates in the graphics output capability query. See Application::getGraphicsOutput<>().

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ FramebufferGraphicsOutput()

kanzi::FramebufferGraphicsOutput::FramebufferGraphicsOutput ( )
inlineexplicit

Constructor.

◆ ~FramebufferGraphicsOutput()

virtual kanzi::FramebufferGraphicsOutput::~FramebufferGraphicsOutput ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getTargetTransformation()

virtual KZ_NO_DISCARD Matrix4x4 kanzi::FramebufferGraphicsOutput::getTargetTransformation ( ) const
pure virtualnoexcept

Returns the target transformation.

Use the target transformation to transform content coordinates to target coordinates.

Note
This transformation maps pixels to pixels. It is independent of the target resolution.
Returns
Target transformation matrix.

Implemented in kanzi::emscripten::DefaultEmscriptenGraphicsOutput, kanzi::LegacyGraphicsOutput, kanzi::qnx::DefaultQnxEGLGraphicsOutput, kanzi::wayland::DefaultWaylandEGLGraphicsOutput, kanzi::wayland::WaylandIVIEGLGraphicsOutput, and kanzi::x11::DefaultX11EGLGraphicsOutput.

◆ getFramebuffer() [1/2]

KZ_NO_DISCARD Framebuffer & kanzi::FramebufferGraphicsOutput::getFramebuffer ( )
inlinenoexcept

Returns the framebuffer for the Graphics Output.

Returns
The framebuffer.

◆ getFramebuffer() [2/2]

KZ_NO_DISCARD const Framebuffer & kanzi::FramebufferGraphicsOutput::getFramebuffer ( ) const
inlinenoexcept

Returns the framebuffer for the Graphics Output.

Returns
The framebuffer.

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