Module slint::platform::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§
- This is a minimal adapter for a Window that doesn’t have any other feature than rendering using the software renderer.
- Represents a rectangular region on the screen, used for partial rendering.
- A color whose component have been pre-multiplied by alpha
- A 16bit pixel that has 5 red bits, 6 green bits and 5 blue bits
- A Renderer that do the rendering in software
Enums§
- This enum describes the rotation that should be applied to the contents rendered by the software renderer.
- This enum describes which parts of the buffer passed to the
SoftwareRenderer
may be re-used to speed up painting.
Traits§
- 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. - Trait for the pixels in the buffer