diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/image.rs | 1 | ||||
-rw-r--r-- | core/src/renderer/null.rs | 2 | ||||
-rw-r--r-- | core/src/svg.rs | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/core/src/image.rs b/core/src/image.rs index 91a7fd36..82ecdd0f 100644 --- a/core/src/image.rs +++ b/core/src/image.rs @@ -174,5 +174,6 @@ pub trait Renderer: crate::Renderer { filter_method: FilterMethod, bounds: Rectangle, rotation: Radians, + opacity: f32, ); } 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, ) { } } diff --git a/core/src/svg.rs b/core/src/svg.rs index 01f102e3..946b8156 100644 --- a/core/src/svg.rs +++ b/core/src/svg.rs @@ -101,5 +101,6 @@ pub trait Renderer: crate::Renderer { color: Option<Color>, bounds: Rectangle, rotation: Radians, + opacity: f32, ); } |