SpriteMapping tool added

Created first implementation of a spritemap making app!
This commit is contained in:
quinnvoker
2018-11-22 12:56:07 -08:00
parent 9a25f068fc
commit 46959bde2e
16 changed files with 1402 additions and 0 deletions
@@ -0,0 +1,20 @@
using System.Drawing.Drawing2D;
using System.Windows.Forms;
/// <summary>
/// Inherits from PictureBox; adds Interpolation Mode Setting
/// </summary>
namespace SpriteMapEditor
{
public class PictureBoxWithInterpolationMode : PictureBox
{
public InterpolationMode InterpolationMode { get; set; }
protected override void OnPaint(PaintEventArgs paintEventArgs)
{
paintEventArgs.Graphics.InterpolationMode = InterpolationMode;
base.OnPaint(paintEventArgs);
}
}
}