openpencil/tests/engine/layout/auto-layout
Danila Poyarkov f55b887d2b
feat(scene-graph)!: make a stroke a paint (#864)
* feat(scene-graph)!: make a stroke a paint

Stroke extends Fill, so a stroke carries the same paint vocabulary a
fill does instead of a lone color. Every construction site now states
a solid paint type, which keeps today's behaviour exactly; rendering,
.fig conversion, and the stroke panel still read solid strokes only.

copyFill is generic over the paint shape so copyStroke reuses it
rather than repeating the deep copy of gradient stops, transforms and
pattern fields.

Groundwork for the gradient and image strokes in #797.

* test(scene-graph): cover a stroke's nested paint data in copyStroke

A stroke is a paint now, so its gradient stops and transform must copy
as deeply as a fill's; the fixture was solid and proved only the color
and dash pattern.
2026-10-04 13:38:05 +04:00
..
absolute
alignment fix(fig): improve imported component layout parity 2026-08-03 18:00:15 +03:00
counter-axis
fill
gap
hidden-children test(layout): place auto-layout reflow cases by domain 2026-07-02 10:16:08 +03:00
horizontal
imported-derived-layout feat(fig): support text on path 2026-08-17 12:00:01 +03:00
layout feat(scene-graph)!: make a stroke a paint (#864) 2026-10-04 13:38:05 +04:00
layout-align-self
min-max
mixed
nested fix(layout): preserve imported instance child bounds 2026-06-03 15:47:17 +03:00
self
sizing
text test: fix heavy unit-test measurement and round-trip checks (#655) 2026-09-07 00:33:12 +03:00
vertical test(layout): place auto-layout reflow cases by domain 2026-07-02 10:16:08 +03:00
wrap
edge-cases.test.ts