日期:2014-05-20 浏览次数:20817 次
Bitmap source = new Bitmap(切过的图); sub_image = source.Clone(对应的矩形区域);
e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None; e.Graphics.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.None; e.Graphics.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor; g.Graphics.ScaleTransform(1.5, 1.5, MatrixOrder.Append); e.Graphics.DrawImageUnscaled(sub_image , x, y);