|
|
@ -1,4 +1,4 @@ |
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
|
using System.Drawing; |
|
|
using System.Drawing; |
|
|
@ -47,11 +47,10 @@ namespace SixLabors.ImageSharp.Benchmarks |
|
|
{ |
|
|
{ |
|
|
image.Mutate(x => x.FillPolygon( |
|
|
image.Mutate(x => x.FillPolygon( |
|
|
Rgba32.HotPink, |
|
|
Rgba32.HotPink, |
|
|
new SixLabors.Primitives.PointF[] { |
|
|
new Vector2(10, 10), |
|
|
new Vector2(10, 10), |
|
|
new Vector2(200, 10), |
|
|
new Vector2(200, 10), |
|
|
new Vector2(200, 150), |
|
|
new Vector2(200, 150), |
|
|
new Vector2(10, 150))); |
|
|
new Vector2(10, 150) })); |
|
|
|
|
|
|
|
|
|
|
|
return new CoreSize(image.Width, image.Height); |
|
|
return new CoreSize(image.Width, image.Height); |
|
|
} |
|
|
} |
|
|
|