Browse Source

Throw NotSupportedException.

And add a description of why it's not supported.
pull/827/head
Steven Kirk 9 years ago
parent
commit
3527c20a5a
  1. 3
      src/Avalonia.Visuals/Rendering/SceneGraph/DeferredDrawingContextImpl.cs

3
src/Avalonia.Visuals/Rendering/SceneGraph/DeferredDrawingContextImpl.cs

@ -130,7 +130,8 @@ namespace Avalonia.Rendering.SceneGraph
/// <inheritdoc/>
public void DrawImage(IBitmapImpl source, IBrush opacityMask, Rect opacityMaskRect, Rect sourceRect)
{
throw new NotImplementedException();
// This method is currently only used to composite layers so shouldn't be called here.
throw new NotSupportedException();
}
/// <inheritdoc/>

Loading…
Cancel
Save