Shear method (Main Control)

Visual Basic example
Visual C++ 4.0 example


Access 2.0 example

Access 95, 97 example


Visual J++ example

Syntax short Shear (short iAngle, BOOL bHorizontal, OLE_COLOR crFill);

Overview:  Refer to Examining and Altering Bitmaps.

Remarks

Moves the corners of the bitmap in the fashion of a parallelogram.

You specify an angle of slant, horizontal or vertical shear, and the fill color for the created space. The angle is expressed in hundredths of degrees, with a limit of 4500 (45 degrees).

The following are horizontal and vertical examples:

image\shear.gif

See Also

Elements:  

Topics:  Raster Images: Doing Geometric Transformations
Raster Images: Methods That Transform the Region and the Bitmap (Document/Medical only)