Skip to content

Commit

Permalink
th2 -> svg: line point altitude marker
Browse files Browse the repository at this point in the history
  • Loading branch information
speleo3 committed Nov 27, 2024
1 parent a1ca5aa commit 0fefe52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/th2_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,8 @@ def parse_line(a: Sequence[str]):
e_path.set(inkscape_original_d, d)
else:
e_path.set('d', d)
if seg.options.get('altitude') is not None:
e_path.set('style', 'marker-start:url(#linept-altitude)')

e_path.set(sodipodi_nodetypes, "".join(seg.nodetypes))

Expand Down
4 changes: 4 additions & 0 deletions extensions/th2_template.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0fefe52

Please sign in to comment.