openpencil/tests/engine/io/fig/import
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
..
legacy feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
basic.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
boolean-operation.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
cancellation.test.ts feat(app): prepare documents atomically per tab (#592) 2026-08-30 12:21:49 +03:00
component-props.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
derived-symbol-data.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
edge-cases.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
field-protection.test.ts feat(scene-graph)!: make a stroke a paint (#864) 2026-10-04 13:38:05 +04:00
font-variations.test.ts refactor(fig): own instance interpretation 2026-07-18 02:06:34 +03:00
group-reclassify.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
instance-overrides.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
instance-regressions.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
lazy-pages.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
mask-oracle.test.ts refactor(fig): own instance interpretation 2026-07-18 02:06:34 +03:00
masks.test.ts refactor(fig): own instance interpretation 2026-07-18 02:06:34 +03:00
paint-schema-fields.test.ts refactor(fig): own instance interpretation 2026-07-18 02:06:34 +03:00
pattern-paint-oracle.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
population-delta.test.ts fix(core): show imported page backgrounds and stop fixed text collapsing 2026-10-02 12:10:06 +04:00
property-integrity.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
raw-field-coverage.test.ts fix(fig): preserve explicit text alignment metadata 2026-09-02 22:54:13 +03:00
raw-metadata-oracle.test.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
rich-text-oracle.test.ts refactor(fig): own instance interpretation 2026-07-18 02:06:34 +03:00
scaled-instance-strokes.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
schema-coverage.test.ts fix(fig): keep variable metadata, plugin data and default mode on save (#848) 2026-10-04 12:53:04 +04:00
session-ownership.test.ts fix(fig): harden document worker sessions (#594) 2026-08-30 21:40:13 +03:00
strokes.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
style-refs.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
text-path.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
text-sizing.test.ts feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00