2 changed files with 32 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
using Avalonia.Direct2D1.Media.Imaging; |
|||
|
|||
namespace Avalonia.Direct2D1.Utils |
|||
{ |
|||
internal static class DebugUtils |
|||
{ |
|||
public static void Save(SharpDX.Direct2D1.BitmapRenderTarget bitmap, string filename) |
|||
{ |
|||
var rtb = new D2DRenderTargetBitmapImpl(bitmap); |
|||
rtb.Save(filename); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue