Skip to content

Commit 355758d

Browse files
Merge pull request #33 from SixLabors/js/move-namespace
Change Root Namespace + minor code formatting changes
2 parents 1c4b929 + f7bab9d commit 355758d

141 files changed

Lines changed: 256 additions & 236 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ImageSharp.Drawing/Common/Extensions/GraphicsOptionsExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Numerics;
55
using SixLabors.ImageSharp.PixelFormats;
66

7-
namespace SixLabors.ImageSharp
7+
namespace SixLabors.ImageSharp.Drawing
88
{
99
/// <summary>
1010
/// Extensions methods fpor the <see cref="GraphicsOptions"/> class.

src/ImageSharp.Drawing/ImageSharp.Drawing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Description>An extension to ImageSharp that allows the drawing of images, paths, and text.</Description>
88
<PackageId>SixLabors.ImageSharp.Drawing</PackageId>
99
<PackageTags>Image Draw Shape Path Font</PackageTags>
10-
<RootNamespace>SixLabors.ImageSharp</RootNamespace>
10+
<RootNamespace>SixLabors.ImageSharp.Drawing</RootNamespace>
1111

1212
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;netstandard2.1;netstandard2.0;netstandard1.3;net472</TargetFrameworks>
1313
</PropertyGroup>

src/ImageSharp.Drawing/Primitives/Region.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using System;
55

6-
namespace SixLabors.ImageSharp
6+
namespace SixLabors.ImageSharp.Drawing
77
{
88
/// <summary>
99
/// Represents a region of an image.

src/ImageSharp.Drawing/Primitives/ShapePath.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// Copyright (c) Six Labors and contributors.
1+
// Copyright (c) Six Labors and contributors.
22
// Licensed under the Apache License, Version 2.0.
33

4-
using SixLabors.ImageSharp.Processing;
4+
using SixLabors.ImageSharp.Drawing.Processing;
55

6-
namespace SixLabors.ImageSharp
6+
namespace SixLabors.ImageSharp.Drawing
77
{
88
/// <summary>
99
/// A mapping between a <see cref="IPath"/> and a region.
@@ -20,4 +20,4 @@ public ShapePath(IPath shape, IPen pen)
2020
{
2121
}
2222
}
23-
}
23+
}

src/ImageSharp.Drawing/Primitives/ShapeRegion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System;
55
using System.Buffers;
66

7-
namespace SixLabors.ImageSharp
7+
namespace SixLabors.ImageSharp.Drawing
88
{
99
/// <summary>
1010
/// A mapping between a <see cref="IPath"/> and a region.

src/ImageSharp.Drawing/Processing/BrushApplicator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using SixLabors.ImageSharp.Memory;
88
using SixLabors.ImageSharp.PixelFormats;
99

10-
namespace SixLabors.ImageSharp.Processing
10+
namespace SixLabors.ImageSharp.Drawing.Processing
1111
{
1212
/// <summary>
1313
/// A primitive that converts a point into a color for discovering the fill color based on an implementation.

src/ImageSharp.Drawing/Processing/Brushes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Six Labors and contributors.
22
// Licensed under the Apache License, Version 2.0.
33

4-
namespace SixLabors.ImageSharp.Processing
4+
namespace SixLabors.ImageSharp.Drawing.Processing
55
{
66
/// <summary>
77
/// A collection of methods for creating generic brushes.

src/ImageSharp.Drawing/Processing/ColorStop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using System.Diagnostics;
55

6-
namespace SixLabors.ImageSharp.Processing
6+
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
99
/// A struct that defines a single color stop.

src/ImageSharp.Drawing/Processing/DrawingHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using SixLabors.ImageSharp.PixelFormats;
55

6-
namespace SixLabors.ImageSharp.Processing
6+
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
internal static class DrawingHelpers
99
{

src/ImageSharp.Drawing/Processing/EllipticGradientBrush.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
using SixLabors.ImageSharp.PixelFormats;
77

8-
namespace SixLabors.ImageSharp.Processing
8+
namespace SixLabors.ImageSharp.Drawing.Processing
99
{
1010
/// <summary>
1111
/// Gradient Brush with elliptic shape.

0 commit comments

Comments
 (0)