fontlabapp.guides.records · declarations 001
Back to fontlabapp.guides.records
DIRECTIONS
module-attribute
DIRECTIONS
direction_of
direction_of(record: tuple) -> str
Label the original horizontal, vertical and angled guide directions.
matches
matches(record: tuple, direction: str, text: str) -> bool
Match direction and case-insensitive guide-name text as in Clear Guides.
parse_row
parse_row(cells: list[str], row: int) -> tuple[str, tuple]
Parse one complete row; refuse non-finite numbers before any native write.
scaled
scaled(record: tuple, ratio: float) -> tuple
Scale a guide's x while retaining the original on-screen angled direction.
target_records
target_records(source: Any, target: Any, replace: bool, follow_width: bool) -> list | None
Keep original merge/replace ordering; zero advance widths cannot be scaled.