jonathancrabtree / Circleator

Flexible circular visualization of genome-associated data with BioPerl and SVG.
Other
46 stars 8 forks source link

Curved rectangle outline/path fails to account for stroke-width #23

Open jonathancrabtree opened 9 years ago

jonathancrabtree commented 9 years ago

There's a slight bug that only becomes apparent at large stroke-width values, namely that the endpoint of the path drawn around each curved rectangle (the circleator rectangle glyph) needs to be adjusted to account for the stroke-width. In particular it needs to be extended by half the stroke-width value to ensure that no holes are left (see image below.) sw-ex1

jonathancrabtree commented 9 years ago

BTW, fixing this is going to be a pain because it's probably going to result in all of the regression tests failing and needing to be manually examined.