Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 3.9 KB

nf-d2d1-id2d1rendertarget-createcompatiblerendertarget(id2d1bitmaprendertarget).md

File metadata and controls

73 lines (59 loc) · 3.9 KB
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.ID2D1RenderTarget.CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget)
ID2D1RenderTarget::CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget) (d2d1.h)
Creates a new bitmap render target for use during intermediate offscreen drawing that is compatible with the current render target and has the same size, DPI, and pixel format (but not alpha mode) as the current render target.
CreateCompatibleRenderTarget
CreateCompatibleRenderTarget method [Direct2D]
CreateCompatibleRenderTarget method [Direct2D]
ID2D1RenderTarget interface
ID2D1RenderTarget interface [Direct2D]
CreateCompatibleRenderTarget method
ID2D1RenderTarget.CreateCompatibleRenderTarget
ID2D1RenderTarget.CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget)
ID2D1RenderTarget::CreateCompatibleRenderTarget
ID2D1RenderTarget::CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget)
d2d1/ID2D1RenderTarget::CreateCompatibleRenderTarget
direct2d.ID2D1RenderTarget_CreateCompatibleRenderTarget_overload1
direct2d.ID2D1RenderTarget_CreateCompatibleRenderTarget_ptr_ptr_ID2D1BitmapRenderTarget
direct2d\ID2D1RenderTarget_CreateCompatibleRenderTarget_overload1.htm
Direct2D
e36fbf45-9827-4ea0-ac52-676ba826a7d3
12/05/2018
CreateCompatibleRenderTarget, CreateCompatibleRenderTarget method [Direct2D], CreateCompatibleRenderTarget method [Direct2D],ID2D1RenderTarget interface, ID2D1RenderTarget interface [Direct2D],CreateCompatibleRenderTarget method, ID2D1RenderTarget.CreateCompatibleRenderTarget, ID2D1RenderTarget.CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget), ID2D1RenderTarget::CreateCompatibleRenderTarget, ID2D1RenderTarget::CreateCompatibleRenderTarget(ID2D1BitmapRenderTarget), d2d1/ID2D1RenderTarget::CreateCompatibleRenderTarget, direct2d.ID2D1RenderTarget_CreateCompatibleRenderTarget_overload1, direct2d.ID2D1RenderTarget_CreateCompatibleRenderTarget_ptr_ptr_ID2D1BitmapRenderTarget
d2d1.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
D2d1.lib
D2d1.dll
Windows
19H1
ID2D1RenderTarget::CreateCompatibleRenderTarget
d2d1/ID2D1RenderTarget::CreateCompatibleRenderTarget
c++
APIRef
kbSyntax
COM
D2d1.dll
ID2D1RenderTarget.CreateCompatibleRenderTarget

-description

Creates a new bitmap render target for use during intermediate offscreen drawing that is compatible with the current render target and has the same size, DPI, and pixel format (but not alpha mode) as the current render target.

-parameters

-param bitmapRenderTarget

Type: [out] ID2D1BitmapRenderTarget**

When this method returns, contains a pointer to a pointer to a new bitmap render target. This parameter is passed uninitialized.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

The bitmap render target created by this method is not compatible with GDI, and has an alpha mode of D2D1_ALPHA_MODE_PREMULTIPLIED.

-see-also

ID2D1RenderTarget