Removed the DrawableContainer "rotate" method, is wasn't used and besides the Transform method is way more elegant!

This commit is contained in:
RKrom 2014-06-02 09:13:43 +02:00
parent 34e0457edb
commit a5a5b92b10
2 changed files with 8 additions and 69 deletions

View file

@ -151,20 +151,6 @@ namespace Greenshot.Drawing {
}
}
/// <summary>
/// Rotate the bitmap
/// </summary>
/// <param name="rotateFlipType"></param>
public override void Rotate(RotateFlipType rotateFlipType) {
Image newImage = ImageHelper.RotateFlip(image, rotateFlipType);
if (newImage != null) {
// Remove all current bitmaps, also the shadow (will be recreated)
DisposeImages();
image = newImage;
}
base.Rotate(rotateFlipType);
}
/// <summary>
/// This checks if a shadow is already generated
/// </summary>