* Merge this first: https://github.com/emilk/egui/pull/5517 This aligns all rectangles and (horizontal or vertical) line segments to the physical pixel grid in the `epaint::Tessellator`, making these shapes appear crisp everywhere. * Closes https://github.com/emilk/egui/issues/5164 * Closes https://github.com/emilk/egui/issues/3667 This undoes a lot of the explicit, egui-side aligning added in: * https://github.com/emilk/egui/pull/4943 The new approach has several benefits over the old one: * It is done automatically by epaint, so it is applied to everything (no longer opt-in) * It is applied after any layer transforms (so it always works) * It makes line segments crisper on high-DPI screens * All filled rectangles now has sides that end on pixel boundaries |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
| screenshot.png | ||
README.md
Hello world example for Android.
Use cargo-apk to build and run. Requires a patch to workaround an upstream bug.
One-time setup:
cargo install \
--git https://github.com/parasyte/cargo-apk.git \
--rev 282639508eeed7d73f2e1eaeea042da2716436d5 \
cargo-apk
Build and run:
cargo apk run -p hello_android
