Commit c43909d5 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@47709 954022d7-b5bf-4e40-9824-e11837661b57
parent 5700e36d
......@@ -1761,12 +1761,13 @@
if(window["editor"])
{
//****TeST****
var m = new CMatrix();
drawingCtx.setFont(font, angle);
m.Rotate(90);
drawingCtx.setFont(font);
m.Rotate(angle);
drawingCtx.transform(m.sx, m.shy, m.shx, m.sy, m.tx, m.ty);
drawingCtx.fillText(text, cx - 90, cy - 90, 0, 0, angle);
var newX = (m.TransformPointX(cx,cy))*(-1);
var newY = (m.TransformPointY(cx,cy))*(-1);
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