openpencil/tests/engine/figma/api
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 fix(figma-api): expose node transforms 2026-08-03 20:17:32 +03:00
auto-layout test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
corner test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
create Merge master into fix/create-component-drops-bound-variables 2026-09-02 01:09:01 +03:00
document test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
find test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
frozen test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
internals test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
layout feat(scene-graph)!: make a stroke a paint (#864) 2026-10-04 13:38:05 +04:00
min-max test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
node test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
property test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
stroke feat(scene-graph)!: make a stroke a paint (#864) 2026-10-04 13:38:05 +04:00
text test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
tree test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
vector fix(figma-api): match Figma vector editing (#444) 2026-08-02 22:32:16 +03:00
clone.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
components.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
expanded.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
flatten-renderer.test.ts feat(text): wrap styled outline text 2026-05-17 20:23:55 +03:00
grouping-compat.test.ts fix(figma-api): size groups and boolean operations to their contents (#775) 2026-09-30 05:23:59 +04:00
grouping.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
helpers.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
images.test.ts chore: format codebase 2026-05-24 12:15:29 +03:00
mask.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
selection.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
serialization.test.ts chore(lint): reject broad unknown type assertions 2026-05-25 00:26:02 +03:00
stubs.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
traversal.test.ts test(figma): split API coverage 2026-05-06 13:37:15 +03:00
variable-binding-extended.test.ts test: migrate Scene Graph tests into the package and gate new tests/engine files (#790) 2026-09-30 04:53:28 +04:00
variables.test.ts feat(figma-api): expose vector paths and modes 2026-07-22 15:07:20 +03:00