feat(转换渲染): 完善图案注释与区域跳转
build.yaml / build (push) Successful in 42s

This commit is contained in:
xiaoqidun committed 2026-09-27 16:28:03 +08:00
1 parent 3b9f88cbba
commit 052e34a4e6
6 files changed
+119 -27

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ func (r *Renderer) walkAnnotation(annotation Annotation, visitor PageVisitor) er
}
box, _ := ParseBox(annotation.Appearance.Boundary)
matrix := TranslationMatrix(box.X, box.Y)
state := RenderState{Parent: &matrix}
state := RenderState{Parent: &matrix, BoundaryInCTM: true}
for i := range annotation.Appearance.Objects {
if err := r.WalkObject(&annotation.Appearance.Objects[i], state, visitor); err != nil {
return err