Class D2D1DCRenderTarget
Issues drawing commands to a GDI device context.
Implements
Inherited Members
D2D1RenderTarget.CreateBitmapBrush(D2D1Bitmap, in D2D1BitmapBrushProperties, in D2D1BrushProperties)
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1DCRenderTarget : D2D1RenderTarget, IDisposable
Constructors
| Edit this page View SourceD2D1DCRenderTarget(nint)
Initializes a new instance of the D2D1DCRenderTarget class.
Declaration
public D2D1DCRenderTarget(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1DCRenderTargetGuid
The interface GUID.
Declaration
public static readonly Guid D2D1DCRenderTargetGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Methods
| Edit this page View SourceBindDC(nint, in D2D1RectL)
Binds the render target to the device context to which it issues drawing commands.
Declaration
public void BindDC(nint hdc, in D2D1RectL subRect)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | hdc | The device context to which the render target issues drawing commands. |
| D2D1RectL | subRect | The dimensions of the handle to a device context (HDC) to which the render target is bound. |