Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ get_platform_specific_size
Method
get_platform_specific_size
src/window.rs:93–95 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
91
}
92
93
pub fn get_platform_specific_size(&self) -> Size {
94
Size::new(self.width as f32, self.height as f32)
95
}
96
97
pub fn get_scale_factor(&self) -> f32 {
98
self.scale_factor
Callers
1
get_platform_size
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected