UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:d2d1_1.ID2D1DeviceContext.DrawBitmap(ID2D1Bitmap,constD2D1_RECT_F,FLOAT,D2D1_INTERPOLATION_MODE,constD2D1_RECT_F,constD2D1_MATRIX_4X4_F) |
ID2D1DeviceContext::DrawBitmap (d2d1_1.h) |
Draws a bitmap to the render target. (overload 1/5) |
|
direct2d\id2d1devicecontext_drawbitmap.htm |
Direct2D |
e6cff1b7-055b-442c-99aa-afeeee4d06e8 |
12/05/2018 |
DrawBitmap, DrawBitmap method [Direct2D], DrawBitmap method [Direct2D],ID2D1DeviceContext interface, ID2D1DeviceContext interface [Direct2D],DrawBitmap method, ID2D1DeviceContext.DrawBitmap, ID2D1DeviceContext::DrawBitmap, ID2D1DeviceContext::DrawBitmap(ID2D1Bitmap,const D2D1_RECT_F &,FLOAT,D2D1_INTERPOLATION_MODE,const D2D1_RECT_F &,const D2D1_MATRIX_4X4_F &), d2d1_1/ID2D1DeviceContext::DrawBitmap, direct2d.id2d1devicecontext_drawbitmap |
d2d1_1.h |
Windows |
Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps] |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps] |
D2d1.dll |
Windows |
19H1 |
|
|
|
|
|
|
Draws a bitmap to the render target.
Type: ID2D1Bitmap*
The bitmap to draw.
Type: D2D1_RECT_F*
The destination rectangle. The default is the size of the bitmap and the location is the upper left corner of the render target.
Type: FLOAT
The opacity of the bitmap.
Type: D2D1_INTERPOLATION_MODE
The interpolation mode to use.
Type: const D2D1_RECT_F
An optional source rectangle.
Type: const D2D1_MATRIX_4X4_F
An optional perspective transform.
The destinationRectangle parameter defines the rectangle in the target where the bitmap will appear (in device-independent pixels (DIPs)). This is affected by the currently set transform and the perspective transform, if set. If NULL is specified, then the destination rectangle is (left=0, top=0, right = width(sourceRectangle), bottom = height(sourceRectangle)).
The sourceRectangle parameter defines the sub-rectangle of the source bitmap (in DIPs). DrawBitmap will clip this rectangle to the size of the source bitmap, thus making it impossible to sample outside of the bitmap. If NULL is specified, then the source rectangle is taken to be the size of the source bitmap.
If you specify perspectiveTransform it is applied to the rect in addition to the transform set on the render target.