egui/crates/egui_extras/src
PingPongun 963be247f2
Update resvg dependency of egui_extras (#3719)
Update `resvg` from v0.28 to v0.37. 
Remove related, unnecessary entries from `deny.toml`.

⚠ In example `images` ferris is scaled differently, but I guess that now
it scales in expected way (takes all available space; before this PR it
takes up to space that, was available at first render- it does not
upscale).

This PR is minimal adaptation to new `resvg` api and small related
simplification, however it should be considered to update loaders
(currently if svg image initially was small and was scaled up it will be
blurred, see https://github.com/emilk/egui/issues/3501). As svg image
now scales over render size, problem will be more often seen now.

(currently `SvgLoader` theoretically should rerender for different sizes
(but I guess it will result in memory leak in that case), but refreshing
is stopped earlier in `DefaultTextureLoader`).

I have initial version of loaders update, that will fix issue with svg
scaling (and also enable e.g. reloading image if file has been changed),
I will submit these changes in separate PR once this one is merged.

Closes <https://github.com/emilk/egui/issues/3652>.
2023-12-20 08:09:03 +01:00
..
datepicker egui_extras: Add more years for datepicker (#3599) 2023-11-28 14:50:19 +01:00
loaders Update resvg dependency of egui_extras (#3719) 2023-12-20 08:09:03 +01:00
image.rs Update resvg dependency of egui_extras (#3719) 2023-12-20 08:09:03 +01:00
layout.rs Lint vertical spacing in the code (#3224) 2023-08-10 15:26:54 +02:00
lib.rs Keep unsafe code forbidden when puffin is disabled (#3603) 2023-11-22 20:37:46 +01:00
loaders.rs Final image API doc tweaks 2023-09-27 16:40:26 +02:00
sizing.rs Add `#[inline]` to all builder-pattern functions (#3557) 2023-11-16 13:50:05 +01:00
strip.rs Add `#[inline]` to all builder-pattern functions (#3557) 2023-11-16 13:50:05 +01:00
syntax_highlighting.rs Replace `Id::null()` with `Id::NULL` (#3544) 2023-11-11 21:40:02 +01:00
table.rs Remove deprecated functions (#3692) 2023-12-08 11:02:57 +01:00