【发布时间】:2012-07-20 17:05:17
【问题描述】:
将 SVG image 元素映射到 html。
inkscape 中的图像旋转 逆时针 50 度 :
<image
y="178.3712"
x="-212.40982"
id="image3002"
xlink:href="..path"
height="369"
width="360"
transform="matrix(0.64278761,-0.76604444,0.76604444,0.64278761,0,0)" />
计算 x & y,according to this mathematical logic :
X = -212.40982, Y = 178.3712
x = X * 0.64278761 - Y * 0.76604444;
y = X * 0.76604444 + Y * 0.64278761;
当我在 html 中映射图像时计算 x 和 y 后,它看起来:
现在可以请任何人帮助我,请解释一下这里出了什么问题?
【问题讨论】: