Renderer.logicalSize

Wraps SDL_RenderSetLogicalSize which sets the renderer output's logical size

  1. uint[2] logicalSize()
  2. void logicalSize(uint[2] newSize)
    class Renderer
    @property @trusted
    void
    logicalSize
    (
    uint[2] newSize
    )

Parameters

newSize uint[2]

new logical size (width and height) of the renderer's output

Throws

dsdl2.SDLException if failed to set the renderer's logical size

Meta