|
LEAD Source/Destination Rectangle demonstration LEADTOOLS image-painting functions allow you to specify what portion of an image is painted, and exactly where the image will appear on the display device. This is done using Source, Destination, and Clipping rectangles. The Source Rectangle determines what portion of the source image is to be mapped to the display device. The Destination Rectangle determines where on the display device that portion of the image is mapped to. Additionally, Clipping Rectangles can be set independently for both the source image and the display device to further restrict the image painting. Drag image in main control on left to see effects on Destination Rectangle, or click and drag on images at right to set Src, Dst, SrcClip, and DstClip rectangles |
|||
|
Main LEAD Control |
|||
|
Source Rectangles Draw: SrcRect SrcClipRect SrcClipRect=SrcRect |
|||
|
Destination Rectangles Draw: DstRect DstClipRect DstClipRect=DstRect |
|||
| Turn off paint | |||
If this page doesn't look right, download
Microsoft Internet Explorer