This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_RenderGetLogicalSize

Get device independent resolution for rendering.

Syntax

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

Remarks

This may return 0 for w and h if the SDL_Renderer has never had its logical size set by SDL_RenderSetLogicalSize() and never had a render target set.

Version

This function is available since SDL 2.0.0.

SDL_RenderSetLogicalSize

CategoryAPI, CategoryRender, CategoryDraft


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.