首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图解决办法

2012-04-01 
GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图GDI+用TGPBitmap.Create(300,300,Pi

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

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

热点排行