Function spectrusty::video::pixel_line_offset
source · pub fn pixel_line_offset<T>(y: T) -> Twhere
T: Copy + From<u16> + BitAnd<T, Output = T> + Shl<u16, Output = T> + BitOr<T, Output = T>,
Expand description
Returns an offset into INK/PAPER bitmap memory of the given vertical coordinate y
[0, 192) (0 on top).