Searched refs:heightMM (Results 1 - 8 of 8) sorted by relevance
/third_party/glfw/src/ |
H A D | monitor.c | 171 _GLFWmonitor* _glfwAllocMonitor(const char* name, int widthMM, int heightMM) in _glfwAllocMonitor() argument 175 monitor->heightMM = heightMM; in _glfwAllocMonitor() 362 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* handle, int* widthMM, int* heightMM) in glfwGetMonitorPhysicalSize() argument 366 if (heightMM) in glfwGetMonitorPhysicalSize() 367 *heightMM = 0; in glfwGetMonitorPhysicalSize() 376 if (heightMM) in glfwGetMonitorPhysicalSize() 377 *heightMM = monitor->heightMM; in glfwGetMonitorPhysicalSize()
|
H A D | x11_monitor.c | 128 int j, type, widthMM, heightMM; in _glfwPollMonitorsX11() local 157 heightMM = oi->mm_width; in _glfwPollMonitorsX11() 162 heightMM = oi->mm_height; in _glfwPollMonitorsX11() 165 if (widthMM <= 0 || heightMM <= 0) in _glfwPollMonitorsX11() 172 heightMM = (int) (ci->height * 25.4f / 96.f); in _glfwPollMonitorsX11() 175 _GLFWmonitor* monitor = _glfwAllocMonitor(oi->name, widthMM, heightMM); in _glfwPollMonitorsX11() 218 const int heightMM = DisplayHeightMM(_glfw.x11.display, _glfw.x11.screen); in _glfwPollMonitorsX11() local 220 _glfwInputMonitor(_glfwAllocMonitor("Display", widthMM, heightMM), in _glfwPollMonitorsX11()
|
H A D | wl_monitor.c | 57 monitor->heightMM = physicalHeight; in outputHandleGeometry() 93 if (monitor->widthMM <= 0 || monitor->heightMM <= 0) in outputHandleDone() 98 monitor->heightMM = (int) (mode->height * 25.4f / 96.f); in outputHandleDone()
|
H A D | win32_monitor.c | 66 int widthMM, heightMM; in createMonitor() local 88 heightMM = GetDeviceCaps(dc, VERTSIZE); in createMonitor() 93 heightMM = (int) (dm.dmPelsHeight * 25.4f / GetDeviceCaps(dc, LOGPIXELSY)); in createMonitor() 98 monitor = _glfwAllocMonitor(name, widthMM, heightMM); in createMonitor()
|
H A D | internal.h | 598 int widthMM, heightMM; member 975 _GLFWmonitor* _glfwAllocMonitor(const char* name, int widthMM, int heightMM);
|
/third_party/glfw/tests/ |
H A D | events.c | 483 int x, y, widthMM, heightMM; in monitor_callback() local 487 glfwGetMonitorPhysicalSize(monitor, &widthMM, &heightMM); in monitor_callback() 495 widthMM, heightMM); in monitor_callback()
|
/third_party/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/ |
H A D | glfw3.h | 1455 * @param[out] heightMM Where to store the height, in millimetres, of the 1471 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
|
/third_party/glfw/include/GLFW/ |
H A D | glfw3.h | 2677 * @param[out] heightMM Where to store the height, in millimetres, of the 2693 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
|
Completed in 18 milliseconds