There was an error while loading. Please reload this page.
1 parent 4ffb303 commit 34d504fCopy full SHA for 34d504f
1 file changed
src/dpi.rs
@@ -1,6 +1,9 @@
1
use crate::WindowSize;
2
pub use dpi::*;
3
4
+/// A size represented in the platform's native pixels.
5
+///
6
+/// This size is represented in physical pixels on Windows and Linux, and in logical pixels on macOS.
7
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
8
pub struct NativeSize<P> {
9
pub width: P,
0 commit comments