Kanzi 3.9.14
kanzi::android_ws::FissionSurface Class Reference

Class representing a Android WS Fission surface. More...

#include <kanzi/core.ui/platform/windowing_ng/android_ws_fission_egl/fission_surface.hpp>

Public Member Functions

 FissionSurface (const FissionDisplay &fissionDisplay, string_view windowTitle, kanzi::windowing::Region windowRegion, unsigned int zorder, int pixelFormat) noexcept
 Constructor.
 
 FissionSurface (const FissionSurface &)=delete
 Copy constructor.
 
 FissionSurface (EGLNativeWindowType fissionSurface)
 Constructor.
 
 FissionSurface (FissionSurface &&) noexcept=delete
 Move constructor.
 
KZ_NO_DISCARD EGLNativeWindowType getNativeHandle () const noexcept
 Gets native surface handle.
 
FissionSurfaceoperator= (const FissionSurface &)=delete
 Copy assignment constructor.
 
FissionSurfaceoperator= (FissionSurface &&) noexcept=delete
 Move assignment operator.
 
bool setAlpha (float alpha) noexcept
 Sets alpha value of the surface.
 
bool setPositionAbsolute (unsigned int x, unsigned int y) noexcept
 Sets absolute position of the surface.
 
bool setSize (unsigned int width, unsigned int height) noexcept
 Sets size of the surface in pixels.
 
bool setZOrder (unsigned int z) noexcept
 Sets z-order of the surface.
 
 ~FissionSurface ()
 Destructor.
 

Detailed Description

Class representing a Android WS Fission surface.

Since
Kanzi 3.9.11

Constructor & Destructor Documentation

◆ FissionSurface() [1/4]

kanzi::android_ws::FissionSurface::FissionSurface ( const FissionDisplay & fissionDisplay,
string_view windowTitle,
kanzi::windowing::Region windowRegion,
unsigned int zorder,
int pixelFormat )
explicitnoexcept

Constructor.

Parameters
fissionDisplayFission display.
windowTitleWindow title.
windowRegionSize and position of the surface.
zorderWindow z-order.
pixelFormatThe pixel format of native window.

◆ FissionSurface() [2/4]

kanzi::android_ws::FissionSurface::FissionSurface ( EGLNativeWindowType fissionSurface)
explicit

Constructor.

Parameters
fissionSurfaceNative Fission surface.

◆ ~FissionSurface()

kanzi::android_ws::FissionSurface::~FissionSurface ( )

Destructor.

◆ FissionSurface() [3/4]

kanzi::android_ws::FissionSurface::FissionSurface ( const FissionSurface & )
delete

Copy constructor.

◆ FissionSurface() [4/4]

kanzi::android_ws::FissionSurface::FissionSurface ( FissionSurface && )
deletenoexcept

Move constructor.

Member Function Documentation

◆ setPositionAbsolute()

bool kanzi::android_ws::FissionSurface::setPositionAbsolute ( unsigned int x,
unsigned int y )
noexcept

Sets absolute position of the surface.

Parameters
xX value to be set.
yY value to be set.
Returns
true if succeeds, otherwise, false.

◆ setSize()

bool kanzi::android_ws::FissionSurface::setSize ( unsigned int width,
unsigned int height )
noexcept

Sets size of the surface in pixels.

Parameters
widthWidth of the window to be set.
heightHeight of the window to be set.
Returns
true if succeeds, otherwise, false.

◆ setZOrder()

bool kanzi::android_ws::FissionSurface::setZOrder ( unsigned int z)
noexcept

Sets z-order of the surface.

Parameters
zZ-order value to be set.
Returns
true if succeeds, otherwise, false.

◆ setAlpha()

bool kanzi::android_ws::FissionSurface::setAlpha ( float alpha)
noexcept

Sets alpha value of the surface.

Parameters
alphaAlpha value to be set.
Returns
true if succeeds, otherwise, false.

◆ getNativeHandle()

KZ_NO_DISCARD EGLNativeWindowType kanzi::android_ws::FissionSurface::getNativeHandle ( ) const
noexcept

Gets native surface handle.

Returns
Native Fission surface.

◆ operator=() [1/2]

FissionSurface & kanzi::android_ws::FissionSurface::operator= ( const FissionSurface & )
delete

Copy assignment constructor.

◆ operator=() [2/2]

FissionSurface & kanzi::android_ws::FissionSurface::operator= ( FissionSurface && )
deletenoexcept

Move assignment operator.


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