Skip to content

Commit

Permalink
Remove commented code in tiny_skia::layer
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed May 2, 2024
1 parent a763af0 commit c689df4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tiny_skia/src/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,22 +260,6 @@ impl Layer {
Image::eq,
);

// let center = bounds.center();
// let rotated_size = RotationLayout::Change
// .apply_to_size(bounds.size(), *rotation);
//
// let scaled_size = Size::new(
// rotated_size.width * scale.width,
// rotated_size.height * scale.height,
// );
//
// let top_left = Point::new(
// center.x - scaled_size.width / 2.0,
// center.y - scaled_size.height / 2.0,
// );
//
// Rectangle::new(top_left, scaled_size).expand(1.0)

damage.extend(text);
damage.extend(primitives);
damage.extend(images);
Expand Down

0 comments on commit c689df4

Please sign in to comment.