ImageGear .NET v25.0 - Updated
ImGearPDFFixedMatrix Class

ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace : ImGearPDFFixedMatrix Class
Describes a matrix containing fixed numbers.
Object Model
ImGearPDFFixedMatrix Class
Public NotInheritable Class ImGearPDFFixedMatrix 
Dim instance As ImGearPDFFixedMatrix
public sealed class ImGearPDFFixedMatrix 
public __gc __sealed class ImGearPDFFixedMatrix 
public ref class ImGearPDFFixedMatrix sealed 
This class defines a transformation matrix for the content object, which usually corresponds to the Matrix key in the dictionary. A transformation matrix specifies the relationship between two coordinate systems. By modifying a transformation matrix, objects can be scaled, rotated, translated, or transformed in other ways. The transformation between two coordinate systems is represented by a 3-by-3 transformation matrix written as follows:

A B 0

C D 0

H V 1

A transformation matrix has only six elements that can be changed as the six-element array [ a b c d h v ]. It can represent any linear transformation from one coordinate system to another. The transformation matrix multiplication can be presented as follows:

x1 = x*A + y*C + H

y1 = x*B + y* D + V

The following lists the arrays that specify the most common transformations:

If several transformations are combined, the order in which they are applied is significant. For example, first scaling and then translating the x axis is not the same as first translating and then scaling it.

In general, to obtain the expected results, transformations should be done in the following order:


RotateScale or skew

See section "4.2 Coordinate Systems" of the PDF Reference for more details.

Inheritance Hierarchy


See Also


ImGearPDFFixedMatrix Members
ImageGear.Formats.PDF Namespace