#pragma section-numbers off #pragma camelcase off || DRAFT|| ##*^*^*^*^*See http://wiki.libsdl.org/moin.cgi/SGFunctions for details on editing this page*^*^*^*^* = SDL_RenderGetLogicalSize = Use this function to get device independent resolution for rendering. <> == Syntax == {{{#!highlight cpp void SDL_RenderGetLogicalSize(SDL_Renderer* renderer, int* w, int* h) }}} == Function Parameters == ||'''renderer'''||a rendering context|| ||'''w'''||an int to be filled with the width|| ||'''h'''||an int to be filled with the height|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} ##Leave this section as-is unless you have a code example to put in. In that case, replace You can add your code example here with your code example following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. == Remarks == If this function is called on an SDL_Renderer who never had its logical size set by [[SDL_RenderSetLogicalSize]](), this function sets both '''w''' and '''h''' to 0. == Version == This function is available since SDL 2.0.0. == Related Functions == .[[SDL_RenderSetLogicalSize]] ---- [[CategoryAPI]], [[CategoryRender]] ##See the Style Guide for instructions on editing the footer.