Ejemplo n.º 1
0
 static SKObject()
 {
     SKColorSpace.EnsureStaticInstanceAreInitialized();
     SKData.EnsureStaticInstanceAreInitialized();
     SKFontManager.EnsureStaticInstanceAreInitialized();
     SKTypeface.EnsureStaticInstanceAreInitialized();
 }
Ejemplo n.º 2
0
        static SKObject()
        {
            SkiaSharpVersion.CheckNativeLibraryCompatible(true);

            SKColorSpace.EnsureStaticInstanceAreInitialized();
            SKData.EnsureStaticInstanceAreInitialized();
            SKFontManager.EnsureStaticInstanceAreInitialized();
            SKTypeface.EnsureStaticInstanceAreInitialized();
        }
Ejemplo n.º 3
0
        static SKObject()
        {
            constructors = new ConcurrentDictionary <Type, ConstructorInfo> ();
            instances    = new ConcurrentDictionary <IntPtr, WeakReference> ();

            SKColorSpace.EnsureStaticInstanceAreInitialized();
            SKData.EnsureStaticInstanceAreInitialized();
            SKFontManager.EnsureStaticInstanceAreInitialized();
            SKTypeface.EnsureStaticInstanceAreInitialized();
        }
Ejemplo n.º 4
0
 static SKFontManager()
 {
     defaultManager = new SKFontManagerStatic(SkiaApi.sk_fontmgr_ref_default());
 }