Home
last modified time | relevance | path

Searched refs:heightMM (Results 1 - 8 of 8) sorted by relevance

/third_party/glfw/src/
H A Dmonitor.c171 _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 Dx11_monitor.c128 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 Dwl_monitor.c57 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 Dwin32_monitor.c66 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 Dinternal.h598 int widthMM, heightMM; member
975 _GLFWmonitor* _glfwAllocMonitor(const char* name, int widthMM, int heightMM);
/third_party/glfw/tests/
H A Devents.c483 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 Dglfw3.h1455 * @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 Dglfw3.h2677 * @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