mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:25:49 +08:00
feat(内存占用): 优化数值解析与页面缓存,减少内存分配和重复处理
This commit is contained in:
1 parent
283c8eea77
commit
5a6d5ae419
2 files changed
+7
-7
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user