Function rvlib::scale_coord
source · pub fn scale_coord<T>(x: T, size_from: T, size_to: T) -> Twhere
T: Calc,Expand description
Scales a coordinate from an axis of size_from to an axis of size_to
pub fn scale_coord<T>(x: T, size_from: T, size_to: T) -> Twhere
T: Calc,Scales a coordinate from an axis of size_from to an axis of size_to