Surface.pitch

int pitch() @safe nothrow @nogc

Returns the number of bytes per row of pixels.