4D v13

SVG_SET_TRANSFORM_MATRIX

Home

 
4D v13
SVG_SET_TRANSFORM_MATRIX

SVG_SET_TRANSFORM_MATRIX 


 

SVG_SET_TRANSFORM_MATRIX ( svgObject ; a ; b {; c ; d {; e ; f}} ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
Longint in Element a of transform matrix
Longint in Element b of transform matrix
Longint in Element c of transform matrix
Longint in Element d of transform matrix
Longint in Element e of transform matrix
Longint in Element f of transform matrix

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)

 
PROPERTIES 

Product: 4D
Theme: Attributes
Number: 65943

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: Composant 4D SVG v11.3

 
SEE ALSO 

SVG_SET_TRANSFORM_ROTATE