Lines Matching refs:area
195 static void applyAspectRatio(_GLFWwindow* window, int edge, RECT* area) in applyAspectRatio() argument
206 area->bottom = area->top + yoff + in applyAspectRatio()
207 (int) ((area->right - area->left - xoff) / ratio); in applyAspectRatio()
211 area->top = area->bottom - yoff - in applyAspectRatio()
212 (int) ((area->right - area->left - xoff) / ratio); in applyAspectRatio()
216 area->right = area->left + xoff + in applyAspectRatio()
217 (int) ((area->bottom - area->top - yoff) * ratio); in applyAspectRatio()
234 RECT area; in cursorInClientArea() local
243 GetClientRect(window->win32.handle, &area); in cursorInClientArea()
244 ClientToScreen(window->win32.handle, (POINT*) &area.left); in cursorInClientArea()
245 ClientToScreen(window->win32.handle, (POINT*) &area.right); in cursorInClientArea()
247 return PtInRect(&area, pos); in cursorInClientArea()
1124 RECT area; in _glfwPlatformGetWindowSize() local
1125 GetClientRect(window->win32.handle, &area); in _glfwPlatformGetWindowSize()
1128 *width = area.right; in _glfwPlatformGetWindowSize()
1130 *height = area.bottom; in _glfwPlatformGetWindowSize()
1155 RECT area; in _glfwPlatformSetWindowSizeLimits() local
1163 GetWindowRect(window->win32.handle, &area); in _glfwPlatformSetWindowSizeLimits()
1165 area.left, area.top, in _glfwPlatformSetWindowSizeLimits()
1166 area.right - area.left, in _glfwPlatformSetWindowSizeLimits()
1167 area.bottom - area.top, TRUE); in _glfwPlatformSetWindowSizeLimits()
1172 RECT area; in _glfwPlatformSetWindowAspectRatio() local
1177 GetWindowRect(window->win32.handle, &area); in _glfwPlatformSetWindowAspectRatio()
1178 applyAspectRatio(window, WMSZ_BOTTOMRIGHT, &area); in _glfwPlatformSetWindowAspectRatio()
1180 area.left, area.top, in _glfwPlatformSetWindowAspectRatio()
1181 area.right - area.left, in _glfwPlatformSetWindowAspectRatio()
1182 area.bottom - area.top, TRUE); in _glfwPlatformSetWindowAspectRatio()