Function sdl2_sys::SDL_RenderGetLogicalSize
source · pub unsafe extern "C" fn SDL_RenderGetLogicalSize(
renderer: *mut SDL_Renderer,
w: *mut c_int,
h: *mut c_int
)
Expand description
Get device independent resolution for rendering.
This may return 0 for w
and h
if the SDL_Renderer has never had its
logical size set by SDL_RenderSetLogicalSize() and never had a render
target set.
\param renderer a rendering context \param w an int to be filled with the width \param h an int to be filled with the height
\since This function is available since SDL 2.0.0.
\sa SDL_RenderSetLogicalSize