Commit 80db45d1 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47747 954022d7-b5bf-4e40-9824-e11837661b57
parent b484c776
......@@ -1765,8 +1765,9 @@
drawingCtx.setFont(font);
m.Rotate(angle);
drawingCtx.transform(m.sx, m.shy, m.shx, m.sy, m.tx, m.ty);
var newX = (m.TransformPointX(cx,cy))*(-1);
var newY = (m.TransformPointY(cx,cy))*(-1);
var invertM = m.CreateDublicate().Invert();
var newX = invertM.TransformPointX(cx,cy);
var newY = invertM.TransformPointY(cx,cy);
drawingCtx.fillText(text, newX, newY, 0, 0, angle);
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment