|
⇤ ← Revision 1 as of 2013-10-31 21:41:27
Size: 1691
Comment: Added page for SDL_GetRendererOutputSize( ) using content from header.
|
← Revision 2 as of 2016-01-01 18:15:53 ⇥
Size: 1701
Comment: Updated with content from header file.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| Use this function to get the output size of a rendering context. | Use this function to get the output size in pixels of a rendering context. |
DRAFT |
SDL_GetRendererOutputSize
Use this function to get the output size in pixels of a rendering context.
Contents
Syntax
int SDL_GetRendererOutputSize(SDL_Renderer* renderer,
int* w,
int* h)
Function Parameters
renderer |
the rendering context |
w |
an int filled with the width |
h |
an int filled with the height |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
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.
