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

no track, if isNoMove flag

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57348 954022d7-b5bf-4e40-9824-e11837661b57
parent 8292d415
......@@ -4102,9 +4102,9 @@ function CDrawingDocument(drawingObjects)
}
// вот здесь весь трекинг
this.DrawTrack = function(type, matrix, left, top, width, height, isLine, canRotate)
this.DrawTrack = function(type, matrix, left, top, width, height, isLine, canRotate, isNoMove)
{
this.AutoShapesTrack.DrawTrack(type, matrix, left, top, width, height, isLine, canRotate);
this.AutoShapesTrack.DrawTrack(type, matrix, left, top, width, height, isLine, canRotate, isNoMove);
}
this.DrawTrackSelectShapes = function(x, y, w, h)
......
......@@ -734,8 +734,11 @@ CAutoshapeTrack.prototype =
/*************************************************************************/
/******************************** TRACKS *********************************/
/*************************************************************************/
DrawTrack : function(type, matrix, left, top, width, height, isLine, isCanRotate)
DrawTrack : function(type, matrix, left, top, width, height, isLine, isCanRotate, isNoMove)
{
if (true === isNoMove)
return;
// с самого начала нужно понять, есть ли поворот. Потому что если его нет, то можно
// (и нужно!) рисовать все по-умному
var overlay = this.m_oOverlay;
......
......@@ -4549,9 +4549,9 @@ function CDrawingDocument()
}
// вот здесь весь трекинг
this.DrawTrack = function(type, matrix, left, top, width, height, isLine, canRotate)
this.DrawTrack = function(type, matrix, left, top, width, height, isLine, canRotate, isNoMove)
{
this.AutoShapesTrack.DrawTrack(type, matrix, left, top, width, height, isLine, canRotate);
this.AutoShapesTrack.DrawTrack(type, matrix, left, top, width, height, isLine, canRotate, isNoMove);
}
this.DrawTrackSelectShapes = function(x, y, w, h)
......
......@@ -850,8 +850,11 @@ CAutoshapeTrack.prototype =
/*************************************************************************/
/******************************** TRACKS *********************************/
/*************************************************************************/
DrawTrack : function(type, matrix, left, top, width, height, isLine, isCanRotate)
DrawTrack : function(type, matrix, left, top, width, height, isLine, isCanRotate, isNoMove)
{
if (true === isNoMove)
return;
// с самого начала нужно понять, есть ли поворот. Потому что если его нет, то можно
// (и нужно!) рисовать все по-умному
var overlay = this.m_oOverlay;
......
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