Logical (points / CSS px) width — what user code sees via `screenWidth` and what 2D HUD coordinates are expressed in. On HiDPI displays the underlying render target is larger (see `physical_width`).
(&self)
| 12870 | /// On HiDPI displays the underlying render target is larger (see |
| 12871 | /// `physical_width`). |
| 12872 | pub fn width(&self) -> u32 { |
| 12873 | self.logical_width |
| 12874 | } |
| 12875 | |
| 12876 | pub fn height(&self) -> u32 { |
| 12877 | self.logical_height |
no outgoing calls
no test coverage detected