Renderer.scale

Wraps SDL_RenderGetScale which gets the drawing scale of the renderer target

  1. float[2] scale()
    class Renderer
    const @property @trusted
    float[2]
    scale
    ()
  2. void scale(float[2] newScale)

Return Value

Type: float[2]

array of 2 floats for the X and Y scales

Meta