mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 18:57:28 -07:00
Added initial code for rotating
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1675 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
09201841c3
commit
70103d745f
2 changed files with 7 additions and 1 deletions
|
@ -992,5 +992,11 @@ namespace GreenshotPlugin.Core {
|
|||
}
|
||||
return newImage;
|
||||
}
|
||||
|
||||
public static Bitmap RotateFlip(Bitmap sourceBitmap, RotateFlipType rotateFlipType) {
|
||||
Bitmap returnBitmap = Clone(sourceBitmap);
|
||||
returnBitmap.RotateFlip(rotateFlipType);
|
||||
return returnBitmap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue