Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms » CreateAffineTransformMatrix

CreateAffineTransformMatrix
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Creates affine transform matrix matrix. Return product of matrices: Translation * Rotation * Scale * Shearing.
Syntax
C++
C#
void fil::CreateAffineTransformMatrix ( const float inScaleX, const float inScaleY, const fil::Vector2D& inTranslation, const float inRotation, const float inShearingX, const float inShearingY, fil::Matrix& outTransformMatrix )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inScaleX | const float | -![]() ![]() |
1.0f | Image scale in X axis |
![]() |
inScaleY | const float | -![]() ![]() |
1.0f | Image scale in Y axis |
![]() |
inTranslation | const Vector2D& | Image translation | ||
![]() |
inRotation | const float | 0.0f | Image rotation in degree | |
![]() |
inShearingX | const float | -![]() ![]() |
Shearing in X axis coefficient | |
![]() |
inShearingY | const float | -![]() ![]() |
Shearing in Y axis coefficient | |
![]() |
outTransformMatrix | Matrix& | Return product of matrices: Translation * Rotation * Scale * Shearing |