예제 #1
0
 static SKObject()
 {
     SKColorSpace.EnsureStaticInstanceAreInitialized();
     SKData.EnsureStaticInstanceAreInitialized();
     SKFontManager.EnsureStaticInstanceAreInitialized();
     SKTypeface.EnsureStaticInstanceAreInitialized();
 }
예제 #2
0
파일: SKObject.cs 프로젝트: ywscr/SkiaSharp
        static SKObject()
        {
            SkiaSharpVersion.CheckNativeLibraryCompatible(true);

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

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