Przeglądaj źródła

Use correct namespace for IDrawingContextImpl.

Steven Kirk 8 lat temu
rodzic
commit
a39d84b955

+ 2 - 2
src/Avalonia.Visuals/Platform/IDrawingContextImpl.cs

@@ -2,9 +2,9 @@
 // Licensed under the MIT license. See licence.md file in the project root for full license information.
 
 using System;
-using Avalonia.Platform;
+using Avalonia.Media;
 
-namespace Avalonia.Media
+namespace Avalonia.Platform
 {
     /// <summary>
     /// Defines the interface through which drawing occurs.

+ 1 - 0
src/Avalonia.Visuals/Rendering/IVisualBrushRenderer.cs

@@ -3,6 +3,7 @@
 
 using System;
 using Avalonia.Media;
+using Avalonia.Platform;
 
 namespace Avalonia.Rendering
 {

+ 1 - 0
src/Avalonia.Visuals/Rendering/RendererBase.cs

@@ -1,6 +1,7 @@
 using System;
 using System.Diagnostics;
 using Avalonia.Media;
+using Avalonia.Platform;
 
 namespace Avalonia.Rendering
 {

+ 1 - 1
src/Avalonia.Visuals/Rendering/SceneGraph/BrushDrawOperation.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using Avalonia.Media;
-using Avalonia.Media.Immutable;
+using Avalonia.Platform;
 using Avalonia.VisualTree;
 
 namespace Avalonia.Rendering.SceneGraph

+ 1 - 3
src/Avalonia.Visuals/Rendering/SceneGraph/IDrawOperation.cs

@@ -2,9 +2,7 @@
 // Licensed under the MIT license. See licence.md file in the project root for full license information.
 
 using System;
-using System.Collections.Generic;
-using Avalonia.Media;
-using Avalonia.VisualTree;
+using Avalonia.Platform;
 
 namespace Avalonia.Rendering.SceneGraph
 {

+ 0 - 1
src/Avalonia.Visuals/Rendering/SceneGraph/ImageNode.cs

@@ -5,7 +5,6 @@ using System;
 using System.Collections.Generic;
 using Avalonia.Media;
 using Avalonia.Platform;
-using Avalonia.VisualTree;
 
 namespace Avalonia.Rendering.SceneGraph
 {

+ 1 - 0
src/Avalonia.Visuals/Rendering/SceneGraph/LineNode.cs

@@ -4,6 +4,7 @@
 using System;
 using System.Collections.Generic;
 using Avalonia.Media;
+using Avalonia.Platform;
 using Avalonia.VisualTree;
 
 namespace Avalonia.Rendering.SceneGraph

+ 1 - 0
src/Avalonia.Visuals/Rendering/SceneGraph/RectangleNode.cs

@@ -4,6 +4,7 @@
 using System;
 using System.Collections.Generic;
 using Avalonia.Media;
+using Avalonia.Platform;
 using Avalonia.VisualTree;
 
 namespace Avalonia.Rendering.SceneGraph