|
|
使用Blt函数时候,无法指定红色分量,蓝色和绿色正常,红色始终变成0 ,无语:
ddbltfx.dwFillColor = RGB(blue,green,red);
lpdds->Blt(client, // ptr to dest rectangle
NULL, // ptr to source surface, NA
NULL, // ptr to source rectangle, NA
DDBLT_COLORFILL | DDBLT_WAIT, // fill and wait
&ddbltfx); //
但红色分量不起丝毫作用,我也这样试过:ddbltfx.dwFillColor=0x00 ff 00 00;但红色还是出不来,郁闷。
求救! |
|