slint/internal/core/graphics
Olivier Goffart 1864257f29 Silence error when rendering SVG in an 0x0 size
Make the size argument to svg::render optional to mean that it is the
default size of the image.
Otherwise, passing None as the size to ImageInner::render_to_buffer
would not render the image which is possible in some backend (eg: the
button image icon with the qt backend)

And if the image is really rendered on an empty because of layouting or
so, we don't need to show a warning anyway.

Fix #3790
2023-11-02 11:09:20 +01:00
..
image Silence error when rendering SVG in an 0x0 size 2023-11-02 11:09:20 +01:00
bitmapfont.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
boxshadowcache.rs Remove duplicated geometry properties from items 2023-09-13 16:08:37 +02:00
brush.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
color.rs Derive serde for Color 2023-09-06 11:15:34 +02:00
image.rs Silence error when rendering SVG in an 0x0 size 2023-11-02 11:09:20 +01:00
path.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
rendering_metrics_collector.rs Frame per second counter for the software renderer 2023-09-28 16:23:07 +02:00