[Worksheet] Adapted polypoints to v7 arguments

This commit is contained in:
Salvador E. Tropea 2023-02-14 12:29:38 -03:00
parent f84b49bd2a
commit 55086c5def
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class WksPolygon(WksDrawing):
s.SetShape(SHAPE_T_POLY)
if hasattr(s, 'SetFillMode'):
s.SetFillMode(FILL_T_FILLED_SHAPE)
s.SetPolyPoints([pos+p for p in pts])
s.SetPolyPoints([GS.p2v_k7(pos+p) for p in pts])
s.SetWidth(e.line_width)
s.SetLayer(p.layer)
if e.rotate: