Available in the LEADTOOLS Imaging toolkit. |
Specifying Only the Destination Rectangles
The following illustrates how you can scale the displayed image by accepting the default source rectangle and specifying only the destination rectangles. (To paint the whole image, you must set the clipping rectangle to the same values as the destination rectangle.)