aboutsummaryrefslogtreecommitdiff
path: root/imagemap.py
diff options
context:
space:
mode:
authorViatrix2026-03-11 07:54:27 -0700
committerViatrix2026-03-11 07:55:44 -0700
commit8cea9e2a48fa7965614997ebee832bb39e7154ca (patch)
tree2a1094195d88455842676098c19cfc14dde15729 /imagemap.py
parent1896ef89104109adffcaeb87274abbfe6759c986 (diff)
Transforms working
Diffstat (limited to 'imagemap.py')
-rw-r--r--imagemap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imagemap.py b/imagemap.py
index a1bd093..9a88a42 100644
--- a/imagemap.py
+++ b/imagemap.py
@@ -81,7 +81,7 @@ class ImageMap(inkex.OutputExtension):
href=link['href']
alt=link['alt'] if int(linkindex) not in seen else None
shapes=[]
- path=el.get_path().to_superpath()
+ path=el.get_path().transform(el.composed_transform()).to_superpath()
bezier.cspsubdiv(path,0.5)
for subpath in path:
coords=[[round((c[0][0]-viewBox[0])*wscale),round((c[0][1]-viewBox[1])*hscale)] for c in subpath]