Commit fb744b55 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Добавил функцию _drawSelectionElements - она отрисовывает диапазон с заданными параметрами

Переделал функции _drawFormulaRanges, _drawSelectRange, _drawCollaborativeElementsAllLock, _drawCollaborativeElementsMeOther

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53169 954022d7-b5bf-4e40-9824-e11837661b57
parent 18f8583b
...@@ -955,7 +955,8 @@ DrawingContext.prototype = { ...@@ -955,7 +955,8 @@ DrawingContext.prototype = {
return this; return this;
}, },
dashLineCleverHor : function (x1, y, x2, w_dot, w_dist) { dashLineCleverHor : function (x1, y, x2) {
var w_dot = c_oAscCoAuthoringDottedWidth, w_dist = c_oAscCoAuthoringDottedDistance;
var _x1 = this._mct.transformPointX(x1, y); var _x1 = this._mct.transformPointX(x1, y);
var _y = this._mct.transformPointY(x1, y); var _y = this._mct.transformPointY(x1, y);
var _x2 = this._mct.transformPointX(x2, y); var _x2 = this._mct.transformPointX(x2, y);
...@@ -975,7 +976,8 @@ DrawingContext.prototype = { ...@@ -975,7 +976,8 @@ DrawingContext.prototype = {
ctx.lineTo(_x1, _y); ctx.lineTo(_x1, _y);
} }
}, },
dashLineCleverVer : function (x, y1, y2, w_dot, w_dist) { dashLineCleverVer : function (x, y1, y2) {
var w_dot = c_oAscCoAuthoringDottedWidth, w_dist = c_oAscCoAuthoringDottedDistance;
var _y1 = this._mct.transformPointY(x, y1); var _y1 = this._mct.transformPointY(x, y1);
var _x = this._mct.transformPointX(x, y1); var _x = this._mct.transformPointX(x, y1);
var _y2 = this._mct.transformPointY(x, y2); var _y2 = this._mct.transformPointY(x, y2);
......
This diff is collapsed.
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