fontlabapp.ui.canvas
canvas
Drawing overlays and glyph editor painters.
Usage inside FontLab::
from fly.ap.ui.canvas import EditorPainters, AFTER_NATIVE_LAYER
qt, fontlab = ..., ... # native modules from the host
painters = EditorPainters(qt, fontlab, error_sink=lambda error, owner: print(error))
token = painters.register(AFTER_NATIVE_LAYER, lambda context: None)
painters.remove(token)
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 |
|---|---|---|---|
__dir__ |
function | () -> list[str] |
List only the names published by this facade. (shared captured text) |
__getattr__ |
function | (name: str) -> Any |
Resolve one original public object only when it is requested. (shared captured text) |