Skip to content

fontlab_pens.recording

recording

Pens that record drawing calls so they can be inspected or replayed.

RecordingPen.value and RecordingPointPen.value have exactly the fontTools shape, which is what the parity tests compare.

Classes

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
lerpRecordings function (recording1: list[tuple], recording2: list[tuple], factor: float=0.5) -> Iterator[tuple[str, list]] Yield a recording interpolated between two decomposed recordings.
replayRecording function (recording: Iterable[tuple], pen: Any) -> None Replay (method, args[, kwargs]) tuples onto any pen-like object.