读书人

GDI+用TGPBitmap.Create(300,300,Pixe

发布时间: 2012-04-01 17:23:46 作者: rapoo

GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图
GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图保存后
背景色总是黑色,如何能把背景色设为白色?

[解决办法]
tgpBitmap.canvas.fillrect
或者
逐相素变白

读书人网 >.NET

热点推荐