slint/internal/core/graphics/image
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
..
cache.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
htmlimage.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
svg.rs Silence error when rendering SVG in an 0x0 size 2023-11-02 11:09:20 +01:00