![]() |
Adobe Photoshop SDK |
|
PSScaling Struct Reference Provide a scaling through a rectangle in source space and a corresponding rectangle in destination space. More...
Detailed DescriptionProvide a scaling through a rectangle in source space and a corresponding rectangle in destination space. Equal rectangles result in a direct, unscaled, mapping. Unequal rectangles can be used to up- or down-sample. sourceRect.top = 0; sourceRect.left = 0; sourceRect.bottom = 100; sourceRect.right = 100; and destinationRect is a 50-pixel square in destination space: destinationRect.top = 0; destinationRect.left = 0; destinationRect.bottom = 50; destinationRect.right = 50; the scaling indicates to down-sample the image by half. Field DocumentationThe source rectangle for scaling. The destination rectangle for scaling. The documentation for this struct was generated from the following file: |