Lines Matching defs:width
86 void _glfwInputWindowSize(_GLFWwindow* window, int width, int height)
89 assert(width >= 0);
93 window->callbacks.size((GLFWwindow*) window, width, height);
121 void _glfwInputFramebufferSize(_GLFWwindow* window, int width, int height)
124 assert(width >= 0);
128 window->callbacks.fbsize((GLFWwindow*) window, width, height);
180 GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height,
191 assert(width >= 0);
196 if (width <= 0 || height <= 0)
200 width, height);
209 wndconfig.width = width;
221 window->videoMode.width = width;
571 if (images[i].width <= 0 || images[i].height <= 0)
610 GLFWAPI void glfwGetWindowSize(GLFWwindow* handle, int* width, int* height)
612 if (width)
613 *width = 0;
622 _glfw.platform.getWindowSize(window, width, height);
625 GLFWAPI void glfwSetWindowSize(GLFWwindow* handle, int width, int height)
627 assert(width >= 0);
635 window->videoMode.width = width;
638 _glfw.platform.setWindowSize(window, width, height);
716 GLFWAPI void glfwGetFramebufferSize(GLFWwindow* handle, int* width, int* height)
718 if (width)
719 *width = 0;
728 _glfw.platform.getFramebufferSize(window, width, height);
1002 int width, int height,
1005 assert(width >= 0);
1014 if (width <= 0 || height <= 0)
1018 width, height);
1030 window->videoMode.width = width;
1035 xpos, ypos, width, height,