|
发表于 2010-1-31 13:53:00
|
显示全部楼层
Re:有人研究D2D没?请教个问题
void DrawBitmap(
[in] ID2D1Bitmap *bitmap,
[ref] const D2D1_RECT_F &destinationRectangle,
FLOAT opacity,
D2D1_BITMAP_INTERPOLATION_MODE interpolationMode,
[ref] const D2D1_RECT_F &sourceRectangle
);
opacity
A value between 0.0f and 1.0f, inclusive, that specifies an opacity value to apply to the bitmap; this value is multiplied against the alpha values of the bitmap's contents.
|
|