Commit 2e8bfed8 authored by Anna.Pavlova's avatar Anna.Pavlova

рефакторинг

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66954 954022d7-b5bf-4e40-9824-e11837661b57
parent 69b438cb
......@@ -310,7 +310,6 @@ CBorderBox.prototype.Draw_Elements = function(PDSE)
PDSE.Graphics._l(x7, y7);
PDSE.Graphics.df();
}
}
if(this.Pr.strikeBLTR) // right diagonal
......@@ -352,7 +351,6 @@ CBorderBox.prototype.Draw_Elements = function(PDSE)
PDSE.Graphics._l(x7, y7);
PDSE.Graphics.df();
}
}
if(this.Pr.strikeH)
......
......@@ -971,7 +971,6 @@ CNaryOperator.prototype.drawGlyph = function(x, y, pGraphics, PDSE)
var XX = [],
YY = [];
//var textScale = this.getTxtPrp().FontSize/850; // 1000 pt
var textScale = this.Get_TxtPrControlLetter().FontSize/850; // 1000 pt
var alpha = textScale*25.4/96 /64; // коэффициент; используется для того чтобы перевести координаты в миллиметры
// g_dKoef_px_to_mm = 25.4/96
......@@ -997,10 +996,8 @@ CNaryOperator.prototype.drawGlyph = function(x, y, pGraphics, PDSE)
var intGrid = pGraphics.GetIntegerGrid();
pGraphics.SetIntegerGrid(false);
pGraphics.p_width(1000);
pGraphics.p_width(0);
//pGraphics.b_color1(0,0,0, 255);
//pGraphics.p_color(0,0,0, 255);
pGraphics._s();
this.drawPath(pGraphics, XX,YY);
......
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