source/SkiaSharp.Views/SkiaSharp.Views.Shared/SKPaintSurfaceEventArgs.cs (40 lines of code) (raw):
using System;
#if HAS_UNO_WINUI
namespace SkiaSharp.Views.Windows
#elif WINDOWS_UWP || HAS_UNO
namespace SkiaSharp.Views.UWP
#elif __ANDROID__
namespace SkiaSharp.Views.Android
#elif __TVOS__
namespace SkiaSharp.Views.tvOS
#elif __IOS__
namespace SkiaSharp.Views.iOS
#elif __DESKTOP__
namespace SkiaSharp.Views.Desktop
#elif __MACOS__
namespace SkiaSharp.Views.Mac
#elif __TIZEN__
namespace SkiaSharp.Views.Tizen
#elif WINDOWS
namespace SkiaSharp.Views.Windows
#elif __BLAZOR__
namespace SkiaSharp.Views.Blazor
#endif
{
public class SKPaintSurfaceEventArgs : EventArgs
{
public SKPaintSurfaceEventArgs(SKSurface surface, SKImageInfo info)
: this(surface, info, info)
{
}
public SKPaintSurfaceEventArgs(SKSurface surface, SKImageInfo info, SKImageInfo rawInfo)
{
Surface = surface;
Info = info;
RawInfo = rawInfo;
}
public SKSurface Surface { get; }
public SKImageInfo Info { get; }
public SKImageInfo RawInfo { get; }
}
}