thorvg/src/loaders
JunsuChoi 853d701d27 svg_loader: Fix calculation when stroke-width unit is percentage
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
2024-09-20 21:29:36 +09:00
..
external_jpg loaders: enhance decoding efficiency 2024-02-07 20:32:05 +09:00
external_png loaders: enhance decoding efficiency 2024-02-07 20:32:05 +09:00
external_webp loaders: decode the image with premultiplied alpha. 2024-02-07 20:32:05 +09:00
jpg common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
lottie lottie: --type casting warning in MSVC 2024-09-19 23:23:29 +09:00
png png: corrected a wrong premultiplied option. 2024-03-08 16:17:45 +09:00
raw renderer: enhanced shared surface handling with mutex implementation 2023-12-31 11:37:12 +09:00
svg svg_loader: Fix calculation when stroke-width unit is percentage 2024-09-20 21:29:36 +09:00
ttf loader/ttf: Spaces and invalid glyphs rendering fix 2024-09-02 17:44:31 +09:00
tvg common: spec out TexMap 2024-08-20 11:14:54 +09:00
webp common: fix 178+ spelling errors 2024-07-01 21:58:46 +09:00
meson.build build: Remove redundant comparisons 2024-08-19 17:42:40 +09:00