Browse Source

add unimplemented stuff on MockRenderInterface.cs

pull/5683/head
Jumar Macato 6 years ago
parent
commit
f8596a60ea
No known key found for this signature in database GPG Key ID: B19884DAC3A5BF3F
  1. 12
      tests/Avalonia.Visuals.UnitTests/VisualTree/MockRenderInterface.cs

12
tests/Avalonia.Visuals.UnitTests/VisualTree/MockRenderInterface.cs

@ -112,6 +112,8 @@ namespace Avalonia.Visuals.UnitTests.VisualTree
}
}
public double ContourLength { get; }
public IStreamGeometryImpl Clone()
{
return this;
@ -151,6 +153,16 @@ namespace Avalonia.Visuals.UnitTests.VisualTree
throw new NotImplementedException();
}
public bool TryGetPointAtDistance(double distance, out Point point)
{
throw new NotImplementedException();
}
public bool TryGetPointAndTangentAtDistance(double distance, out Point point, out Point tangent)
{
throw new NotImplementedException();
}
class MockStreamGeometryContext : IStreamGeometryContextImpl
{
private List<Point> points = new List<Point>();

Loading…
Cancel
Save