Specifying Both the Source and Destination Rectangles
The following illustrates how you can specify a part of the bitmap as the source rectangle. Then, the source rectangle (rather than the whole bitmap) is scaled and displayed.