slint/internal/backends/mcu
Simon Hausmann f912ec7e6b Fix scaling of glyphs and improve type safety in the MCU backend
The code was mixing logical and physical sizes, causing glyphs being
doubly scaled down. Instead, this patch introduces:

 * Physical* and Logical* euclid length/size/rect aliases
 * some extraction traits for getting the scalars in rects/sizes as lengths (until euclid has them
built-in)
 * wrapper traits/types for safely extracting the physical font metrics the
 compiler generates (i16)
 * Fix a bug in the text height calculation where we failed to take the
   descent into account
2022-02-17 15:07:57 +01:00
..
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
simulator [reorg]: Move the rendering backends into internal 2022-01-31 16:00:50 +01:00
Cargo.toml MCU: Enable the i-slint-core/libm feature when compiling for the pico 2022-02-14 16:21:31 +01:00
fonts.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
lengths.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
lib.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
pico_st7789.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
renderer.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
simulator.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00

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.