FastRotate method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int FastRotate (int nAngle);

Delphi Syntax

FastRotate (nAngle: Integer): Integer;

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Document/Medical only) Rotates the bitmap in 90-degree increments, in a faster way than is possible with the Rotate method.

Valid rotations are +-90, +-180, +-270, or +-360. Positive values are clockwise; negative values are counterclockwise.

Please note that this is only a viewport rotation. The "rotated" data is not saved.

See Also

Elements:

Rotate method

Topics:

Raster Images: Doing Geometric Transformations

 

Raster Images: Methods That Transform the Region and the Bitmap