Class representing a default OpenHarmony OS 4.1 EGL graphics output. More...
#include <kanzi/platform/platform/graphics_output/ohos_egl/default_ohos_egl_graphics_output.hpp>
Protected Member Functions | |
| void | setTargetTransformation (Matrix4x4 targetTransformation) noexcept |
| Sets the target transformation matrix. | |
| void | updateCachedValues (unsigned int width, unsigned int height) noexcept |
| Updates all cached values from the given layout size. | |
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. | |
Class representing a default OpenHarmony OS 4.1 EGL graphics output.
This class is meant to be contructed after the surface creation callback has been received from the system.
|
explicit |
Constructor.
The windowHandle member variable of the properties struct must be set before calling this constructor.
| properties | Properties to request for the graphics output. |
| kanzi::ohos::DefaultOhosEGLGraphicsOutput::~DefaultOhosEGLGraphicsOutput | ( | ) |
Destructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
delete |
Copy assignment.
|
delete |
Move assignment.
|
overridevirtualnoexcept |
FramebufferGraphicsOutput::getTargetTransformation() implementation.
Implements kanzi::FramebufferGraphicsOutput.
|
overridevirtualnoexcept |
FramebufferGraphicsOutput::getNativeFramebufferHandle() implementation.
Implements kanzi::FramebufferGraphicsOutput.
|
inlineprotectednoexcept |
Sets the target transformation matrix.
| targetTransformation | The target transformation matrix. |
|
protectednoexcept |
Updates all cached values from the given layout size.
| width | Layout area width in pixels. |
| height | Layout area height in pixels. |