mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -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;
|
return newImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Bitmap RotateFlip(Bitmap sourceBitmap, RotateFlipType rotateFlipType) {
|
||||||
|
Bitmap returnBitmap = Clone(sourceBitmap);
|
||||||
|
returnBitmap.RotateFlip(rotateFlipType);
|
||||||
|
return returnBitmap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Greenshot.Plugin {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
//public enum HorizontalAlignment {LEFT, CENTER, RIGHT};
|
//public enum HorizontalAlignment {LEFT, CENTER, RIGHT};
|
||||||
public enum VerticalAlignment {TOP, CENTER, BOTTOM};
|
public enum VerticalAlignment {TOP, CENTER, BOTTOM};
|
||||||
public enum Effects { Shadow, TornEdge, Border, Grayscale };
|
public enum Effects { Shadow, TornEdge, Border, Grayscale, Rotate90, Rotate270 };
|
||||||
|
|
||||||
public enum SurfaceMessageTyp {
|
public enum SurfaceMessageTyp {
|
||||||
FileSaved,
|
FileSaved,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue