Skip to content

Commit

Permalink
Corrected reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Nov 14, 2024
1 parent 28c91e4 commit 0f59c93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion src/Magick.NET.Core/IMagickImageCreateOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public interface IMagickImageCreateOperations

/// <summary>
/// Crop image (subregion of original image). <see cref="IMagickImage.ResetPage"/> should be called unless
/// the <see cref="Page"/> information is needed.
/// the <see cref="IMagickImage.Page"/> information is needed.
/// </summary>
/// <param name="width">The width of the subregion to crop.</param>
/// <param name="height">The height of the subregion to crop.</param>
Expand Down
17 changes: 0 additions & 17 deletions tests/Magick.NET.Tests/TestIssue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,5 @@ public class TestIssue
[Fact]
public void RunTest()
{
var drawables = new Drawables();

drawables.FontPointSize(40)
.Font(@"I:\issues\im7\1752\font1.ttf")
.FillColor(MagickColors.Black)
.TextAlignment(TextAlignment.Left)
.Text(100, 50, "This is such a nice font!");

drawables.FontPointSize(40)
.Font(@"I:\issues\im7\1752\font2.ttf")
.FillColor(MagickColors.Black)
.TextAlignment(TextAlignment.Left)
.Text(100, 100, "This is even better, or does it look the same?");

using var image = new MagickImage(MagickColors.White, 1000, 800);
drawables.Draw(image);
image.Write(@"I:\issues\im7\1752\z.png");
}
}

0 comments on commit 0f59c93

Please sign in to comment.