chickadee » sdl2 » render-scale-set!

render-scale rendererprocedure
render-scale-set! renderer scalessetter
set! (render-scale-set! renderer) scalessetter

Get or set the sdl2:renderer's x and y scaling factors. See SDL_RenderGetScale and SDL_RenderSetScale. These procedures are available in sdl2 egg version 0.2.0 and higher.

  • render-scale returns multiple values, the x and y scaling factors, as integers..
  • The setters accept a list (x-scale y-scale) containing the new scaling factors, as integers.