Wiki Page Content

DRAFT

SDL_GetRendererOutputSize

Use this function to get the output size in pixels of a rendering context.

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.


CategoryAPI, CategoryRender

None: SDL_GetRendererOutputSize (last edited 2016-01-01 18:15:53 by PhilippWiesemann)

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