Renderer.scaleY

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

  1. float scaleY()
  2. void scaleY(float newY)
    class Renderer
    @property @trusted
    void
    scaleY
    (
    float newY
    )

Parameters

newY float

new float scale of the Y axis

Throws

dsdl2.SDLException if failed to set the scale

Meta