This commit is contained in:
Ashley Wulber 2024-10-18 10:11:22 -04:00
parent df4b94edf2
commit 2dd6137459
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
19 changed files with 42 additions and 53 deletions

View file

@ -620,7 +620,7 @@ impl Engine {
let center = physical_bounds.center();
let radians = f32::from(svg.rotation);
let transform = Transform::default().post_rotate_at(
let transform = tiny_skia::Transform::default().post_rotate_at(
radians.to_degrees(),
center.x,
center.y,

View file

@ -1,7 +1,7 @@
use crate::Primitive;
use crate::core::renderer::Quad;
use crate::core::{
self, Background, Color, Point, Radians, Rectangle, Svg, Transformation,
self, Background, Color, Point, Rectangle, Svg, Transformation,
};
use crate::graphics::damage;
use crate::graphics::layer;