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

GMImage.Affine

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 )

Parameters

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

Result

Returns OK or error.

Description

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.




Links
MBS Xojo Chart Plugins