mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix arc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5301 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e0531bff0e
commit
9da553ebf9
@ -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:
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user