Module software_renderer
Expand description
This module contains the SoftwareRenderer
and related types.
It is only enabled when the renderer-software
Slint feature is enabled.
Structs§
- Minimal
Software Window - This is a minimal adapter for a Window that doesn’t have any other feature than rendering using the software renderer.
- Physical
Region - Represents a rectangular region on the screen, used for partial rendering.
- Premultiplied
Rgba Color - A color whose component have been pre-multiplied by alpha
- Rgb565
Pixel - A 16bit pixel that has 5 red bits, 6 green bits and 5 blue bits
- Software
Renderer - A Renderer that do the rendering in software
Enums§
- Rendering
Rotation - This enum describes the rotation that should be applied to the contents rendered by the software renderer.
- Repaint
Buffer Type - This enum describes which parts of the buffer passed to the
SoftwareRenderer
may be re-used to speed up painting.
Traits§
- Line
Buffer Provider - This trait defines a bi-directional interface between Slint and your code to send lines to your screen, when using
the
SoftwareRenderer::render_by_line
function. - Target
Pixel - Trait for the pixels in the buffer