diff options
author | 2024-05-03 13:25:58 +0200 | |
---|---|---|
committer | 2024-05-03 13:25:58 +0200 | |
commit | fa9e1d96ea1924b51749b775ea0e67e69bc8a305 (patch) | |
tree | 20cb13d6e3074569a15a16c8b0d261b1875a2045 /core/src/renderer | |
parent | 38cf87cb45484c7e52ddf775fb3abd7edbecc652 (diff) | |
download | iced-fa9e1d96ea1924b51749b775ea0e67e69bc8a305.tar.gz iced-fa9e1d96ea1924b51749b775ea0e67e69bc8a305.tar.bz2 iced-fa9e1d96ea1924b51749b775ea0e67e69bc8a305.zip |
Introduce dynamic `opacity` support for `Image` and `Svg`
Diffstat (limited to 'core/src/renderer')
-rw-r--r-- | core/src/renderer/null.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/renderer/null.rs b/core/src/renderer/null.rs index 91519b40..e8709dbc 100644 --- a/core/src/renderer/null.rs +++ b/core/src/renderer/null.rs @@ -173,6 +173,7 @@ impl image::Renderer for () { _filter_method: image::FilterMethod, _bounds: Rectangle, _rotation: Radians, + _opacity: f32, ) { } } @@ -188,6 +189,7 @@ impl svg::Renderer for () { _color: Option<Color>, _bounds: Rectangle, _rotation: Radians, + _opacity: f32, ) { } } |