fontlabapp.metrics.zones.guide_prepare
guide_prepare
Prepare owned zone roots using the native decoder and opaque payload checks.
Root identity checks and restoration witnesses are necessary diagnostics, not proof that every linked native object is detached. Only dedicated owned native qualification can establish that. Never use a legacy serializer declaration.
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 |
|---|---|---|---|
claim |
function | (native: Any, value: Any, protected: set[int], seen: set[int]) -> Any |
Reject known source/reused IDs before modifying any decoded guide. |
decoder |
function | (native: Any) -> Callable |
Require the source-verified one-argument QByteArray decoder declaration. |
identities |
function | (guide: Any) -> tuple[int, ...] |
Read known root/node/marker IDs, without reflecting arbitrary properties. |
matches |
function | (guide: Any, row: WriteRow) -> bool |
Refuse constraints, rounding or kind changes before returning prepared data. |
new |
function | (native: Any, qt: Any, row: WriteRow, protected: set[int], seen: set[int]) -> Any |
Use the actual four-position constructor and native enum dictionaries. |
set_visible |
function | (guide: Any, qt: Any, values: tuple) -> None |
Change owned center/width/name only, retaining its other native fields. |
unpack |
function | (native: Any, qt: Any, method: Callable, payload: bytes, protected: set[int], seen: set[int]) -> Any |
Decode one original native root; do not parse/rewrite the binary format. |
visible |
function | (guide: Any) -> tuple[float, float, float, str] |
Copy only the explicitly edited native fields; keep raw values exact. |