21 lines
776 B
C#
21 lines
776 B
C#
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
using System;
|
|
|
|
namespace SixLabors.ImageSharp.Drawing.Processing.Backends {
|
|
/// <summary>
|
|
/// Receives one emitted non-zero coverage span from the rasterizer.
|
|
/// </summary>
|
|
internal interface IRasterizerCoverageRowHandler
|
|
{
|
|
/// <summary>
|
|
/// Handles one emitted non-zero coverage span.
|
|
/// </summary>
|
|
/// <param name="y">The destination y coordinate.</param>
|
|
/// <param name="startX">The first x coordinate represented by <paramref name="coverage"/>.</param>
|
|
/// <param name="coverage">Non-zero coverage values starting at <paramref name="startX"/>.</param>
|
|
public void Handle(int y, int startX, Span<float> coverage);
|
|
}
|
|
}
|