static SKObject() { SKColorSpace.EnsureStaticInstanceAreInitialized(); SKData.EnsureStaticInstanceAreInitialized(); SKFontManager.EnsureStaticInstanceAreInitialized(); SKTypeface.EnsureStaticInstanceAreInitialized(); }
static SKObject() { SkiaSharpVersion.CheckNativeLibraryCompatible(true); SKColorSpace.EnsureStaticInstanceAreInitialized(); SKData.EnsureStaticInstanceAreInitialized(); SKFontManager.EnsureStaticInstanceAreInitialized(); SKTypeface.EnsureStaticInstanceAreInitialized(); }
static SKObject() { constructors = new ConcurrentDictionary <Type, ConstructorInfo> (); instances = new ConcurrentDictionary <IntPtr, WeakReference> (); SKColorSpace.EnsureStaticInstanceAreInitialized(); SKData.EnsureStaticInstanceAreInitialized(); SKFontManager.EnsureStaticInstanceAreInitialized(); SKTypeface.EnsureStaticInstanceAreInitialized(); }