summaryrefslogtreecommitdiffstats
path: root/core/src/image.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-05-02 13:15:17 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-05-02 17:27:45 +0200
commit09a6bcfffc24f5abdc8709403bab7ae1e01563f1 (patch)
tree8a09792cd01cb56a3a5d11184a60009f8a22a85f /core/src/image.rs
parentaae8e4f5cfabfc3725ac938023fa29a6737a380c (diff)
downloadiced-09a6bcfffc24f5abdc8709403bab7ae1e01563f1.tar.gz
iced-09a6bcfffc24f5abdc8709403bab7ae1e01563f1.tar.bz2
iced-09a6bcfffc24f5abdc8709403bab7ae1e01563f1.zip
Add `Image` rotation support
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
Diffstat (limited to 'core/src/image.rs')
-rw-r--r--core/src/image.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/image.rs b/core/src/image.rs
index c38239bc..5d1ab441 100644
--- a/core/src/image.rs
+++ b/core/src/image.rs
@@ -173,5 +173,7 @@ pub trait Renderer: crate::Renderer {
handle: Self::Handle,
filter_method: FilterMethod,
bounds: Rectangle,
+ rotation: f32,
+ scale: Size,
);
}