SVG_SET_TRANSFORM_MATRIX

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_SET_TRANSFORM_MATRIX (objectRef; a; b{; c; d{; e; f}})

ParameterTypeDescription
svgObjectSVG_RefReference of SVG element
aNumberElement a of transform matrix
bNumberElement b of transform matrix
cNumberElement c of transform matrix
dNumberElement d of transform matrix
eNumberElement e of transform matrix
fNumberElement 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

SVG_SET_TRANSFORM_ROTATE.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next