11 Commits

Author SHA1 Message Date
Elena Torró
0913545b41
🐛 Fix letter spacing and position when flattening text to path (#11555)
* 🐛 Fix letter spacing and position when flattening text to path

* ♻️ Simplify text to path conversion and add flatten tests
2026-09-11 08:20:22 +02:00
Alejandro Alonso
269aa36f82
✨ Export solid and patterned strokes to WASM SVG (#11513)
* ✨ Export solid inner and outer strokes to WASM SVG

SkSVGDevice drops save_layer+Clear used for path Outer strokes, so
solid Inner/Outer strokes on closed shapes are expanded to filled
outlines via stroke_to_path. Center and open paths stay on the shared
stroke path.

Closes #11381

* ✨ Export dotted, dashed, and mixed strokes to WASM SVG

PathEffects do not survive SkSVGDevice, so dotted/dashed/mixed strokes
expand via stroke_to_path with the effect kept, producing filled
outline geometry for all alignments including Center.

Closes #11382

* 🐛 Fix WASM SVG stroke export edge cases

Keep expanded stroke outlines in local space under the leaf CTM so
rotated rects/paths are not double-transformed; overlay open-path caps
after dotted expansion; draw frame strokes outside the content clip;
and route per-side rect/frame strokes through the evenodd band path.
2026-09-07 13:50:58 +02:00
Alonso Torres
b609a964be
🐛 Fix boolean issues on the wasm render
* 🐛 Fix sharp angles in text-to-path due to wrong quad/conic degree elevation

* 🐛 Preserve even-odd fill type through Skia path conversions

* 🐛 Fix wrong quadratic-to-cubic degree elevation in push_bezier

* 🐛 Skip zero-length degenerate close segments in path_to_beziers

* 🐛 Replace BTreeMap for Vec for bool calculation

* 🐛 Fix even_odd missing when creating Path
2026-05-26 15:11:52 +02:00
alonso.torres
ce5006ae84 🐛 Fix problem with border radius to path 2025-12-11 22:40:44 +01:00
alonso.torres
b39c00fbf6 ✨ Improve boolean calculations 2025-11-03 09:50:29 +01:00
alonso.torres
fcc9282304 ✨ Fix problems with SVGraw and modifiers 2025-10-31 11:56:28 +01:00
alonso.torres
dbf9bdceb5 ✨ Removed modifiers from code 2025-10-31 11:56:28 +01:00
Alejandro Alonso
c66a8f5dc5 ✨ Improve shapes pool performance 2025-10-31 11:56:28 +01:00
alonso.torres
ed4df73e42 ✨ Changes to modifiers 2025-10-31 11:56:28 +01:00
Elena Torró
2e21f084fc
🐛 Fix boolean operations on rotated shapes (#7309) 2025-09-15 14:46:56 +02:00
alonso.torres
cd1be43384 ✨ Add support for boolean shapes 2025-08-11 10:30:14 +02:00