Skip to content

Commit

Permalink
typo: fix some typos (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gounlaf committed Oct 15, 2023
1 parent 113ae0b commit 3a4f4b3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
that can be used to debug the native code through this project.
4 changes: 2 additions & 2 deletions src/Magick.NET.Core/Factories/IMagickGeometryFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public interface IMagickGeometryFactory
/// Initializes a new instance that implements <see cref="IMagickGeometry"/>.
/// </summary>
/// <param name="percentageWidth">The percentage of the width.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <returns>A new <see cref="IMagickGeometry"/> instance.</returns>
IMagickGeometry Create(Percentage percentageWidth, Percentage percentageHeight);

Expand All @@ -53,7 +53,7 @@ public interface IMagickGeometryFactory
/// <param name="x">The X offset from origin.</param>
/// <param name="y">The Y offset from origin.</param>
/// <param name="percentageWidth">The percentage of the width.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <returns>A new <see cref="IMagickGeometry"/> instance.</returns>
IMagickGeometry Create(int x, int y, Percentage percentageWidth, Percentage percentageHeight);

Expand Down
2 changes: 1 addition & 1 deletion src/Magick.NET.Core/IMagickImage{TQuantumType}.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public partial interface IMagickImage<TQuantumType> : IMagickImage, IComparable<
void FloodFill(TQuantumType alpha, int x, int y);

/// <summary>
/// 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.
/// </summary>
/// <param name="color">The color to use.</param>
Expand Down
2 changes: 1 addition & 1 deletion src/Magick.NET/Drawables/DrawablePopGraphicContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace ImageMagick;

/// <summary>
/// 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.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Magick.NET/Factories/MagickGeometryFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public IMagickGeometry Create(int x, int y, int width, int height)
/// Initializes a new instance that implements <see cref="IMagickGeometry"/>.
/// </summary>
/// <param name="percentageWidth">The percentage of the width.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <returns>A new <see cref="IMagickGeometry"/> instance.</returns>
public IMagickGeometry Create(Percentage percentageWidth, Percentage percentageHeight)
=> new MagickGeometry(percentageWidth, percentageHeight);
Expand All @@ -58,7 +58,7 @@ public IMagickGeometry Create(Percentage percentageWidth, Percentage percentageH
/// <param name="x">The X offset from origin.</param>
/// <param name="y">The Y offset from origin.</param>
/// <param name="percentageWidth">The percentage of the width.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <returns>A new <see cref="IMagickGeometry"/> instance.</returns>
public IMagickGeometry Create(int x, int y, Percentage percentageWidth, Percentage percentageHeight)
=> new MagickGeometry(x, y, percentageWidth, percentageHeight);
Expand Down
2 changes: 1 addition & 1 deletion src/Magick.NET/MagickImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,7 @@ public void FloodFill(QuantumType alpha, int x, int y)
=> FloodFill(alpha, x, y, false);

/// <summary>
/// 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.
/// </summary>
/// <param name="color">The color to use.</param>
Expand Down
4 changes: 2 additions & 2 deletions src/Magick.NET/Types/MagickGeometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public MagickGeometry(int x, int y, int width, int height)
/// Initializes a new instance of the <see cref="MagickGeometry"/> class using the specified width and height.
/// </summary>
/// <param name="percentageWidth">The percentage of the width.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
public MagickGeometry(Percentage percentageWidth, Percentage percentageHeight)
{
Throw.IfNegative(nameof(percentageWidth), percentageWidth);
Expand All @@ -61,7 +61,7 @@ public MagickGeometry(Percentage percentageWidth, Percentage percentageHeight)
/// <param name="x">The X offset from origin.</param>
/// <param name="y">The Y offset from origin.</param>
/// <param name="percentageWidth">The percentage of the width.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
/// <param name="percentageHeight">The percentage of the height.</param>
public MagickGeometry(int x, int y, Percentage percentageWidth, Percentage percentageHeight)
{
Throw.IfNegative(nameof(percentageWidth), percentageWidth);
Expand Down

0 comments on commit 3a4f4b3

Please sign in to comment.