PictureEffectsConsole Xojo Plugin

RotateEffectConsole.CalculateDestinationSize Method (console only)

Calculates size of the destination picture without doing the actual rotate.

CalculateDestinationSize(
   sourceWidth as Integer,
   sourceHeight as Integer,
   angle as double,
   destinationWidth as Integer,
   destinationHeight as Integer)

Parameters

sourceWidth
The width of the source image.
sourceHeight
The height of the source image.
angle
The number of degrees to rotate.
destinationWidth
The width of the destination image is returned into this ByRef parameter.
destinationHeight
The height of the destination image is returned into this ByRef parameter.

Remarks

See Also

RotateEffectConsole Class