Parameters passed to the blit function

Listing 3 is very similar to Listing 2.

However, the last three parameters to the blit function are different between the two.

The last two parameters in Listing 3 specify that:

The first two parameters specify that:

(Those four parameters taken together specify that the entire source bitmap is to be copied, but I needed to know the dimensions of the original image in order to know that.)