素胚勾勒不出你
你可以用Graphics.DrawImage若要从位图中将裁剪的图像绘制到图形对象上,请执行以下操作。Rectangle cropRect = new Rectangle(...);Bitmap src = Image.FromFile(fileName) as Bitmap;Bitmap target = new Bitmap(cropRect.Width, cropRect.Height);using(Graphics g = Graphics.FromImage(target)){
g.DrawImage(src, new Rectangle(0, 0, target.Width, target.Height),
cropRect,
GraphicsUnit.Pixel);}