Skip to content

Commit

Permalink
dev: fix error after bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Oct 26, 2023
1 parent ad516a8 commit 4d57d92
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions core/src/vector/geom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,32 +371,6 @@ impl From<Transform> for tiny_skia::Transform {
}
}

impl From<tiny_skia_path::Transform> for Transform {
fn from(skia_transform: tiny_skia_path::Transform) -> Self {
Self {
sx: skia_transform.sx.into(),
ky: skia_transform.ky.into(),
kx: skia_transform.kx.into(),
sy: skia_transform.sy.into(),
tx: skia_transform.tx.into(),
ty: skia_transform.ty.into(),
}
}
}

impl From<Transform> for tiny_skia_path::Transform {
fn from(ir_transform: Transform) -> Self {
Self {
sx: ir_transform.sx.into(),
ky: ir_transform.ky.into(),
kx: ir_transform.kx.into(),
sy: ir_transform.sy.into(),
tx: ir_transform.tx.into(),
ty: ir_transform.ty.into(),
}
}
}

#[derive(Debug, Clone, Copy, PartialEq, Hash, Default)]
pub struct Rect {
pub lo: Point,
Expand Down

0 comments on commit 4d57d92

Please sign in to comment.