This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| psRegion | psRegionForImage (psImage *image, psRegion in) |
| Sets an actual region based on image parameters. | |
|
||||||||||||
|
Sets an actual region based on image parameters. An image region defined with negative upper limits may be rationalized for the bounds of a specific image with psRegionForImage. The output of this function is a region with negative upper limits replaced by their corrected value appropriate to the given image. In addition, the lower and upper limits are foced to lie within the bounds of the image. If the lower- limit coordinates are lewss than the lower bound of the image, they are limited to the lower bound of the image. Conversely, if the upper-limit coordinates are greater than the upper bound of the image, they are truncated to define only valid pixels. If the lower-limit coordinates are greater than the upper bounds of the image, or the upper-limit coordinates are less than the lower bounds of the image, the coordinates should saturate on those limits.
|
1.4.4