Skip to content

Commit 2db10c6

Browse files
Update src/ImageSharp.Drawing/Processing/SolidBrush.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
1 parent 34ab238 commit 2db10c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ImageSharp.Drawing/Processing/SolidBrush.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public override void Apply(Span<float> scanline, int x, int y)
9090
Configuration configuration = this.Configuration;
9191
if (this.Options.BlendPercentage == 1F)
9292
{
93+
// TODO: refactor the BlendPercentage == 1 logic to a separate, simpler BrushApplicator class.
9394
this.Blender.Blend(configuration, destinationRow, destinationRow, this.colors.Memory.Span, scanline);
9495
}
9596
else

0 commit comments

Comments
 (0)