WCanvasPaintDevice::drawArc() with wide WPen renders differently than other painters
It looks like there may be an issue with WCanvasPaintDevice::drawArc() when stroked with a wide WPen
This is probably the same issue reported in. I have an application that generates a PDF with lots of drawArc() calls with a WPen so I wrote a small test program to verify that it was working as expected. The test program is attached. It renders three ellipses with different pen widths on canvas, png, and svg. There's a button to generate an analogous PDF. The canvas with a wide pen seems to be an outlier.
Testing was done on Linux with github master at 4.5.0-rc1-37-g73fa1010.
A quick attempt to address the issue was to comment out line 287 in WCanvasPaintDevice.C. That seems to help with the example program, but I'm not sure that it is the correct solution. It's also possible that a change would adversely affect existing users of the library.