Searched refs:widthMM (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 174 monitor->widthMM = widthMM; in _glfwAllocMonitor() 362 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* handle, int* widthMM, int* heightMM) in glfwGetMonitorPhysicalSize() argument 364 if (widthMM) in glfwGetMonitorPhysicalSize() 365 *widthMM = 0; in glfwGetMonitorPhysicalSize() 374 if (widthMM) in glfwGetMonitorPhysicalSize() 375 *widthMM = monitor->widthMM; in glfwGetMonitorPhysicalSize()
|
H A D | x11_monitor.c | 128 int j, type, widthMM, heightMM; in _glfwPollMonitorsX11() local 156 widthMM = oi->mm_height; in _glfwPollMonitorsX11() 161 widthMM = oi->mm_width; in _glfwPollMonitorsX11() 165 if (widthMM <= 0 || heightMM <= 0) in _glfwPollMonitorsX11() 171 widthMM = (int) (ci->width * 25.4f / 96.f); in _glfwPollMonitorsX11() 175 _GLFWmonitor* monitor = _glfwAllocMonitor(oi->name, widthMM, heightMM); in _glfwPollMonitorsX11() 217 const int widthMM = DisplayWidthMM(_glfw.x11.display, _glfw.x11.screen); in _glfwPollMonitorsX11() local 220 _glfwInputMonitor(_glfwAllocMonitor("Display", widthMM, heightMM), in _glfwPollMonitorsX11()
|
H A D | wl_monitor.c | 56 monitor->widthMM = physicalWidth; in outputHandleGeometry() 93 if (monitor->widthMM <= 0 || monitor->heightMM <= 0) in outputHandleDone() 97 monitor->widthMM = (int) (mode->width * 25.4f / 96.f); in outputHandleDone()
|
H A D | win32_monitor.c | 66 int widthMM, heightMM; in createMonitor() local 87 widthMM = GetDeviceCaps(dc, HORZSIZE); in createMonitor() 92 widthMM = (int) (dm.dmPelsWidth * 25.4f / GetDeviceCaps(dc, LOGPIXELSX)); 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 | 1453 * @param[out] widthMM Where to store the width, in millimetres, of the 1471 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
|
/third_party/glfw/include/GLFW/ |
H A D | glfw3.h | 2675 * @param[out] widthMM Where to store the width, in millimetres, of the 2693 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
|
Completed in 20 milliseconds