diff options
| author | Viatrix | 2026-03-11 07:54:27 -0700 |
|---|---|---|
| committer | Viatrix | 2026-03-11 07:55:44 -0700 |
| commit | 8cea9e2a48fa7965614997ebee832bb39e7154ca (patch) | |
| tree | 2a1094195d88455842676098c19cfc14dde15729 /imagemap.py | |
| parent | 1896ef89104109adffcaeb87274abbfe6759c986 (diff) | |
Transforms working
Diffstat (limited to 'imagemap.py')
| -rw-r--r-- | imagemap.py | 2 |
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] |
