Function tiny_skia::pixmap::min_row_bytes

source ·
fn min_row_bytes(size: IntSize) -> Option<NonZeroUsize>
Expand description

Returns minimum bytes per row as usize.

Pixmap’s maximum value for row bytes must fit in 31 bits.