Match the target to a new size in pixels (a window resize).
- r: the renderer to resize.
- width: the new width in pixels. Zero or less does nothing.
- height: the new height in pixels. Zero or less does nothing.
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.