Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Bug: Missing width in DrawArc on X11
Bug: Missing width in DrawArc on X11 [message #35763] |
Sat, 17 March 2012 22:28  |
|
Hi,
I am working on a set of widgets for an embedded touch screen project I recently started. First running on x86, but it should end up running on an Arm9 board currently under development.
I am trying to make some widgets with round corners and ran into a problem with DrawArc.
It seems like SystemDraw::DrawArcOp in DrawOpX11.cpp is not using the width parameter.
I think it is mising a call to SetLineStyle.
When I add the following to my paint function, it works:
((SystemDraw&)w).SetLineStyle(3);
Is there a reason that SetLineStyle is not part of Draw? The type casting seems a bit ugly.
Regards,
Steffen
Edit:
I'm using Upp-4193 on Ubuntu 10.10 64-bit.
[Updated on: Mon, 19 March 2012 22:47] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed May 14 08:50:13 CEST 2025
Total time taken to generate the page: 0.02849 seconds
|