Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  


Applies an affine transformation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 4.1 Yes Yes Yes Yes Yes

MBS( "GMImage.Affine"; ImageRef; sx; sy; rx; ry; tx; ty )


Parameter Description Example value
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:

GMImage.AddPathSmoothQuadraticCurvetoRel   -   GMImage.Annotate

Feedback: Report problem or ask question.

MBS Xojo Plugins