Improve setting svg attrs in wasm

This commit is contained in:
Alejandro Alonso
2025-10-23 14:22:22 +02:00
committed by Alonso Torres
parent dba718b850
commit 479ce99b32
14 changed files with 1554 additions and 73 deletions

View File

@@ -160,6 +160,38 @@ Stroke styles are serialized as `u8`:
| 3 | Mixed |
| \_ | Solid |
## Fill rules
Fill rules are serialized as `u8`
| Value | Field |
| ----- | ------ |
| 0 | Nonzero |
| 1 | Evenodd |
| \_ | Nonzero |
## Stroke linecaps
Stroke linecaps are serialized as `u8`
| Value | Field |
| ----- | ------ |
| 0 | Butt |
| 1 | Round |
| 2 | Square |
| \_ | Butt |
## Stroke linejoins
Stroke linejoins are serialized as `u8`
| Value | Field |
| ----- | ------ |
| 0 | Miter |
| 1 | Round |
| 2 | Bevel |
| \_ | Miter |
## Bool Operations
Bool operations (`bool-type`) are serialized as `u8`: