Trait riddle_platform_common::traits::WindowCommon[][src]

pub trait WindowCommon {
    fn logical_to_physical<L: Into<LogicalVec2>>(&self, vec2: L) -> (u32, u32);
}

Functionality Window types need in order to be able to interact with platform common.

Required methods

fn logical_to_physical<L: Into<LogicalVec2>>(&self, vec2: L) -> (u32, u32)[src]

Convert a logical vec2 in to a physical pixel unit (x,y) pair

Loading content...

Implementors

Loading content...