glfwGetMonitorPhysicalSize¶
Returns the physical size of the monitor.
This function returns the size, in millimetres, of the display area of the specified monitor.
Some systems do not provide accurate monitor size information, either because the monitor EDID data is incorrect or because the driver does not report it accurately.
Any or all of the size arguments may be NULL
. If an error occurs, all
non-NULL
size arguments will be set to zero.
- arguments
-
\GLFWmonitor
$monitor
The monitor to query.int
$widthMM
Where to store the width, in millimetres, of the monitor's display area, orNULL
.int
$heightMM
Where to store the height, in millimetres, of the monitor's display area, orNULL
.
- returns
-
void