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:
RKrom 2012-02-27 06:28:43 +00:00
commit 70103d745f
2 changed files with 7 additions and 1 deletions

View file

@ -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;
}
}
}