[][src]Function spectrusty_core::video::pixel_line_offset

pub fn pixel_line_offset<T>(y: T) -> T where
    T: Copy + From<u16> + BitAnd<Output = T> + Shl<u16, Output = T> + BitOr<Output = T>, 

Returns an offset into INK/PAPER bitmap memory of the given vertical coordinate y [0, 192) (0 on top).