Skip to content

Commit

Permalink
i'm going to try for a fairly brute force refactor here, so just want…
Browse files Browse the repository at this point in the history
… a break point before I start
  • Loading branch information
LiamPClancy committed Aug 22, 2023
1 parent 871890c commit 6e5c9e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ fn main() {
let current_layer = doc.get_page(page1).get_layer(layer1);
let svg = Svg::parse(SVG).unwrap();

let rotation_center_x = Px((svg.width.0 as f64 / 2.0) as usize);
let rotation_center_y = Px((svg.height.0 as f64 / 2.0) as usize);
let rotation_center_x = Px((svg.width.0 as f32 / 2.0) as usize);
let rotation_center_y = Px((svg.height.0 as f32 / 2.0) as usize);

let reference = svg.into_xobject(&current_layer);

Expand Down

0 comments on commit 6e5c9e1

Please sign in to comment.