PictureEffectsRaw Xojo Plugin

RotateEffectRaw.CalculateDestinationSize Method

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

CalculateDestinationSize(
   sourceWidth as Integer,
   sourceHeight as Integer,
   angle as double,
   ByRef destinationWidth as Integer,
   ByRef 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 (ByRef parameter)
The width of the destination image is returned into this ByRef parameter.
destinationHeight (ByRef parameter)
The height of the destination image is returned into this ByRef parameter.

Remarks

See Also

RotateEffectRaw Class