Skip to content

fontlabapp.fontui.teaching_painter.sketch · declarations 001

Back to fontlabapp.fontui.teaching_painter.sketch

Box module-attribute

Box

MAX_POINTS module-attribute

MAX_POINTS

canvas_type

canvas_type(qt: Any, status: Any, changed: Any) -> type

Create a bounded local canvas. Contain every native event boundary.

capture_outline

capture_outline() -> tuple[str, Any, Box]

Capture once under a deadline. Never read the mutating fgGlyph getter.

main

main() -> Any

Compatibility entrypoint for the retained standalone lesson.

panel_type

panel_type(qt: Any) -> type

Open the modeless App shell with a detached vector sketch surface.

sketch_svg

sketch_svg(label: str, strokes: list[list[Point]], box: Box) -> str

Return only pen strokes as SVG. Keep coordinates in font units.