openpencil/src/app/demo
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
..
announcement refactor(design-jsx): extract design JSX into its own package (#793) 2026-09-30 20:55:27 +04:00
paint refactor(design-jsx): extract design JSX into its own package (#793) 2026-09-30 20:55:27 +04:00
sections refactor(design-jsx): extract design JSX into its own package (#793) 2026-09-30 20:55:27 +04:00
typography refactor(design-jsx): extract design JSX into its own package (#793) 2026-09-30 20:55:27 +04:00
colors.ts feat(scene-graph)!: make a stroke a paint (#864) 2026-10-04 13:38:05 +04:00
document.ts feat(demo): rebuild the first page as a component library with staged loading (#717) 2026-09-18 08:18:21 +03:00
effects.ts revert(demo): restore the visual-features showcase demo 2026-07-24 15:29:43 +03:00
fonts.ts feat: assemble an editable demo document 2026-09-14 00:36:53 +03:00
helpers.ts Refactor architecture boundaries across core, app, and packages (#234) 2026-04-30 15:14:19 +03:00
viewport.ts feat: assemble an editable demo document 2026-09-14 00:36:53 +03:00