Previous Document Next Document
ShapeRange.AffineTransform

Sub AffineTransform(d11 As Double, d12 As Double, d21 As Double, d22 As Double, CenterX As Double, CenterY As Double)

Member of ShapeRange

The AffineTransform method applies an affine transformation as defined by the transformation-matrix components to the shape relative to the center point of the transformation.

A transformation matrix is four numbers that include two transformations and two translations (movements). Each matrix element is referred to as d11, d12, d21, and d22 respectively, left to right, and top to bottom.

Parameters
Description
d11
Returns the horizontal stretch factor multiplied by the cosine of the rotation angle
d12
Returns the vertical stretch factor multiplied by the sine of the sum of the rotation and skew angles. This value is expressed as the negative of the resultant value.
d21
Returns the horizontal stretch factor multiplied by the sine of the rotation angle
d22
Returns the vertical stretch factor multiplied by the cosine of the sum of the rotation and skew angles
CenterX
CenterY

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.