|
|
@@ -838,6 +838,25 @@ export default {
|
|
|
this.DrawText(coords.x, coords.y, drawItem.text,ctx);
|
|
|
break;
|
|
|
}
|
|
|
+ case 6:
|
|
|
+ {
|
|
|
+ // 绘制对号
|
|
|
+ const coords = {
|
|
|
+ x: parseFloat((drawItem.x * zoomScale + offsetX).toFixed(2)),
|
|
|
+ y: parseFloat((drawItem.y * zoomScale + offsetY).toFixed(2))
|
|
|
+ };
|
|
|
+ this.DrawText(coords.x, coords.y, '✔',ctx);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 7: {
|
|
|
+ // 绘制对号
|
|
|
+ const coords = {
|
|
|
+ x: parseFloat((drawItem.x * zoomScale + offsetX).toFixed(2)),
|
|
|
+ y: parseFloat((drawItem.y * zoomScale + offsetY).toFixed(2))
|
|
|
+ };
|
|
|
+ this.DrawText(coords.x, coords.y, '✘',ctx);
|
|
|
+ break;
|
|
|
+ }
|
|
|
|
|
|
default:
|
|
|
console.warn('未知的绘图类型:', drawItem.drawType);
|