mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
![]() Set the native simulator display size to 1280x720 to match the hardware. On the hardware we rotate the screen using the display driver pixel processing pipeline API. We can tell slint the rotated size via the window adapter and everything is rendered as expected. Input still needs rotating, so the software renderer RotationInfo struct and `transformed` functions are "copied" here. However, we must specify the opposite orientation in order to get the expected input coordinates. |
||
---|---|---|
.. | ||
esp-idf | ||
ui | ||
zephyr | ||
bench.rs | ||
build.rs | ||
Cargo.toml | ||
main.rs | ||
README.md |
This is a "fork" of the printer demo modified to run on a smaller screen.
See the MCU backend Readme for more info.