When both the x and y scale factors are integers, we can avoid a whole bunch of the pixel lookups in the source image. This makes 2x scaling a 320x200 bitmap another ~25% faster. :^)