Perspective method (ILEADRasterProcess)
short Perspective(ILEADRaster * pRaster, OLE_COLOR crBkgColor, PerspectiveConstants Flags) | |
Overview |
Remarks
(Raster Pro and above only) Gives a bitmap a 3-D effect, as if it exists on a flat plane and has been skewed into a different shape.
The new locations for the image corners should keep the relative relation between corners. For example, the point at index 1 should be to the right of point at index 0 and above the point at index 3. Also, the point at index 2 should be to the left of the point at index 3 and below the point at index 0 and so on. All new locations should remain inside the image.
This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.
If the bitmap has a region, this method works only on the region. If the bitmap does not have a region, this method works on the entire bitmap.
This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also