18 lines
516 B
C#
18 lines
516 B
C#
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);
|
|
}
|
|
} |