[][src]Module tetra::graphics::scaling

Functions and types relating to screen scaling.

Structs

ScreenScaler

A wrapper for a Canvas that handles scaling the image to fit the screen.

Enums

ScalingMode

Algorithms that can be used to scale the game's screen.

Functions

get_screen_rect

Converts a screen's dimensions into a rectangle that is scaled to fit in the given bounds.