Exemple #1
0
 static SKObject()
 {
     SKColorSpace.EnsureStaticInstanceAreInitialized();
     SKData.EnsureStaticInstanceAreInitialized();
     SKFontManager.EnsureStaticInstanceAreInitialized();
     SKTypeface.EnsureStaticInstanceAreInitialized();
 }
Exemple #2
0
        static SKObject()
        {
            SkiaSharpVersion.CheckNativeLibraryCompatible(true);

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

            SKColorSpace.EnsureStaticInstanceAreInitialized();
            SKData.EnsureStaticInstanceAreInitialized();
            SKFontManager.EnsureStaticInstanceAreInitialized();
            SKTypeface.EnsureStaticInstanceAreInitialized();
        }