Ellipses are not drawn correctly WPainter.drawEllipse
Added by Ulf Johnsson almost 4 years ago
It seems ellipses are not drawn correctly depending on the thickness of their pen.
In the picure below all the ellipses of equal shape are drawn with the same rect
using Wt::WPainter.drawEllipe(rect).
The picture on the left shows the result using WPainter, the picture on the right shows
expected result.
The shape of the ellipse in conjunction with the thickness of the pen seems to scale the
shape incorrecty. I suspect this is due to some miscalculation in related scaling in the
canvas code.
ellipses.png (31.1 KB) ellipses.png |
Replies (1)
RE: Ellipses are not drawn correctly WPainter.drawEllipse - Added by Bruce Toll almost 4 years ago
Hi Ulf,
Thanks for posting all of this. I filed an issue report that seems related here: #8041.
Regards,
Bruce