fontlab_glyport.model.fake_backend.FakeBackend
FakeBackend
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
add_layer_extrema— defined byfontlab_glyport.model.outline_ops.OutlineOperations.add_layer_extremacorrect_layer_direction— defined byfontlab_glyport.model.outline_ops.OutlineOperations.correct_layer_directiondecompose_layer_components— defined byfontlab_glyport.model.outline_ops.OutlineOperations.decompose_layer_componentsdraw_layer— defined byfontlab_glyport.model.outline_ops.OutlineOperations.draw_layerremove_layer_overlap— defined byfontlab_glyport.model.outline_ops.OutlineOperations.remove_layer_overlap
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 |
|---|---|---|---|
__init__ |
function | (self) |
|
__setattr__ |
function | (self, key, value) |
|
add_anchor |
function | (self, layer_id: str, anchor: AnchorInfo) -> str |
|
add_axis |
function | (self, font_id, axis) -> str |
|
add_hint |
function | (self, layer_id: str, hint) -> None |
|
add_instance |
function | (self, font_id, instance) -> None |
|
anchor_selected |
function | (self, anchor_id) |
|
append_component |
function | (self, layer_id: str, component: ComponentInfo) -> str |
|
append_glyph |
function | (self, font_id: str, name: str, *, unicodes: tuple[str, ...]=()) -> str |
|
append_guide |
function | (self, layer_id: str, guide: GuideInfo) -> str |
|
append_layer |
function | (self, glyph_id, master_id, name, snapshot) |
|
append_master |
function | (self, font_id, master, metrics) |
|
append_master_guide |
function | (self, master_id, guide) |
|
append_path |
function | (self, layer_id: str, path: PathInfo) -> str |
|
background_layer |
function | (self, layer_id) |
|
begin_undo |
function | (self, name: str) -> None |
|
can_publish_undo |
function | (self, font_id: str) -> bool |
|
classes |
function | (self, font_id: str) -> tuple[ClassInfo, ...] |
|
clear_background_layer |
function | (self, layer_id) |
|
close_font |
function | (self, font_id, *, ignore_changes=True) |
Close the fake document and invalidate all descendant handles. |
component_bounds |
function | (self, component_id) |
|
component_selected |
function | (self, component_id) |
|
current_font_id |
function | (self) -> str | None |
|
current_layers |
function | (self, font_id: str) -> tuple[tuple[str, str], ...] |
|
current_master |
function | (self, font_id: str) -> str | None |
|
dark_mode |
function | (self) |
|
decompose_component |
function | (self, layer_id: str, component_id: str, *, on_detach: Callable[[], None]) -> None |
|
discard_undo |
function | (self) -> None |
|
edit_view |
function | (self, font_id: str) -> EditViewInfo | None |
|
end_undo |
function | (self) -> None |
|
features |
function | (self, font_id: str) -> FeaturesInfo |
|
font_info |
function | (self, font_id: str) -> FontInfo |
|
font_path |
function | (self, font_id: str) -> str | None |
|
glyph_last_change |
function | (self, glyph_id: str) -> str | None |
|
glyph_layers |
function | (self, glyph_id) |
|
glyph_note |
function | (self, glyph_id: str) -> str |
|
glyph_selected |
function | (self, font_id, glyph_id) |
|
glyph_tags |
function | (self, glyph_id: str) -> tuple[str, ...] |
|
glyphs |
function | (self, font_id: str) -> tuple[GlyphInfo, ...] |
|
guide_selected |
function | (self, guide_id) |
|
hints |
function | (self, layer_id: str) -> tuple[HintInfo, ...] |
|
insert_path |
function | (self, layer_id: str, index: int, path: PathInfo) -> str |
|
insert_path_node |
function | (self, path_id: str, index: int, node: NodeInfo, *, on_attach: Callable[[str], None] | None=None) -> str |
|
instances |
function | (self, font_id: str) -> tuple[InstanceInfo, ...] |
|
is_valid |
function | (self, id: str) -> bool |
|
kerning |
function | (self, font_id: str, master_id: str) -> tuple[KerningPair, ...] |
|
kerning_classes |
function | (self, font_id: str, master_id: str | None=None) -> tuple[KerningClassInfo, ...] |
|
layer |
function | (self, glyph_id: str, master_id: str) -> LayerInfo |
|
layer_bounds |
function | (self, layer_id: str) |
|
layer_location |
function | (self, layer_id: str) -> tuple[str, str, bool] |
|
layer_metrics_key |
function | (self, layer_id, side) |
|
layer_vertical_width |
function | (self, layer_id: str) -> float | None |
|
lib |
function | (self, id: str) -> dict |
|
list_fonts |
function | (self) -> tuple[str, ...] |
|
make_node_first |
function | (self, node_id: str) -> None |
Rotate the closed path so the node is last (Glyphs' start node). |
mark |
function | (self, id: str) -> int |
|
master_guides |
function | (self, master_id) |
|
master_metrics |
function | (self, master_id: str) -> MasterMetrics |
|
master_zones |
function | (self, master_id) |
|
node_name |
function | (self, node_id) |
|
node_selected |
function | (self, node_id) |
|
open_edit_view |
function | (self, font_id: str) -> None |
|
outline_layer |
function | (self, layer_id: str) -> LayerInfo |
Return the live immutable outline snapshot. |
path_attributes |
function | (self, path_id) |
|
prepare_collection |
function | (self, layer_id, field, *, state=None) |
|
proxy_parent |
function | (self, token: str) -> str | None |
|
redraw_edit_view |
function | (self, font_id) |
|
remove_anchor |
function | (self, layer_id: str, anchor_id: str) -> None |
|
remove_axis |
function | (self, font_id, index) -> None |
|
remove_component |
function | (self, layer_id, component_id) |
|
remove_glyph |
function | (self, font_id, glyph_id) |
|
remove_guide |
function | (self, layer_id, guide_id) |
|
remove_hint |
function | (self, layer_id: str, index: int) -> None |
|
remove_instance |
function | (self, font_id, index) -> None |
|
remove_path |
function | (self, layer_id: str, path_id: str) -> None |
|
rename_class |
function | (self, font_id, name, new_name) -> None |
|
rename_glyph |
function | (self, font_id, glyph_id, name) |
|
replace_kerning |
function | (self, font_id: str, master_id: str, pairs: tuple[KerningPair, ...]) -> None |
|
restore_collection |
function | (self, layer_id, state) |
|
revision |
function | (self, font_id) |
|
save_font |
function | (self, font_id: str, path: str | None=None, *, make_copy=False) -> None |
Write this fake font's first master as a real UFO for offline tests. |
set_anchor_name |
function | (self, anchor_id, name) |
|
set_anchor_position |
function | (self, anchor_id: str, x: float, y: float) -> None |
|
set_anchor_selected |
function | (self, anchor_id, value) |
|
set_axis |
function | (self, font_id, index, axis) -> None |
|
set_class |
function | (self, font_id, name, glyphs) -> None |
|
set_component_name |
function | (self, component_id: str, name: str) -> None |
|
set_component_position |
function | (self, component_id, x, y) |
|
set_component_selected |
function | (self, component_id, value) |
|
set_component_transform |
function | (self, component_id, transform) |
|
set_current_master |
function | (self, font_id: str, master_id: str) -> None |
|
set_edit_cursor |
function | (self, font_id: str, index: int) -> None |
|
set_edit_glyphs |
function | (self, font_id: str, lines) -> None |
|
set_feature |
function | (self, font_id: str, name: str, code: str | None) -> None |
|
set_feature_prefix |
function | (self, font_id: str, code: str) -> None |
|
set_font_info |
function | (self, font_id, **changes) |
|
set_font_selection |
function | (self, font_id, glyph_ids) |
|
set_glyph_selected |
function | (self, font_id, glyph_id, value) |
|
set_glyph_tags |
function | (self, glyph_id: str, tags: tuple[str, ...]) -> None |
|
set_glyph_unicodes |
function | (self, glyph_id, values) |
|
set_guide |
function | (self, guide_id, **changes) |
|
set_guide_selected |
function | (self, guide_id, value) |
|
set_hint |
function | (self, layer_id: str, index: int, changes) -> None |
|
set_instance |
function | (self, font_id, index, changes) -> None |
|
set_kerning |
function | (self, font_id, master_id, left, right, value) -> None |
|
set_kerning_group |
function | (self, font_id: str, glyph_id: str, side: str, value: str | None) -> None |
|
set_layer_metrics_key |
function | (self, layer_id, side, value) |
|
set_layer_width |
function | (self, layer_id: str, width: float) -> None |
|
set_lib |
function | (self, id: str, data: dict) -> None |
|
set_mark |
function | (self, id: str, hue: int) -> None |
|
set_master_axes |
function | (self, master_id, axes) -> None |
|
set_master_info |
function | (self, master_id, **changes) |
|
set_master_italic_angle |
function | (self, master_id, value) |
|
set_master_zone |
function | (self, master_id, index, position, size) |
|
set_node_connection |
function | (self, node_id: str, connection: int) -> None |
|
set_node_name |
function | (self, node_id, name) |
|
set_node_position |
function | (self, node_id: str, x: float, y: float) -> None |
|
set_node_selected |
function | (self, node_id: str, selected: bool) -> None |
|
set_node_smooth |
function | (self, node_id: str, smooth: bool) -> None |
|
set_node_type |
function | (self, node_id, kind) |
|
set_path_attributes |
function | (self, path_id, values) |
|
set_path_nodes |
function | (self, path_id: str, nodes, closed: bool) -> None |
|
snapshot_collection |
function | (self, layer_id, *, stage=False) |
|
snapshot_layer |
function | (self, layer_id) |
|
supports_anchor_selection |
attribute | ||
supports_component_selection |
attribute | ||
supports_guide_selection |
attribute | ||
transform_layer |
function | (self, layer_id: str, matrix) -> None |
|
update_layer_metrics |
function | (self, layer_id) |
|
validate_collection |
function | (self, layer_id, field, infos) |
|
validate_component_expansion |
function | (self, layer_id, components) -> None |
Resolve the complete reference graph, refusing cycles before edits. |