Expand description
NOTE: This library is an internal crate of the Slint project.
This crate should not be used directly by applications using Slint.
You should use the slint crate instead.
WARNING: This crate does not follow the semver convention for versioning and can
only be used with version = "=x.y.z" in Cargo.toml.
Structs§
- Draw
Rectangle Args experimental - This structure describes the properties of a rectangle for blending with
TargetPixelBuffer::draw_rectangle. - Draw
Texture Args experimental - This structure describes the properties of a texture for blending with
TargetPixelBuffer::draw_texture. - 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
SoftwareRenderermay be re-used to speed up painting. - Texture
Pixel Format experimental - The pixel format used for textures.
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_linefunction. - Target
Pixel - Trait for the pixels in the buffer
- Target
Pixel Buffer experimental - This trait represents access to a buffer of pixels the software renderer can render into, as well as certain operations that the renderer will try to delegate to this trait. Implement these functions to delegate rendering further to hardware-provided 2D acceleration units, such as DMA2D or PXP.