Table of Contents

Method Create

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

Create()

Creates a new Direct2D factory.

public static IDirect2DFactory Create()

Returns

IDirect2DFactory

Remarks

Each Direct2D factory is a separate resource domain. Resources cannot be shared across factories. Each Direct2D factory is also a thread synchronization domain. All calls into the factory and into any resources created from it are serialized; that is, a per-factory mutex is locked on each call.