Skip to main content

Module femtovg_renderer

Module femtovg_renderer 

Source
Available on (crate features renderer-femtovg-wgpu or renderer-femtovg) and non-Android only.
Expand description

This module contains the femtovg_renderer::FemtoVGRenderer and related types.

It is only enabled when the renderer-femtovg Slint feature is enabled.

Structs§

FemtoVGWGPURendererunstable-wgpu-29
Use this type to render to a WGPU texture using FemtoVG. Use the FemtoVG renderer with WGPU when implementing a custom Slint platform where you want the scene to be rendered into a WGPU texture. The rendering is done using the FemtoVG library.

Traits§

OpenGLInterfacerenderer-femtovg
This trait describes the interface GPU accelerated renderers in Slint require to render with OpenGL.

Type Aliases§

FemtoVGRendereropengl and renderer-femtovg