Commit e549b9f5 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

fillTectCode

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59397 954022d7-b5bf-4e40-9824-e11837661b57
parent f8a261fe
......@@ -2632,9 +2632,16 @@ CSlideBoundsChecker.prototype =
this.Bounds.CheckRect(_x, _y, 1, 1);
},
FillTextCode : function()
FillTextCode : function(x,y,lUnicode)
{
// убыстеренный вариант. здесь везде заточка на то, что приходит одна буква
if (this.m_bIsBreak)
return;
// TODO: нужен другой метод отрисовки!!!
var _x = this.m_oFullTransform.TransformPointX(x, y);
var _y = this.m_oFullTransform.TransformPointY(x, y);
this.Bounds.CheckRect(_x, _y, 1, 1);
},
t : function(text,x,y)
......
......@@ -2812,6 +2812,17 @@ CSlideBoundsChecker.prototype =
var _y = this.m_oFullTransform.TransformPointY(x, y);
this.Bounds.CheckRect(_x, _y, 1, 1);
},
FillTextCode : function(x, y, lUnicode)
{
// убыстеренный вариант. здесь везде заточка на то, что приходит одна буква
if (this.m_bIsBreak)
return;
// TODO: нужен другой метод отрисовки!!!
var _x = this.m_oFullTransform.TransformPointX(x, y);
var _y = this.m_oFullTransform.TransformPointY(x, y);
this.Bounds.CheckRect(_x, _y, 1, 1);
},
t : function(text,x,y)
{
if (this.m_bIsBreak)
......
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