using Minint.Core.Models;
namespace Minint.Core.Services;
public interface IDrawingService
{
///
/// Applies a circular brush stroke at (, )
/// with the given . Sets affected pixels to .
///
void ApplyBrush(MinintLayer layer, int cx, int cy, int radius, int colorIndex, int width, int height);
///
/// Applies a circular eraser at (, )
/// with the given . Sets affected pixels to index 0 (transparent).
///
void ApplyEraser(MinintLayer layer, int cx, int cy, int radius, int width, int height);
///
/// Returns the set of pixel coordinates affected by a circular brush/eraser
/// centered at (, ) with given .
/// Used for tool preview overlay.
///
List<(int X, int Y)> GetBrushMask(int cx, int cy, int radius, int width, int height);
}