mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
This commit is contained in:
1 parent
444a84c629
commit
b30a44b7ce
25 files changed
+529
-63
No files matched your search
@@ -668,6 +668,9 @@ func (x *ofdXML) object(object GraphicObject, root bool) {
|
||||
attrs.number("ReadDirection", float64(obj.ReadDirection))
|
||||
attrs.number("CharDirection", float64(obj.CharDirection))
|
||||
attrs.number("LineWidth", obj.LineWidth)
|
||||
if obj.LineWidthSet && obj.LineWidth == 0 {
|
||||
attrs.add("LineWidth", "0")
|
||||
}
|
||||
attrs.number("MiterLimit", obj.MiterLimit)
|
||||
attrs.add("Join", obj.Join)
|
||||
if obj.Italic {
|
||||
@@ -686,6 +689,9 @@ func (x *ofdXML) object(object GraphicObject, root bool) {
|
||||
attrs.add("Boundary", obj.Boundary)
|
||||
attrs.add("CTM", obj.CTM)
|
||||
attrs.number("LineWidth", obj.LineWidth)
|
||||
if obj.LineWidthSet && obj.LineWidth == 0 {
|
||||
attrs.add("LineWidth", "0")
|
||||
}
|
||||
attrs.number("MiterLimit", obj.MiterLimit)
|
||||
attrs.add("Join", obj.Join)
|
||||
attrs.add("Cap", obj.Cap)
|
||||
|
||||
Reference in new issue
Block a user