version 11.3
SVG_SET_TRANSFORM_MATRIX (objectRef; a; b{; c; d{; e; f}})
| Parameter | Type | Description | |
| svgObject | SVG_Ref | Reference of SVG element | |
| a | Number | Element a of transform matrix | |
| b | Number | Element b of transform matrix | |
| c | Number | Element c of transform matrix | |
| d | Number | Element d of transform matrix | |
| e | Number | Element e of transform matrix | |
| f | Number | Element f of transform matrix |
Description
The SVG_SET_TRANSFORM_MATRIX command applies a matrix transformation to the SVG object having the svgObject reference.
This type of transformation can be used to combine transformations like, for example, a rotation and a translation.
Example
SVG_SET_TRANSFORM_MATRIX ($ID;0,707;-0,707;0,707;0,707;255,03;111,21) `Is equivalent to applying the 3 following transformations: SVG_SET_TRANSFORM_TRANSLATE ($ID;50;90) SVG_SET_TRANSFORM_ROTATE ($ID;-45) SVG_SET_TRANSFORM_TRANSLATE ($ID;130;160)
See Also