23 lines
439 B
C#
23 lines
439 B
C#
using MessagingToolkit.QRCode.Geom;
|
|
|
|
namespace MessagingToolkit.QRCode.Codec.Util;
|
|
|
|
public interface DebugCanvas
|
|
{
|
|
void println(string str);
|
|
|
|
void drawPoint(Point point, int color);
|
|
|
|
void drawCross(Point point, int color);
|
|
|
|
void drawPoints(Point[] points, int color);
|
|
|
|
void drawLine(Line line, int color);
|
|
|
|
void drawLines(Line[] lines, int color);
|
|
|
|
void drawPolygon(Point[] points, int color);
|
|
|
|
void drawMatrix(bool[][] matrix);
|
|
}
|