DrawEllipticArc is wrong with SVGFileDC:
- Lines are drawn to arc ends.
“Notice that unlike
DrawArc , this function does not draw the lines to the arc ends, even when using non-transparent brush.”
Incorrect drawing with and without fill depends on start/end angle.
End point is 1 pixel too far.
Observe the SVG output, where some horizontal and vertical black lines are overlapped by the ellipses, while in the on screen drawing they are not.
Enclosed program draws to an SVG file (svg_ellipticarc.svg) and on screen.
svg_ellipticarc.py (3.37 KB)