SVG transform=Matrix(a,b,c,d,e,f) on width and height -


(this should in community couldn't find how move question) told svg have 1 of transformations in illegal or invalid transformation. believe have found offending transformation , trying understand did.

the transformation is: <image transform="matrix(0.773723,0,0,0,860,182)" width="137" height="2" xlink:href="someimage.png" />

from understanding, svg notation of matrix (0.773723,0,0,0,860,182) equivalent of (pretend 1 big bracket not 3 on each side):

[.773723,0,0860] [0,0,182       ] [0,0,1         ] 

my research has lead me believe use width , height after matrix, convert matrix notation , multiply 2 understand how transformed. if correct, i'm trying understand how convert height , width matrix notation []. if not correct, pointers in right direction appreciated!

that looks legal transform (technically). it's incorporating 0% vertical scale: "0" in fourth position of matrix, it's making element disappear. height , width "before" height , width, not "after" height , width. can't specify absolute dimensions in matrix, scaling factor. (you can specify offset or translate in absolute dimensions).


Comments