cosmetics: make the hand-drawn root more similr to what LaTeX does

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4859 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-05 08:44:08 +00:00
parent ff19a20470
commit 200b4fd4ef

View File

@ -59,7 +59,8 @@ void MathRootInset::draw(MathPainterInfo & pi, int x, int y) const
xp[1] = x + w + 4; yp[1] = y - a + 1; xp[1] = x + w + 4; yp[1] = y - a + 1;
xp[2] = x + w; yp[2] = y + d; xp[2] = x + w; yp[2] = y + d;
xp[3] = x + w - 2; yp[3] = y + (d - a)/2 + 2; xp[3] = x + w - 2; yp[3] = y + (d - a)/2 + 2;
xp[4] = x; yp[4] = y + (d - a)/2 + 2; //xp[4] = x; yp[4] = y + (d - a)/2 + 2;
xp[4] = x + w - 5; yp[4] = y + (d - a)/2 + 4;
pi.pain.lines(xp, yp, 5, LColor::math); pi.pain.lines(xp, yp, 5, LColor::math);
drawMarkers(pi, x, y); drawMarkers(pi, x, y);
} }