Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/rM2svg
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def rm2svg(input_file, output_name, coloured_annotations=False,
width /= 2.3 # adjust for transformation to A4

#print('Stroke {}: pen={}, colour={}, width={}, nsegments={}'.format(stroke, pen, colour, width, nsegments))
output.write('<polyline style="fill:none;stroke:{};stroke-width:{:.3f};opacity:{}" points="'.format(stroke_colour[colour], width, opacity)) # BEGIN stroke
output.write('<polyline style="fill:none;stroke:{};stroke-width:{:.3f};opacity:{};stroke-linejoin:round" points="'.format(stroke_colour[colour], width, opacity)) # BEGIN stroke

# Iterate through the segments to form a polyline
for segment in range(nsegments):
Expand Down