initial commit
This commit is contained in:
18
util/DebugCanvas.cs
Normal file
18
util/DebugCanvas.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using Line = ThoughtWorks.QRCode.Geom.Line;
|
||||
using Point = ThoughtWorks.QRCode.Geom.Point;
|
||||
|
||||
namespace ThoughtWorks.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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user