|
| 1 | +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Splat.SkiaSharp.Tests")] |
| 2 | +namespace Splat.Builder |
| 3 | +{ |
| 4 | + public sealed class SkiaSharpSplatModule : Splat.Builder.IModule |
| 5 | + { |
| 6 | + public SkiaSharpSplatModule() { } |
| 7 | + public SkiaSharpSplatModule(SkiaSharp.SKSamplingOptions? sampling) { } |
| 8 | + public void Configure(Splat.IMutableDependencyResolver resolver) { } |
| 9 | + } |
| 10 | +} |
| 11 | +namespace Splat.SkiaSharp |
| 12 | +{ |
| 13 | + public static class BitmapMixins |
| 14 | + { |
| 15 | + extension(SkiaSharp.SKBitmap value) |
| 16 | + { |
| 17 | + public Splat.IBitmap FromNative() { } |
| 18 | + } |
| 19 | + extension(Splat.IBitmap value) |
| 20 | + { |
| 21 | + public SkiaSharp.SKBitmap ToNative() { } |
| 22 | + } |
| 23 | + } |
| 24 | + public static class MutableDependencyResolverExtensions |
| 25 | + { |
| 26 | + extension(Splat.IMutableDependencyResolver instance) |
| 27 | + { |
| 28 | + public void UseSkiaSharpBitmapLoader() { } |
| 29 | + public void UseSkiaSharpBitmapLoader(SkiaSharp.SKSamplingOptions sampling) { } |
| 30 | + } |
| 31 | + } |
| 32 | + public sealed class SkiaBitmap : Splat.IBitmap |
| 33 | + { |
| 34 | + public SkiaBitmap(SkiaSharp.SKBitmap bitmap) { } |
| 35 | + public SkiaBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKEncodedOrigin encodedOrigin) { } |
| 36 | + public SkiaSharp.SKEncodedOrigin EncodedOrigin { get; } |
| 37 | + public float Height { get; } |
| 38 | + public SkiaSharp.SKBitmap? Inner { get; } |
| 39 | + public float Width { get; } |
| 40 | + public void Dispose() { } |
| 41 | + public System.Threading.Tasks.Task Save(SkiaSharp.SKEncodedImageFormat format, float quality, System.IO.Stream target) { } |
| 42 | + public System.Threading.Tasks.Task Save(Splat.CompressedBitmapFormat format, float quality, System.IO.Stream target) { } |
| 43 | + } |
| 44 | + public sealed class SkiaBitmapLoader : Splat.IBitmapLoader |
| 45 | + { |
| 46 | + public SkiaBitmapLoader() { } |
| 47 | + public SkiaBitmapLoader(SkiaSharp.SKSamplingOptions sampling) { } |
| 48 | + public SkiaSharp.SKSamplingOptions Sampling { get; } |
| 49 | + public Splat.IBitmap Create(float width, float height) { } |
| 50 | + public System.Threading.Tasks.Task Load(System.IO.Stream sourceStream, float? desiredWidth, float? desiredHeight) { } |
| 51 | + public System.Threading.Tasks.Task LoadFromResource(string source, float? desiredWidth, float? desiredHeight) { } |
| 52 | + } |
| 53 | +} |
0 commit comments