slint/internal/core/graphics
Simon Hausmann 78771e0e37 Fix panic when loading unsupported images in Rust
The call to load the image already prints a message to stderr, so don't
panic but return a null image instead - neither when calling load_from_path
nor when decoding embedded image data.

cc #4846
2024-03-14 23:04:43 +01:00
..
image janitor: Run cargo clippy --fix 2024-03-14 13:42:38 +01:00
bitmapfont.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
border_radius.rs janitor: Fix warnings in nightly about redandant use 2024-02-19 17:05:21 +01:00
boxshadowcache.rs janitor: Fix warnings in nightly about redandant use 2024-02-19 17:05:21 +01:00
brush.rs Fix 90deg gradients 2024-01-31 20:44:45 +01:00
color.rs Inline the Color accesor functions 2023-12-19 13:24:48 +01:00
image.rs Fix panic when loading unsupported images in Rust 2024-03-14 23:04:43 +01:00
path.rs doc: Fix typo 2024-01-08 10:08:05 +01:00
rendering_metrics_collector.rs janitor: Fix warnings in nightly about redandant use 2024-02-19 17:05:21 +01:00