12 行
552 B
C#
12 行
552 B
C#
namespace LuaScript
|
|
{
|
|
internal interface IPixelBufferProcessor
|
|
{
|
|
bool TryFill(byte[] target, int width, int height, double r, double g, double b, double a, int x, int y, int fillWidth, int fillHeight, bool force = false);
|
|
|
|
bool TryConvolve(byte[] target, int width, int height, double[] kernel, int size, double divisor, double offset, bool force = false);
|
|
|
|
bool TryResize(byte[] source, int sourceWidth, int sourceHeight, int targetWidth, int targetHeight, bool linear, out byte[]? target, bool force = false);
|
|
}
|
|
}
|