from dataclasses import dataclass INTERNAL_WIDTH = 40000 INTERNAL_HEIGHT = 30000 INTERNAL_ASPECT = INTERNAL_WIDTH / INTERNAL_HEIGHT @dataclass class Scaling(): scale: float left: int top: int