[][src]Type Definition tge::window::PhysicalPosition

type PhysicalPosition = Vector<i32>;

Implementations

impl PhysicalPosition[src]

pub fn from_logical(
    logical_position: impl Into<LogicalPosition>,
    scale_factor: f32
) -> Self
[src]

pub fn to_logical(&self, scale_factor: f32) -> LogicalPosition[src]