[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Device

Device Class

ID2D1Device

Implements
Namespace: C1.Util.DX.Direct2D
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("47dd575d-ac05-4cdd-8049-9b02cd16f44c")]
public class Device : Resource, IDisposable, IUnknown

Constructors

Name Description
Device(IntPtr)

Initializes a new instance of the Device class.

Methods

Name Description
ClearResources(int)

void ID2D1Device::ClearResources([In] unsigned int millisecondsSinceUse)

Create(Device)

Initializes a new instance of the Device class.

Create(Device, CreationProperties)

Initializes a new instance of the Device class.

Create(Factory1, Device)

Initializes a new instance of the Device class.

CreateDeviceContext(DeviceContextOptions)

HRESULT ID2D1Device::CreateDeviceContext([In] D2D1_DEVICE_CONTEXT_OPTIONS options,[Out, Fast] ID2D1DeviceContext** deviceContext)

CreatePrintControl(ImagingFactory, IntPtr, PrintControlProperties?)

HRESULT ID2D1Device::CreatePrintControl([In] IWICImagingFactory* wicFactory,[In] IPrintDocumentPackageTarget* documentTarget,[In, Optional] const D2D1_PRINT_CONTROL_PROPERTIES* printControlProperties,[Out, Fast] ID2D1PrintControl** printControl)

GetMaximumTextureMemory()

unsigned longlong ID2D1Device::GetMaximumTextureMemory()

SetMaximumTextureMemory(long)

void ID2D1Device::SetMaximumTextureMemory([In] unsigned longlong maximumInBytes)

Operators

Name Description
explicit operator Device(IntPtr)

Performs an explicit conversion from IntPtr to Device.