summaryrefslogtreecommitdiffstats
path: root/core/src/svg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/svg.rs')
-rw-r--r--core/src/svg.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/svg.rs b/core/src/svg.rs
index 0106e0c2..946b8156 100644
--- a/core/src/svg.rs
+++ b/core/src/svg.rs
@@ -1,5 +1,5 @@
//! Load and draw vector graphics.
-use crate::{Color, Rectangle, Size};
+use crate::{Color, Radians, Rectangle, Size};
use rustc_hash::FxHasher;
use std::borrow::Cow;
@@ -100,5 +100,7 @@ pub trait Renderer: crate::Renderer {
handle: Handle,
color: Option<Color>,
bounds: Rectangle,
+ rotation: Radians,
+ opacity: f32,
);
}