PictureEffects Xojo and Real Studio Plugin |
|
ScaleEffect.StretchVertical Method
To stretch a picture vertically.
StretchVertical(
source as Picture,
dstHeight as Integer) as Picture
Parameters
- source
- The source picture to work with. This picture has to be 24 or 32 bits per pixel.
- dstHeight
- The height of the destination image.
Returns
- Picture
- If the filter was successful: A reference to the modified picture.
If nil was returned then see the ErrorCode property to get hints for cause of the error.
Remarks
If the picture is stretched so that it gets larger than the original then BilinearScale is internally called to get better quality. If the image is stretched so that it gets smaller then a high quality stretch down algorithm is used.
See Also
ScaleEffect Class