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

smart track 90,180,270,flip

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57316 954022d7-b5bf-4e40-9824-e11837661b57
parent d0b559f6
......@@ -1053,33 +1053,33 @@ CAutoshapeTrack.prototype =
var _x1 = x1;
if (x2 < _x1)
_x1 = x2;
else if (x3 < _x1)
if (x3 < _x1)
_x1 = x3;
else if (x4 < _x1)
if (x4 < _x1)
_x1 = x4;
var _x4 = x1;
if (x2 > _x4)
_x4 = x2;
else if (x3 > _x4)
if (x3 > _x4)
_x4 = x3;
else if (x4 > _x4)
if (x4 > _x4)
_x4 = x4;
var _y1 = y1;
if (y2 < _y1)
_y1 = y2;
else if (y3 < _y1)
if (y3 < _y1)
_y1 = y3;
else if (y4 < _y1)
if (y4 < _y1)
_y1 = y4;
var _y4 = y1;
if (y2 > _y4)
_y4 = y2;
else if (y3 > _y4)
if (y3 > _y4)
_y4 = y3;
else if (y4 > _y4)
if (y4 > _y4)
_y4 = y4;
_x2 = _x4;
......@@ -1397,33 +1397,33 @@ CAutoshapeTrack.prototype =
var _x1 = x1;
if (x2 < _x1)
_x1 = x2;
else if (x3 < _x1)
if (x3 < _x1)
_x1 = x3;
else if (x4 < _x1)
if (x4 < _x1)
_x1 = x4;
var _x4 = x1;
if (x2 > _x4)
_x4 = x2;
else if (x3 > _x4)
if (x3 > _x4)
_x4 = x3;
else if (x4 > _x4)
if (x4 > _x4)
_x4 = x4;
var _y1 = y1;
if (y2 < _y1)
_y1 = y2;
else if (y3 < _y1)
if (y3 < _y1)
_y1 = y3;
else if (y4 < _y1)
if (y4 < _y1)
_y1 = y4;
var _y4 = y1;
if (y2 > _y4)
_y4 = y2;
else if (y3 > _y4)
if (y3 > _y4)
_y4 = y3;
else if (y4 > _y4)
if (y4 > _y4)
_y4 = y4;
_x2 = _x4;
......
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