Cogl.Output.prototype.get_mm_width
function get_mm_width(): Number(gint) { // Gjs wrapper for cogl_output_get_mm_width() }
Gets the physical width of the output. In some cases (such as as a projector), the value returned here might correspond to nominal resolution rather than the actual physical size of the output device.
Since 1.14
- Returns
the height of the output in millimeters. A value of 0 indicates the width is unknown