MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / render_width

Method render_width

src/host/glfw_canvas.cpp:334–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334int GlfwCanvas::render_width() const {
335 if (size_override_) {
336 return size_override_().first;
337 }
338 int width = 0;
339 int height = 0;
340 glfwGetFramebufferSize(window_, &width, &height);
341 return width;
342}
343
344int GlfwCanvas::render_height() const {
345 if (size_override_) {

Callers 4

scroll_callbackMethod · 0.80
post_initializeMethod · 0.80
draw_status_barFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64