Function sdl2_sys::SDL_RenderGetScale

source ยท
pub unsafe extern "C" fn SDL_RenderGetScale(
    renderer: *mut SDL_Renderer,
    scaleX: *mut f32,
    scaleY: *mut f32,
)
Expand description

Get the drawing scale for the current target.

\param renderer the renderer from which drawing scale should be queried \param scaleX a pointer filled in with the horizontal scaling factor \param scaleY a pointer filled in with the vertical scaling factor

\since This function is available since SDL 2.0.0.

\sa SDL_RenderSetScale