mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
9c5ce1d66f
commit
ac198f3351
56 files changed
+3029
-825
No files matched your search
+4
-2
@@ -989,8 +989,10 @@ func (x *ofdXML) pattern(pattern *Pattern) {
|
||||
attrs.add("RelativeTo", pattern.RelativeTo)
|
||||
attrs.add("CTM", pattern.CTM)
|
||||
x.start("Pattern", attrs)
|
||||
x.start("CellContent", nil)
|
||||
for _, object := range pattern.CellContent.Objects {
|
||||
var content ofdAttrs
|
||||
content.add("Thumbnail", pattern.CellContent.Thumbnail)
|
||||
x.start("CellContent", content)
|
||||
for object := range pattern.CellContent.objects() {
|
||||
x.object(object, false)
|
||||
}
|
||||
x.end("CellContent")
|
||||
|
||||
Reference in new issue
Block a user