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

delete DrawBackdrop

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51851 954022d7-b5bf-4e40-9824-e11837661b57
parent 738c8f09
......@@ -144,10 +144,6 @@ OfficeExcel.OtherProps = function()
this._filled_range = false;
this._filled_accumulative = true;
this._backdrop = false;
this._backdrop_size = 30;
this._backdrop_alpha = 0.2;
this._grouping = 'grouped';
this._xaxis = true;
......
......@@ -1296,11 +1296,6 @@
this.context.stroke();
if (this._otherProps._backdrop) {
this.DrawBackdrop(lineCoords, color);
}
// Now redraw the lines with the correct line width
if(!this._otherProps._filled)
this.RedrawLine(lineCoords, color, linewidth);
......@@ -1648,30 +1643,6 @@
}
}
/**
* Draw the backdrop
*/
OfficeExcel.Line.prototype.DrawBackdrop = function (coords, color)
{
var size = this._otherProps._backdrop_size;
this.context.lineWidth = size;
this.context.globalAlpha = this._otherProps._backdrop_alpha;
this.context.strokeStyle = color;
this.context.lineJoin = 'miter';
this.context.beginPath();
this.context.moveTo(coords[0][0], coords[0][1]);
for (var j=1; j<coords.length; ++j) {
this.context.lineTo(coords[j][0], coords[j][1]);
}
this.context.stroke();
// Reset the alpha value
this.context.globalAlpha = 1;
this.context.lineJoin = 'round';
}
// Returns the linewidth
OfficeExcel.Line.prototype.GetLineWidth = function (i)
{
......
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