Commit 29e47c95 authored by SergeyLuzyanin's avatar SergeyLuzyanin

remove duplicate methods

parent 7370abab
......@@ -2880,34 +2880,6 @@ CDrawingDocument.prototype =
}
},
IsCursorInTableCur : function(x, y, page)
{
var _table = this.TableOutlineDr.TableOutline;
if (_table == null)
return false;
if (page != _table.PageNum)
return false;
var _dist = this.TableOutlineDr.image.width / this.GetDotsPerMM();
var _x = _table.X;
var _y = _table.Y;
var _r = _x + _table.W;
var _b = _y + _table.H;
if ((x > (_x - _dist)) && (x < _r) && (y > (_y - _dist)) && (y < _b))
{
if ((x < _x) || (y < _y))
{
this.TableOutlineDr.Counter = 0;
this.TableOutlineDr.bIsNoTable = false;
return true;
}
}
return false;
},
DrawTableTrack : function()
{
if (null == this.TableOutlineDr.TableOutline)
......
......@@ -560,9 +560,6 @@ function CAutoshapeTrack()
CAutoshapeTrack.prototype =
{
SetFont : function(font)
{
},
init2 : function()
{
},
......@@ -585,16 +582,11 @@ CAutoshapeTrack.prototype =
{
this.Native["DD_SetPageIndexSimple"](nPageIndex);
},
transform3 : function(m)
{
this.Native["PD_transform3"](m.sx,m.shy,m.shx,m.sy,m.tx,m.ty);
},
reset : function()
{
this.Native["PD_reset"]();
},
/*************************************************************************/
/******************************** TRACKS *********************************/
......@@ -759,11 +751,6 @@ CAutoshapeTrack.prototype =
this.Native["PD_reset"]();
},
transform3 : function(m, isNeedInvert)
{
this.Native["PD_transform3"](m.sx,m.shy,m.shx,m.sy,m.tx,m.ty,isNeedInvert);
},
FreeFont : function()
{
},
......
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