markup: fix bug in ellipse annotation
This commit is contained in:
@ -144,7 +144,7 @@ def write_square_or_circle(obj, mediabox, path):
|
||||
if obj["Subtype"] == LIT('Square'):
|
||||
draw.rectangle(obj['Rect'], fill=None, outline='black', width=3)
|
||||
else:
|
||||
draw.ellipse(*obj['Rect'], fill=None, outline='black', width=3)
|
||||
draw.ellipse(obj['Rect'], fill=None, outline='black', width=3)
|
||||
|
||||
# account for the difference in coordinate systems
|
||||
# between pdf and images.
|
||||
|
||||
Reference in New Issue
Block a user