The rendering context.
The x coordinate in render coordinates.
The y coordinate in render coordinates.
A pointer filled with the x coordinate in window coordinates.
A pointer filled with the y coordinate in window coordinates.
true on success or false on failure; call SDL_GetError for more information.
Threadsafety: This function should only be called on the main thread.
Page generated by adrdox
Get a point in window coordinates when given a point in render coordinates.
This takes into account several states:
- The window dimensions. - The logical presentation settings SDL_SetRenderLogicalPresentation - The scale SDL_SetRenderScale - The viewport SDL_SetRenderViewport