refactor(重构提升): 修复裁剪并优化转换渲染
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-06 23:09:49 +08:00
1 parent 619899e297
commit e8344e6387
27 files changed
+754 -150

No files matched your search

+2
View File
@@ -197,6 +197,8 @@ func (p *pdfImporter) compositePattern(paint pdfgo.Paint) (*pdfCompositePattern,
local.matrix[5] -= box.Y
local.pageWidth, local.pageHeight = box.W, box.H
local.compositeCache = nil
local.compositingCache().geometry = cache.geometryCache()
local.compositingCache().clips = cache.clipCache()
pattern := &pdfCompositePattern{nodes: nodes, local: local, box: box}
cache.patterns[paint] = pattern
return pattern, nil