fontlabapp.contours.nodes.duplicator._write
_write
Stage detached native nodes, then insert only those exact owned identities.
No shape copy can infer Smooth, lose shape notes or alter hidden pen data here. Native insert rounds points, so restore the captured unrounded coordinates after attachment. Failures retain explicit recovery/history diagnostics, never Undo.
Classes
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
publish |
function | (capture: Any, result: Any, staged: dict, native: Any, qt: Any, deadline: float) -> tuple |
One Undo notification; roll back only exact new nodes if attachment fails. |
representable |
function | (capture: Any, result: Any) -> None |
Keep known unsafe save/control scenarios explicit before opening history. |
restore |
function | (node: Any, record: Any, qt: Any, *, fresh: bool=True) -> None |
Restore named copy fields without invoking node type's destructive setter. |
stage |
function | (capture: Any, result: Any, native: Any, qt: Any, deadline: float) -> dict |
Complete every clone before history; a prior inserted copy is a valid source. |
verify |
function | (node: Any, record: Any) -> None |
Check materialized copy metadata and exact coordinates before publication. |