UI module

resize_target

procedure · 1 overloadsince 0.31.0Source

Match the target to a new size in pixels (a window resize).

resize_target :: (r: *Renderer, width: int, height: int)

Match the target to a new size in pixels (a window resize).

Parameters

r: *Renderer
the renderer to resize.
width: int
the new width in pixels. Zero or less does nothing.
height: int
the new height in pixels. Zero or less does nothing.

See also