Renderer.scaleX

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

  1. float scaleX()
  2. void scaleX(float newX)
    class Renderer
    @property @trusted
    void
    scaleX
    (
    float newX
    )

Parameters

newX float

new float scale of the X axis

Throws

dsdl2.SDLException if failed to set the scale

Meta