Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo: fix some typos #1460

Merged
merged 1 commit into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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