kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23948
Question about const SHAPE_LINE_CHAIN Outline() const
Sorry if you already sent me a response to this "old" message (first posted on feb 05)
but I did not remember this response.
It is annoying for the rounded rect pads which use this method.
(I currently use a fixed (modified) version in my patch)
I can easily fix it, but I do not want to create bugs in pns router.
Thanks.
> Orson, Tomasz,
>
> I am thinking there is a bug in geometry/shape_rect.h:
> In
> const SHAPE_LINE_CHAIN Outline() const
>
> m_h and m_w look like they are swapped in calculations, and the outline
> is incorrect (assuming m_w is the X axis rect size (width), and m_h is
> the Y axis rect size (height)).
>
> Can you have a look at this?
>
> Thanks
>
--
Jean-Pierre CHARRAS
Follow ups