Class SkiaRenderer¶
Defined in File slint-platform.h
Inheritance Relationships¶
Base Type¶
public slint::platform::AbstractRenderer
(Class AbstractRenderer)
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.
-
inline virtual ~SkiaRenderer()¶