Re: SVGFileDC DrawEllipticArc is buggy

Robin Dunn <[email protected]> Tue, 19 Mar 2019 17:56:38 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
This and your other SVGFileDC issues are wxWidgets problems, not 
wxPython-specific. Please create tickets for them, if they are not already 
there at https://trac.wxwidgets.org/

--
Robin

On Tuesday, March 19, 2019 at 5:00:58 PM UTC-7, ABC wrote:
>
> DrawEllipticArc is wrong with SVGFileDC:
>
> - Lines are drawn to arc ends.
> From 
> https://wxpython.org/Phoenix/docs/html/wx.DC.html#wx.DC.DrawEllipticArc :
> "Notice that unlike DrawArc 
> <https://wxpython.org/Phoenix/docs/html/wx.DC.html#wx.DC.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.
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.