DRAFT |
SDL_RenderGetScale
Use this function to get the drawing scale for the current target.
Contents
Syntax
void SDL_RenderGetScale(SDL_Renderer* renderer,
float* scaleX,
float* scaleY)
Function Parameters
renderer |
the renderer from which drawing scale should be queried |
scaleX |
a pointer filled in with the horizontal scaling factor |
scaleY |
a pointer filled in with the vertical scaling factor |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This function is available since SDL 2.0.0.