Wiki Page Content

DRAFT

SDL_RenderGetScale

Use this function to get the drawing scale for the current target.

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.


CategoryAPI, CategoryRender

None: SDL_RenderGetScale (last edited 2013-10-31 22:14:51 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit