From 423acf763e2b3b0f76ebdb2368533c564e5e6ab1 Mon Sep 17 00:00:00 2001 From: Florian Levis Date: Sat, 14 Oct 2023 23:16:40 +0200 Subject: [PATCH] typo: fix some typos --- Building.md | 4 ++-- src/Magick.NET.Core/Factories/IMagickGeometryFactory.cs | 4 ++-- src/Magick.NET.Core/IMagickImage{TQuantumType}.cs | 2 +- src/Magick.NET/Drawables/DrawablePopGraphicContext.cs | 2 +- src/Magick.NET/Factories/MagickGeometryFactory.cs | 4 ++-- src/Magick.NET/MagickImage.cs | 2 +- src/Magick.NET/Types/MagickGeometry.cs | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Building.md b/Building.md index a813f7d924..d4341163c6 100644 --- a/Building.md +++ b/Building.md @@ -41,7 +41,7 @@ that there are no compiler warnings anymore because the GitHub actions build wil This project also includes some files that make it easy to debug the [Magick.Native](https://github.com/dlemstra/Magick.Native) library. For this to be possible the Magick.Native library needs to be cloned out at the same level as the Magick.NET library. If Magick.NET is cloned in -`C:\Projects\Magick.NET` the library needs to be cloned into `C:\Projects\Magick.Native`. Before executing one of the build files inside this project +`C:\Projects\Magick.NET` the library needs to be cloned into `C:\Projects\Magick.Native`. Before executing one of the build files inside this project ImageMagick needs to be cloned in the Magick.Native project. This can be done with the file `Magick.Native\src\ImageMagick\checkout.cmd`. After the library is cloned one of the scripts inside [src/Magick.Native/build](src/Magick.Native/build) can be used to do create a debug build -that can be used to debug the native code through this project. \ No newline at end of file +that can be used to debug the native code through this project. diff --git a/src/Magick.NET.Core/Factories/IMagickGeometryFactory.cs b/src/Magick.NET.Core/Factories/IMagickGeometryFactory.cs index f71e6e37e8..3afe9427e4 100644 --- a/src/Magick.NET.Core/Factories/IMagickGeometryFactory.cs +++ b/src/Magick.NET.Core/Factories/IMagickGeometryFactory.cs @@ -43,7 +43,7 @@ public interface IMagickGeometryFactory /// Initializes a new instance that implements . /// /// The percentage of the width. - /// The percentage of the height. + /// The percentage of the height. /// A new instance. IMagickGeometry Create(Percentage percentageWidth, Percentage percentageHeight); @@ -53,7 +53,7 @@ public interface IMagickGeometryFactory /// The X offset from origin. /// The Y offset from origin. /// The percentage of the width. - /// The percentage of the height. + /// The percentage of the height. /// A new instance. IMagickGeometry Create(int x, int y, Percentage percentageWidth, Percentage percentageHeight); diff --git a/src/Magick.NET.Core/IMagickImage{TQuantumType}.cs b/src/Magick.NET.Core/IMagickImage{TQuantumType}.cs index 6c0e0c43ed..fc7cd5c43b 100644 --- a/src/Magick.NET.Core/IMagickImage{TQuantumType}.cs +++ b/src/Magick.NET.Core/IMagickImage{TQuantumType}.cs @@ -207,7 +207,7 @@ public partial interface IMagickImage : IMagickImage, IComparable< void FloodFill(TQuantumType alpha, int x, int y); /// - /// Flood-fill color across pixels that match the color of the target pixel and are neighbors + /// Flood-fill color across pixels that match the color of the target pixel and are neighbors /// of the target pixel. Uses current fuzz setting when determining color match. /// /// The color to use. diff --git a/src/Magick.NET/Drawables/DrawablePopGraphicContext.cs b/src/Magick.NET/Drawables/DrawablePopGraphicContext.cs index f6c454d3a0..cfcc7dc094 100644 --- a/src/Magick.NET/Drawables/DrawablePopGraphicContext.cs +++ b/src/Magick.NET/Drawables/DrawablePopGraphicContext.cs @@ -4,7 +4,7 @@ namespace ImageMagick; /// -/// destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple +/// destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple /// drawing wands may exist. It is an error to attempt to pop more drawing wands than have been /// pushed, and it is proper form to pop all drawing wands which have been pushed. /// diff --git a/src/Magick.NET/Factories/MagickGeometryFactory.cs b/src/Magick.NET/Factories/MagickGeometryFactory.cs index f55ff425d9..7285a0e280 100644 --- a/src/Magick.NET/Factories/MagickGeometryFactory.cs +++ b/src/Magick.NET/Factories/MagickGeometryFactory.cs @@ -47,7 +47,7 @@ public IMagickGeometry Create(int x, int y, int width, int height) /// Initializes a new instance that implements . /// /// The percentage of the width. - /// The percentage of the height. + /// The percentage of the height. /// A new instance. public IMagickGeometry Create(Percentage percentageWidth, Percentage percentageHeight) => new MagickGeometry(percentageWidth, percentageHeight); @@ -58,7 +58,7 @@ public IMagickGeometry Create(Percentage percentageWidth, Percentage percentageH /// The X offset from origin. /// The Y offset from origin. /// The percentage of the width. - /// The percentage of the height. + /// The percentage of the height. /// A new instance. public IMagickGeometry Create(int x, int y, Percentage percentageWidth, Percentage percentageHeight) => new MagickGeometry(x, y, percentageWidth, percentageHeight); diff --git a/src/Magick.NET/MagickImage.cs b/src/Magick.NET/MagickImage.cs index 0a37370727..d9473e4202 100644 --- a/src/Magick.NET/MagickImage.cs +++ b/src/Magick.NET/MagickImage.cs @@ -2821,7 +2821,7 @@ public void FloodFill(QuantumType alpha, int x, int y) => FloodFill(alpha, x, y, false); /// - /// Flood-fill color across pixels that match the color of the target pixel and are neighbors + /// Flood-fill color across pixels that match the color of the target pixel and are neighbors /// of the target pixel. Uses current fuzz setting when determining color match. /// /// The color to use. diff --git a/src/Magick.NET/Types/MagickGeometry.cs b/src/Magick.NET/Types/MagickGeometry.cs index a23e9b0f93..d0fb9be687 100644 --- a/src/Magick.NET/Types/MagickGeometry.cs +++ b/src/Magick.NET/Types/MagickGeometry.cs @@ -46,7 +46,7 @@ public MagickGeometry(int x, int y, int width, int height) /// Initializes a new instance of the class using the specified width and height. /// /// The percentage of the width. - /// The percentage of the height. + /// The percentage of the height. public MagickGeometry(Percentage percentageWidth, Percentage percentageHeight) { Throw.IfNegative(nameof(percentageWidth), percentageWidth); @@ -61,7 +61,7 @@ public MagickGeometry(Percentage percentageWidth, Percentage percentageHeight) /// The X offset from origin. /// The Y offset from origin. /// The percentage of the width. - /// The percentage of the height. + /// The percentage of the height. public MagickGeometry(int x, int y, Percentage percentageWidth, Percentage percentageHeight) { Throw.IfNegative(nameof(percentageWidth), percentageWidth);