Skip to main content

Crate i_slint_renderer_software

Crate i_slint_renderer_software 

Source
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§

DrawRectangleArgsexperimental
This structure describes the properties of a rectangle for blending with TargetPixelBuffer::draw_rectangle.
DrawTextureArgsexperimental
This structure describes the properties of a texture for blending with TargetPixelBuffer::draw_texture.
MinimalSoftwareWindow
This is a minimal adapter for a Window that doesn’t have any other feature than rendering using the software renderer.
PhysicalRegion
Represents a rectangular region on the screen, used for partial rendering.
PremultipliedRgbaColor
A color whose component have been pre-multiplied by alpha
Rgb565Pixel
A 16bit pixel that has 5 red bits, 6 green bits and 5 blue bits
SoftwareRenderer
A Renderer that do the rendering in software

Enums§

RenderingRotation
This enum describes the rotation that should be applied to the contents rendered by the software renderer.
RepaintBufferType
This enum describes which parts of the buffer passed to the SoftwareRenderer may be re-used to speed up painting.
TexturePixelFormatexperimental
The pixel format used for textures.

Traits§

LineBufferProvider
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.
TargetPixel
Trait for the pixels in the buffer
TargetPixelBufferexperimental
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.