fontlab_glyport.ui.nib_graph · declarations 001
Back to fontlab_glyport.ui.nib_graph
DEFAULT_MASK
module-attribute
DEFAULT_MASK
MAX_DEPTH
module-attribute
MAX_DEPTH
MAX_NODES
module-attribute
MAX_NODES
MAX_XML_DEPTH
module-attribute
MAX_XML_DEPTH
MAX_XML_ELEMENTS
module-attribute
MAX_XML_ELEMENTS
graph_from_nib
graph_from_nib(path: str | Path) -> UIGraph
Translate a compiled NIB (file or bundle directory) into a UIGraph.
graph_from_xib
graph_from_xib(path: str | Path) -> UIGraph
Translate an Interface Builder XIB document into a UIGraph.
A document type declaration (DTD, entities) is rejected before parsing, so entity expansion never runs; size, nesting and node counts are bounded.
untranslated_xib
untranslated_xib(path: str | Path) -> dict[str, int]
Elements of a XIB that graph_from_xib does not translate, with counts
(fonts, colours, cell behaviours, ...): the unmapped-property report.