|
|
@@ -4,6 +4,7 @@ using System.IO;
|
|
|
using Avalonia.Media;
|
|
|
using Avalonia.Platform;
|
|
|
using Avalonia.UnitTests;
|
|
|
+using Avalonia.Visuals.Media.Imaging;
|
|
|
|
|
|
namespace Avalonia.Visuals.UnitTests.VisualTree
|
|
|
{
|
|
|
@@ -81,6 +82,21 @@ namespace Avalonia.Visuals.UnitTests.VisualTree
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
|
|
|
|
+ public IBitmapImpl LoadBitmapToWidth(Stream stream, int width, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality)
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public IBitmapImpl LoadBitmapToHeight(Stream stream, int height, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality)
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
+ public IBitmapImpl ResizeBitmap(IBitmapImpl bitmapImpl, PixelSize destinationSize, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality)
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
class MockStreamGeometry : IStreamGeometryImpl
|
|
|
{
|
|
|
private MockStreamGeometryContext _impl = new MockStreamGeometryContext();
|