git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5301 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-09-14 04:30:20 +00:00
parent e0531bff0e
commit 9da553ebf9
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-09-14 John Levon <levon@movementarian.org>
* QLPainter.C: fix arc
2002-09-14 John Levon <levon@movementarian.org>
* ui/QMathDialog.ui:

View File

@ -181,8 +181,11 @@ Painter & QLPainter::arc(int x, int y,
unsigned int w, unsigned int h,
int a1, int a2, LColor::color col)
{
// FIXME
setPen(col).drawArc(x, y, w, h, a1, a2);
lyxerr[Debug::GUI] << "arc: " << x<<","<<y
<< " " << w<<","<<h << ", angles "
<< a1 << " - " << a2 << endl;
// LyX usings 1/64ths degree, Qt usings 1/16th
setPen(col).drawArc(x, y, w, h, a1 / 4, a2 / 4);
return *this;
}