Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.platform.sdl2.Application.ViewportEvent class

Viewport event

Properties

dpi_scaling: Vector2 get
DPI scaling
framebuffer_size: Vector2i get
Framebuffer size
window_size: Vector2i get
Window size