PictureEffectsConsole Xojo Plugin |
|
ScaleEffectConsole.StretchHorizontal Method (console only)
To stretch a picture horizontally.
StretchHorizontal(
source as Picture,
dstWidth as Integer) as Picture
Parameters
- source
- The source picture to work with.
- dstWidth
- The width 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
ScaleEffectConsole Class