mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Removed the DrawableContainer "rotate" method, is wasn't used and besides the Transform method is way more elegant!
This commit is contained in:
parent
34e0457edb
commit
a5a5b92b10
2 changed files with 8 additions and 69 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue