This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Drawing; | |
namespace GraphicsHelperLibrary | |
{ | |
public static class GraphicsHelper | |
{ | |
public static void DrawRotatedImage(this Graphics G, Bitmap _Image, PointF _Position, float _Rotation) | |
{ | |
PointF Offset = new PointF(_Image.Width / 2 + _Position.X, | |
_Image.Height / 2 + _Position.Y); |