Screen.blitRow(x, y, src, sx, h) will draw a row of pixels from position Sx in src image. It will draw at x,y on screen and the resulting row will be h pixels high (that is it will scale src.height to h).
It’s mostly useful for ray casting, but you could also use it for general scaling.