用GDI+ Gdiplus 怎样使图片的某种颜色透明显示
Fanjj 2004-03-12 04:55:19 各位高人:
我在用Gdiplus的DrawImage以某种颜色透明显示图片时,
不知道怎样设置 ImageAttributes,请各位不吝赐教。
Status DrawImage(IN Image* image,
IN const Rect& destRect,
IN INT srcx,
IN INT srcy,
IN INT srcwidth,
IN INT srcheight,
IN Unit srcUnit,
IN const ImageAttributes* imageAttributes = NULL,
IN DrawImageAbort callback = NULL,
IN VOID* callbackData = NULL)