Class SkiaRenderer#

Inheritance Relationships#

Base Type#

Class Documentation#

class SkiaRenderer : public slint::platform::AbstractRenderer#

Slint’s Skia renderer.

Create the renderer when you have created a native window with a non-zero size. Call the render() function to render the scene into the window.

Public Functions

inline virtual ~SkiaRenderer()#
SkiaRenderer(const SkiaRenderer&) = delete#
SkiaRenderer &operator=(const SkiaRenderer&) = delete#
inline explicit SkiaRenderer(const NativeWindowHandle &window_handle, PhysicalSize initial_size)#

Constructs a new Skia renderer for the given window - referenced by the provided WindowHandle - and the specified initial size.

inline void render() const#

Renders the scene into the window provided to the SkiaRenderer’s constructor.