public static void SetFactory(IDWriteFontCollectionLoader loader, IDWriteFactory factory)
        {
            var shadowPtr = ToIntPtr(loader);
            var shadow    = ToShadow <IDWriteFontCollectionLoaderShadow>(shadowPtr);

            shadow._factory = factory;
        }
Exemplo n.º 2
0
        public static void SetFactory(IDWriteFontCollectionLoader loader, IDWriteFactory factory)
        {
            IntPtr shadowPtr = ToCallbackPtr <IDWriteFontCollectionLoader>(loader);
            IDWriteFontCollectionLoaderShadow shadow = ToShadow <IDWriteFontCollectionLoaderShadow>(shadowPtr);

            shadow._factory = factory;
        }
Exemplo n.º 3
0
 public TextLayoutManager(DWrite.IDWriteFactory dwriteFactory, TextFormatManager textManager)
 {
     _dwriteFactory = dwriteFactory;
     _textManager   = textManager;
 }
Exemplo n.º 4
0
 public TextFormatManager(DWrite.IDWriteFactory factory)
 {
     _factory = factory;
 }