top | item 40890718

(no title)

martin293 | 1 year ago

Could anyone please explain what stroke expansion actually is either on high school or math undergrad level?

discuss

order

djoldman|1 year ago

A path is a line with zero or more curves, finite length, and zero width.

A stroked path is a path with a non-zero width.

Stroke expansion is going from a path to a stroked path.

Turns out that the math is quite complex.

I'm in search of a precise and consensus definition of a path with non-zero width... does anyone know where that is in the svg spec?

scotty79|1 year ago

Imagine basic graphics program. Stroke expansion is how you go from a line drawn with a pencil to the one drawn with some brush.

It's how you go from drawing 1px width line to drawing paint covered area left by some brush following this line.