File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def print_descr(rect, annot):
75
75
76
76
r = r2 + displ
77
77
annot = page .addPolylineAnnot ([r .bl , r .tr , r .br , r .tl ])
78
- annot .setLineEnds (fitz .ANNOT_LE_Circle , fitz .ANNOT_LE_Diamond )
78
+ annot .setLineEnds (fitz .ANNOT_LE_Circle , fitz .ANNOT_LE_Diamond ) # a no-op currently
79
79
annot .setColors (colors )
80
80
annot .updateImage ()
81
81
print_descr (annot .rect , annot )
@@ -90,7 +90,7 @@ def print_descr(rect, annot):
90
90
91
91
r += displ
92
92
annot = page .addLineAnnot (r .tr , r .bl )
93
- annot .setLineEnds (fitz .ANNOT_LE_Circle , fitz .ANNOT_LE_Diamond )
93
+ annot .setLineEnds (fitz .ANNOT_LE_Circle , fitz .ANNOT_LE_Diamond ) # a no-op currently
94
94
annot .setColors (colors )
95
95
annot .updateImage ()
96
96
print_descr (annot .rect , annot )
@@ -117,4 +117,4 @@ def print_descr(rect, annot):
117
117
print ("added 'FileAttachment'" )
118
118
119
119
doc .save ("new-annots.pdf" , clean = True )
120
- doc .close ()
120
+ doc .close ()
You can’t perform that action at this time.
0 commit comments