feat:精简draw服务

This commit is contained in:
R524809
2025-12-22 11:05:36 +08:00
parent 0c51905ad4
commit c7d55e1e2d
26 changed files with 2938 additions and 3038 deletions
@@ -39,20 +39,9 @@ class MatchConnectDraw extends BaseDrawService {
return;
}
this.setPrintConfig();
this.matchData = matchData;
this.clear();
this.setPaper();
// 绘制Header
if (this.headerType !== 'minimal') {
await this.drawHeader();
} else {
this.drawMiniHeader();
}
// 绘制内容区域
this.drawDivider();
this.prepareDraw();
await this.drawHeaderAndDivider();
await this.drawContent({
canvas: this.canvas,
ctx: this.ctx,