mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-20 15:03:25 +00:00
![]() When stroke-width unit is percentage, loader refer to the normalized diagonal of viewport. +) Add Diagonal type so as not to affect existing types. https://svgwg.org/svg2-draft/painting.html#StrokeWidth https://svgwg.org/svg2-draft/coords.html#Units example) ``` <svg width="100" height="50" xmlns="http://www.w3.org/2000/svg"> <rect x="15" y="15" width="70" height="20" fill="none" stroke="#F00" stroke-width="10%"/> <rect x="15" y="15" width="70" height="20" fill="none" stroke="#00F" stroke-opacity=".3" stroke-width="10"/> </svg> ``` related issue: https://github.com/thorvg/thorvg/issues/2131 |
||
---|---|---|
.. | ||
external_jpg | ||
external_png | ||
external_webp | ||
jpg | ||
lottie | ||
png | ||
raw | ||
svg | ||
ttf | ||
tvg | ||
webp | ||
meson.build |