Name
sdl.RenderGetLogicalSize -- get logical size
Synopsis
w, h = sdl.RenderGetLogicalSize(display)
Function
Use this function to get device independent resolution for rendering. If this function is called on a renderer which never had its logical size set by sdl.RenderSetLogicalSize(), this function returns 0 in both w and h.

Inputs
display
identifier of display whose renderer should be used
Results
w
the width of the logical resolution
h
the height of the logical resolution

Show TOC