예제 #1
0
        private void CreateDeviceIndependentResources()
        {
            this.d2dFactory = D2D1Factory.Create(D2D1FactoryType.SingleThreaded);

            this.dwriteFactory = DWriteFactory.Create(DWriteFactoryType.Shared);
        }
예제 #2
0
 public static extern object D2D1CreateFactory(D2D1Factory.FactoryType factoryType,
     [MarshalAs(UnmanagedType.LPStruct)] Guid riid,
     D2D1Factory.FactoryOptions factoryOptions);