Renderer.scaleX - multiple declarations

Function Renderer.scaleX

Wraps SDL_RenderGetScale which gets the X drawing scale of the renderer target

float scaleX() @property @trusted const;

Returns

float scale in the X axis

Function Renderer.scaleX

Wraps SDL_RenderSetScale which sets the X drawing scale of the renderer target

void scaleX (
  float newX
) @property @trusted;

Parameters

NameDescription
newX new float scale of the X axis

Throws

dsdl2.SDLException if failed to set the scale