DebugCanvas.cs
资源名称:QRCodeLib.rar [点击查看]
上传用户:tjjgrl
上传日期:2019-04-04
资源大小:1010k
文件大小:1k
源码类别:
电子政务应用
开发平台:
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);
- }
- }