Struct imgui::PlatformMonitor
source · #[repr(C)]pub struct PlatformMonitor {
pub main_pos: [f32; 2],
pub main_size: [f32; 2],
pub work_pos: [f32; 2],
pub work_size: [f32; 2],
pub dpi_scale: f32,
}
Expand description
Describes a monitor that can be used by ImGui.
Fields§
§main_pos: [f32; 2]
Position of the monitor on the virtual desktop.
main_size: [f32; 2]
Size of the monitor on the virtual desktop.
work_pos: [f32; 2]
Working position of the monitor, should exclude task bar etc.
Set to main_pos
if not known.
work_size: [f32; 2]
Working size of the monitor, should exclude task bar etc.
Set to work_size
if not known.
dpi_scale: f32