Skip to content

Commit 2534877

Browse files
Update PatternBrush.cs
1 parent 49fc8ac commit 2534877

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ImageSharp.Drawing/Processing/PatternBrush.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System;
55
using System.Numerics;
66
using SixLabors.ImageSharp.Drawing.Utilities;
7-
using SixLabors.ImageSharp.Memory;
87
using SixLabors.ImageSharp.PixelFormats;
98

109
namespace SixLabors.ImageSharp.Drawing.Processing
@@ -118,8 +117,6 @@ private sealed class PatternBrushApplicator<TPixel> : BrushApplicator<TPixel>
118117
where TPixel : unmanaged, IPixel<TPixel>
119118
{
120119
private readonly DenseMatrix<TPixel> pattern;
121-
private readonly MemoryAllocator allocator;
122-
private readonly int scalineWidth;
123120
private readonly ThreadLocalBlenderBuffers<TPixel> blenderBuffers;
124121
private bool isDisposed;
125122

@@ -138,8 +135,6 @@ public PatternBrushApplicator(
138135
: base(configuration, options, source)
139136
{
140137
this.pattern = pattern;
141-
this.scalineWidth = source.Width;
142-
this.allocator = configuration.MemoryAllocator;
143138
this.blenderBuffers = new ThreadLocalBlenderBuffers<TPixel>(configuration.MemoryAllocator, source.Width);
144139
}
145140

0 commit comments

Comments
 (0)