MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / GetDrawableArea

Method GetDrawableArea

src/SDLSurface.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66SDLSurface::WindowSize SDLSurface::GetDrawableArea() {
67 int width; int height;
68 SDL_GL_GetDrawableSize(window, &width, &height);
69 return WindowSize{ static_cast<unsigned int>(width),static_cast<unsigned int>(height) };
70}

Callers 2

DrawMethod · 0.80
resizeMethod · 0.80

Calls 1

SDL_GL_GetDrawableSizeFunction · 0.85

Tested by

no test coverage detected