MCPcopy Create free account
hub / github.com/YavorGIvanov/sam.cpp / get_screen_size

Function get_screen_size

examples/main.cpp:26–40  ·  view source on GitHub ↗

* Get the size of screen where the SDL window runs in. * * SDL_Window* window could be NULL, which means we get the screen size of the default 0-index display. * If window is not NULL, the we need to get the screen size of the display where the window runs in. * */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

downscale_img_to_screenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected