chickadee » sdl2 » render-logical-size

render-logical-size rendererprocedure
render-logical-size-set! renderer sizesetter
set! (render-logical-size renderer) sizesetter

Get or set the renderer's logical size. See SDL_RenderGetLogicalSize and SDL_RenderSetLogicalSize. These procedures are available in sdl2 egg version 0.2.0 and higher.

  • render-logical-size returns multiple values, the logical width and height, as integers.
  • The setters accept a list (w h) containing the new logical width and height, as integers.