fontlab_glyport.model.backend.ModelBackend · declarations 001
Back to fontlab_glyport.model.backend.ModelBackend
add_layer_extrema
add_layer_extrema(layer_id: str, *, force=False, check_selection=False, undo_group=...) -> None
anchor_selected
anchor_selected(anchor_id: str) -> bool
append_glyph
append_glyph(font_id: str, name: str, *, unicodes: tuple[str, ...] = ()) -> str
begin_undo
begin_undo(name: str) -> None
can_publish_undo
can_publish_undo(font_id: str) -> bool
clear_background_layer
clear_background_layer(layer_id: str) -> None
close_font
close_font(font_id: str, *, ignore_changes=False) -> None
component_bounds
component_bounds(component_id: str) -> tuple[float, float, float, float] | None
component_selected
component_selected(component_id: str) -> bool
correct_layer_direction
correct_layer_direction(layer_id: str) -> None
current_font_id
current_font_id() -> str | None
current_layers
current_layers(font_id: str) -> tuple[tuple[str, str], ...]
current_master
current_master(font_id: str) -> str | None
dark_mode
dark_mode() -> bool
decompose_component
decompose_component(layer_id: str, component_id: str, *, on_detach: Callable[[], None]) -> None
decompose_layer_components
decompose_layer_components(layer_id: str) -> None
discard_undo
discard_undo() -> None
draw_layer
draw_layer(layer_id: str, pen, *, points=False, contours=True, components=True) -> None
end_undo
end_undo() -> None
font_path
font_path(font_id: str) -> str | None
glyph_last_change
glyph_last_change(glyph_id: str) -> str | None
glyph_note
glyph_note(glyph_id: str) -> str
glyph_selected
glyph_selected(font_id: str, glyph_id: str) -> bool
glyph_tags
glyph_tags(glyph_id: str) -> tuple[str, ...]
guide_selected
guide_selected(guide_id: str) -> bool