SVGFileDC line and arch drawing support

When drawing to SVGFileDC,

DrawLine() last pixel is one pixel too far.

With the enclosed script,

  • left-most vertical red line should end ON the black horizontal line, but SVG shows it ending 1 pixel BELOW.

  • 2nd from left vertical red line should end just ABOVE the bottom hor. line, but SVG shows it ending ON the hor. line.

DrawArc() with a transparent brush should NOT shows radiuses, but SVG does show them.

With the enclosed script, the left arch is drawn with transparent brush, while the right arch is not (shown correctly with SVG).

screen_arch_line.png

svg_arch_line.png

svg_arch_line.py (1.99 KB)

Release 4.0.6 seems to have resolved the arch drawing issues.