Skip to content

fontlabapp.qt.images.viewer.model · declarations 001

Back to fontlabapp.qt.images.viewer.model

scaled_size

scaled_size(width: int, height: int, factor: float) -> tuple[int, int]

Keep the source's raw-pixel integer truncation, including zero sizes.

scroll_value

scroll_value(factor: float, old: int, page: int) -> int

Preserve the source center-scroll rule after the image label resizes.

show

show() -> Any

Open free zoom, scale-preserving Fit and native-size image printing.

show_bounded

show_bounded() -> Any

Open bounded zoom, Fit reset and aspect-fit owned temporary PDF printing.