feat(内存占用): 优化数值解析与页面缓存,减少内存分配和重复处理

This commit is contained in:
xiaoqidun committed 2026-09-12 14:32:39 +08:00
1 parent 283c8eea77
commit 5a6d5ae419
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -359,7 +359,7 @@ func (r *Renderer) renderPattern(ctx *canvas.Context, pattern *patternPaint, pag
}
for _, obj := range pattern.CellContent.Objects {
obj = mergeGraphicObjectAlpha(obj, pattern.alpha)
r.renderObject(ctx, obj, pageH, defaults, &tileCTM, true, clip)
r.renderObject(ctx, &obj, pageH, defaults, &tileCTM, true, clip)
}
}
}