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 test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
alignment fix(fig): improve imported component layout parity 2026-08-03 18:00:15 +03:00
counter-axis test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
fill test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
gap test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
hidden-children test(layout): place auto-layout reflow cases by domain 2026-07-02 10:16:08 +03:00
horizontal test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
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 test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
min-max test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
mixed test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
nested fix(layout): preserve imported instance child bounds 2026-06-03 15:47:17 +03:00
self test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
sizing test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
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 test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
edge-cases.test.ts