Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Applies an affine transformation.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.Affine"; ImageRef; sx; sy; rx; ry; tx; ty )   More


Parameter Description Example
ImageRef The image reference number. 1
sx The x scale factors. 1
sy The y scale factors. 1
rx The x rotate factors. 0
ry The y rotate factors. 0
tx The x translation value. 0
ty The y translation value. 0


Returns OK or error.


Applies an affine transformation.
Specify a transformation matrix to adjust scaling, rotation, and translation (coordinate transformation) for subsequently drawn objects in the same or decendent drawing context. The sx & sy parameters represent the x & y scale factors, the rx & ry parameters represent the x & y rotation, and the tx & ty parameters represent the x & y translation:

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014

GMImage.AddPathSmoothQuadraticCurvetoRel - GMImage.Annotate