[metapost] straight lines vs. curves (SVG)
taco at elvenkind.com
Sun Apr 26 10:30:31 CEST 2009
Hartmut Henkel wrote:
> metapost uses "in-channel signaling" for straightness by this 1/3 -- 2/3
> heuristics. And 1/3 -- 2/3 is rather "odd" due to the number 3, that 1/2
> -- 1/2 (or even 0 -- 1, why not?) for internal representation maybe
> would serve better regarding rounding.
> But wouldn't it make sense to have instead a separate "straight" flag
> carried with all really straight path segments
Yes, true. I now remember you had uploaded a patch for that, even.
More information about the metapost