egui/crates/emath
Emil Ernerfeldt b8334f365b
Fix sometimes blurry SVGs (#7071)
* Closes https://github.com/emilk/egui/issues/3501

The problem occurs when you want to render the same SVG at different
scales, either at the same time in different parts of your UI, or at two
different times (e.g. the DPI changes).

The solution is to use the `SizeHint` as part of the key.

However, when you have an SVG in a resizable container, that can lead to
hundreds of versions of the same SVG. So new eviction code is added to
handle this case.
2025-05-21 20:01:40 +02:00
..
src Fix sometimes blurry SVGs (#7071) 2025-05-21 20:01:40 +02:00
Cargo.toml Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00
README.md Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00

README.md

emath - egui math library

Latest version Documentation unsafe forbidden MIT Apache

A bare-bones 2D math library with types and functions useful for GUI building.

Made for egui.