Function viewport
pub fn viewport<T>(_: (T, T)) -> (u32, u32)Expand description
A logical (width, height) as a harness viewport: fractions truncate and negative or NaN sizes
become zero, so a float size names the same viewport it would as an integer.