CRenderTarget::DrawBitmap
Draws the formatted text described by the specified IDWriteTextLayout object.
void DrawBitmap(
CD2DBitmap* pBitmap,
const CD2DRectF& rectDest,
float fOpacity = 1.0,
D2D1_BITMAP_INTERPOLATION_MODE interpolationMode = D2D1_BITMAP_INTERPOLATION_MODE_LINEAR,
const CD2DRectF* pRectSrc = NULL
);
Parameters
pBitmap
The bitmap to render.rectDest
The size and position, in device-independent pixels in the render target's coordinate space, of the area to which the bitmap is drawn. If the rectangle is not well-ordered, nothing is drawn, but the render target does not enter an error state.fOpacity
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.interpolationMode
The interpolation mode to use if the bitmap is scaled or rotated by the drawing operation.pRectSrc
The size and position, in device-independent pixels in the bitmap's coordinate space, of the area within the bitmap to draw.
Requirements
Header: afxrendertarget.h