Renderer.logicalSize - multiple declarations

Function Renderer.logicalSize

Wraps SDL_RenderGetLogicalSize which gets the renderer logical size

uint[2] logicalSize() @property @trusted const;

Returns

logical size of the renderer's output/target

Function Renderer.logicalSize

Wraps SDL_RenderSetLogicalSize which sets the renderer output's logical size

void logicalSize (
  uint[2] newSize
) @property @trusted;

Parameters

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

Throws

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