mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
![]() 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 |
||
---|---|---|
.. | ||
graphics | ||
items | ||
LICENSES | ||
animations.rs | ||
api.rs | ||
backend.rs | ||
callbacks.rs | ||
Cargo.toml | ||
component.rs | ||
flickable.rs | ||
graphics.rs | ||
input.rs | ||
item_rendering.rs | ||
item_tree.rs | ||
items.rs | ||
layout.rs | ||
lib.rs | ||
model.rs | ||
properties.rs | ||
README.md | ||
rtti.rs | ||
sharedvector.rs | ||
slice.rs | ||
string.rs | ||
tests.rs | ||
timers.rs | ||
window.rs |
Slint Runtime Library
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.