From 8d689c9f2cf51c01cc03a58fd3275c67874e8460 Mon Sep 17 00:00:00 2001 From: Olivia Date: Wed, 28 Dec 2016 18:36:20 +0200 Subject: [PATCH] Removing common namespace. --- src/ImageSharp/Colors/ColorspaceTransforms.cs | 1 - src/ImageSharp/Colors/Spaces/CieLab.cs | 1 - src/ImageSharp/Colors/Spaces/CieXyz.cs | 1 - src/ImageSharp/Colors/Spaces/Cmyk.cs | 1 - src/ImageSharp/Colors/Spaces/Hsl.cs | 1 - src/ImageSharp/Colors/Spaces/Hsv.cs | 1 - src/ImageSharp/Colors/Vector4BlendTransforms.cs | 1 - src/ImageSharp/Common/Constants.cs | 2 +- src/ImageSharp/Common/Helpers/ImageMaths.cs | 1 - src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs | 1 - src/ImageSharp/Drawing/Processors/FillShapeProcessor.cs | 1 - .../Filters/Processors/Effects/BackgroundColorProcessor.cs | 1 - src/ImageSharp/Filters/Processors/Transforms/RotateProcessor.cs | 1 - src/ImageSharp/Quantizers/Wu/WuQuantizer.cs | 1 - tests/ImageSharp.Tests/Common/ConstantsTests.cs | 1 - 15 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/ImageSharp/Colors/ColorspaceTransforms.cs b/src/ImageSharp/Colors/ColorspaceTransforms.cs index 578f10e29f..cda7022705 100644 --- a/src/ImageSharp/Colors/ColorspaceTransforms.cs +++ b/src/ImageSharp/Colors/ColorspaceTransforms.cs @@ -8,7 +8,6 @@ namespace ImageSharp using System; using System.Numerics; using Colors.Spaces; - using Common; /// /// Packed vector type containing four 8-bit unsigned normalized values ranging from 0 to 255. diff --git a/src/ImageSharp/Colors/Spaces/CieLab.cs b/src/ImageSharp/Colors/Spaces/CieLab.cs index dd72a966fe..f4f349b52b 100644 --- a/src/ImageSharp/Colors/Spaces/CieLab.cs +++ b/src/ImageSharp/Colors/Spaces/CieLab.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Colors.Spaces using System; using System.ComponentModel; using System.Numerics; - using Common; /// /// Represents an CIE LAB 1976 color. diff --git a/src/ImageSharp/Colors/Spaces/CieXyz.cs b/src/ImageSharp/Colors/Spaces/CieXyz.cs index 33b763f2be..49396d3f61 100644 --- a/src/ImageSharp/Colors/Spaces/CieXyz.cs +++ b/src/ImageSharp/Colors/Spaces/CieXyz.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Colors.Spaces using System; using System.ComponentModel; using System.Numerics; - using Common; /// /// Represents an CIE 1931 color diff --git a/src/ImageSharp/Colors/Spaces/Cmyk.cs b/src/ImageSharp/Colors/Spaces/Cmyk.cs index 41e88ca8f2..190d73598f 100644 --- a/src/ImageSharp/Colors/Spaces/Cmyk.cs +++ b/src/ImageSharp/Colors/Spaces/Cmyk.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Colors.Spaces using System; using System.ComponentModel; using System.Numerics; - using Common; /// /// Represents an CMYK (cyan, magenta, yellow, keyline) color. diff --git a/src/ImageSharp/Colors/Spaces/Hsl.cs b/src/ImageSharp/Colors/Spaces/Hsl.cs index a57c15981b..2cb02107b9 100644 --- a/src/ImageSharp/Colors/Spaces/Hsl.cs +++ b/src/ImageSharp/Colors/Spaces/Hsl.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Colors.Spaces using System; using System.ComponentModel; using System.Numerics; - using Common; /// /// Represents a Hsl (hue, saturation, lightness) color. diff --git a/src/ImageSharp/Colors/Spaces/Hsv.cs b/src/ImageSharp/Colors/Spaces/Hsv.cs index 28c1e12598..8f7ebbdc76 100644 --- a/src/ImageSharp/Colors/Spaces/Hsv.cs +++ b/src/ImageSharp/Colors/Spaces/Hsv.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Colors.Spaces using System; using System.ComponentModel; using System.Numerics; - using Common; /// /// Represents a HSV (hue, saturation, value) color. Also known as HSB (hue, saturation, brightness). diff --git a/src/ImageSharp/Colors/Vector4BlendTransforms.cs b/src/ImageSharp/Colors/Vector4BlendTransforms.cs index ad69f7bcbe..2fa6aad4b4 100644 --- a/src/ImageSharp/Colors/Vector4BlendTransforms.cs +++ b/src/ImageSharp/Colors/Vector4BlendTransforms.cs @@ -7,7 +7,6 @@ namespace ImageSharp { using System; using System.Numerics; - using Common; /// /// Transform algorithms that match the equations defined in the W3C Compositing and Blending Level 1 specification. diff --git a/src/ImageSharp/Common/Constants.cs b/src/ImageSharp/Common/Constants.cs index 1db4bc9656..cf43951bc5 100644 --- a/src/ImageSharp/Common/Constants.cs +++ b/src/ImageSharp/Common/Constants.cs @@ -3,7 +3,7 @@ // Licensed under the Apache License, Version 2.0. // -namespace ImageSharp.Common +namespace ImageSharp { /// /// Common constants used throughout the project diff --git a/src/ImageSharp/Common/Helpers/ImageMaths.cs b/src/ImageSharp/Common/Helpers/ImageMaths.cs index c62a97b03c..7455b542d1 100644 --- a/src/ImageSharp/Common/Helpers/ImageMaths.cs +++ b/src/ImageSharp/Common/Helpers/ImageMaths.cs @@ -8,7 +8,6 @@ namespace ImageSharp using System; using System.Linq; using System.Numerics; - using Common; /// /// Provides common mathematical methods. diff --git a/src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs b/src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs index 8cbee79085..dab0baa5a2 100644 --- a/src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs +++ b/src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs @@ -9,7 +9,6 @@ namespace ImageSharp.Drawing.Processors using System.Linq; using System.Numerics; using System.Threading.Tasks; - using Common; using ImageSharp.Processors; using Paths; using Pens; diff --git a/src/ImageSharp/Drawing/Processors/FillShapeProcessor.cs b/src/ImageSharp/Drawing/Processors/FillShapeProcessor.cs index 67ff0c3083..7da2e041a2 100644 --- a/src/ImageSharp/Drawing/Processors/FillShapeProcessor.cs +++ b/src/ImageSharp/Drawing/Processors/FillShapeProcessor.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Drawing.Processors using System; using System.Numerics; using System.Threading.Tasks; - using Common; using Drawing; using ImageSharp.Processors; using Shapes; diff --git a/src/ImageSharp/Filters/Processors/Effects/BackgroundColorProcessor.cs b/src/ImageSharp/Filters/Processors/Effects/BackgroundColorProcessor.cs index bd5fa1bb20..ab6fa2424f 100644 --- a/src/ImageSharp/Filters/Processors/Effects/BackgroundColorProcessor.cs +++ b/src/ImageSharp/Filters/Processors/Effects/BackgroundColorProcessor.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Processors using System; using System.Numerics; using System.Threading.Tasks; - using Common; /// /// Sets the background color of the image. diff --git a/src/ImageSharp/Filters/Processors/Transforms/RotateProcessor.cs b/src/ImageSharp/Filters/Processors/Transforms/RotateProcessor.cs index 88f7f6c136..e81cd7e57e 100644 --- a/src/ImageSharp/Filters/Processors/Transforms/RotateProcessor.cs +++ b/src/ImageSharp/Filters/Processors/Transforms/RotateProcessor.cs @@ -8,7 +8,6 @@ namespace ImageSharp.Processors using System; using System.Numerics; using System.Threading.Tasks; - using Common; /// /// Provides methods that allow the rotating of images. diff --git a/src/ImageSharp/Quantizers/Wu/WuQuantizer.cs b/src/ImageSharp/Quantizers/Wu/WuQuantizer.cs index 9471d71db4..e235e68e88 100644 --- a/src/ImageSharp/Quantizers/Wu/WuQuantizer.cs +++ b/src/ImageSharp/Quantizers/Wu/WuQuantizer.cs @@ -9,7 +9,6 @@ namespace ImageSharp.Quantizers using System.Buffers; using System.Numerics; using System.Threading.Tasks; - using Common; /// /// An implementation of Wu's color quantizer with alpha channel. diff --git a/tests/ImageSharp.Tests/Common/ConstantsTests.cs b/tests/ImageSharp.Tests/Common/ConstantsTests.cs index d1ca6cd02c..0adda0c0f6 100644 --- a/tests/ImageSharp.Tests/Common/ConstantsTests.cs +++ b/tests/ImageSharp.Tests/Common/ConstantsTests.cs @@ -5,7 +5,6 @@ namespace ImageSharp.Tests.Common { - using ImageSharp.Common; using Xunit; public class ConstantsTests