Commit 016d0b5c authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35565

parent f8163a9e
...@@ -1788,8 +1788,17 @@ CGraphics.prototype = ...@@ -1788,8 +1788,17 @@ CGraphics.prototype =
}, },
drawHorLine2 : function(align, y, x, r, penW) drawHorLine2 : function(align, y, x, r, penW)
{ {
if (!this.m_bIntegerGrid) var _check_transform = global_MatrixTransformer.IsIdentity2(this.m_oTransform);
if (!this.m_bIntegerGrid || !_check_transform)
{
if (_check_transform)
{ {
this.SetIntegerGrid(true);
this.drawHorLine2(align, y, x, r, penW);
this.SetIntegerGrid(false);
return;
}
var _y1 = y - penW / 2; var _y1 = y - penW / 2;
var _y2 = _y1 + 2 * penW; var _y2 = _y1 + 2 * penW;
......
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