Commit 5e14d2b1 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

подсветка формул

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58653 954022d7-b5bf-4e40-9824-e11837661b57
parent d7052644
......@@ -3322,6 +3322,8 @@ function CDrawingDocument()
if (!this.MathRect.IsActive)
return;
overlay.Show();
var _page = this.m_arrPages[this.MathRect.Rect.PageIndex];
var drPage = _page.drawingPage;
......@@ -3348,7 +3350,7 @@ function CDrawingDocument()
ctx.lineWidth = 1;
ctx.beginPath();
this.AutoShapesTrack.AddRect(ctx, _x >> 0, _y >> 0, _r >> 0, _b >> 0);
this.AutoShapesTrack.AddRect(ctx, _x >> 0, _y >> 0, _r >> 0, _b >> 0, true);
ctx.stroke();
ctx.beginPath();
......@@ -3356,7 +3358,7 @@ function CDrawingDocument()
ctx.lineWidth = 1;
ctx.beginPath();
this.AutoShapesTrack.AddRect(ctx, (_x - 1) >> 0, (_y - 1) >> 0, (_r + 1) >> 0, (_b + 1) >> 0);
this.AutoShapesTrack.AddRect(ctx, (_x - 1) >> 0, (_y - 1) >> 0, (_r + 1) >> 0, (_b + 1) >> 0, true);
ctx.stroke();
ctx.beginPath();
......@@ -3378,7 +3380,7 @@ function CDrawingDocument()
overlay.max_y = _b;
var ctx = overlay.m_oContext;
ctx.fillStyle = "#939393";
ctx.fillStyle = "#375082";
ctx.beginPath();
this.AutoShapesTrack.AddRect(ctx, _x >> 0, _y >> 0, _r >> 0, _b >> 0);
......
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