Re: [svgwg] Bounding box algorithm is not precise

In addition, the stroke shape computation code is not specific enough:
> with the assumption that the element has no dash pattern

There is more that contributes to the stroke bounds:
* line joins,
* mitter,
* line caps.

The algorithm in the mask spec is more specific: https://drafts.fxtf.org/css-masking-1/#compute-stroke-bounding-box

Maybe we should just reference that one.

-- 
GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/422#issuecomment-383372628 using your GitHub account

Received on Sunday, 22 April 2018 10:52:23 UTC