egui/crates/emath/src
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
..
align.rs Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
easing.rs Easing functions (#4630) 2024-06-06 13:09:52 +02:00
gui_rounding.rs Make all lines and rectangles crisp (#5518) 2024-12-26 21:02:27 +01:00
history.rs Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00
lib.rs Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
numeric.rs Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
ordered_float.rs Fix sometimes blurry SVGs (#7071) 2025-05-21 20:01:40 +02:00
pos2.rs Optimize editing long text by caching each paragraph (#5411) 2025-04-01 18:55:39 +02:00
range.rs Cross-widget text select (#3870) 2024-01-24 15:45:22 +01:00
rect.rs Optimize editing long text by caching each paragraph (#5411) 2025-04-01 18:55:39 +02:00
rect_align.rs Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
rect_transform.rs Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
rot2.rs Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
smart_aim.rs Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
ts_transform.rs Add `egui::Scene` for panning/zooming a `Ui` (#5505) 2025-01-28 20:06:10 +01:00
vec2.rs Add new `Rect::intersects_ray_from_center` method (#5415) 2024-12-02 09:20:59 +01:00
vec2b.rs Update ScrollArea drag velocity when drag stopped (#5175) 2024-10-02 18:12:36 +02:00