日期:2014-05-20  浏览次数:20967 次

请问,C#的GDI+可以实现两个Graphis叠加么?
如题谢谢!!

------解决方案--------------------
Bitmap Circle = (Bitmap)Image.FromFile(@ "c:\circle.bmp ");
Bitmap MergedBMP = (Bitmap)Image.FromFile(@ "c:\cross.bmp ");
Graphics g = Graphics.FromImage(Circle);
MergedBMP.MakeTransparent(Color.White);
g.DrawImage(MergedBMP,0,0);
g.Dispose();

pictureBox1.Image = Circle;