mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
3b9f88cbba
commit
052e34a4e6
6 files changed
+119
-27
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user