← Back to team overview

kicad-developers team mailing list archive

Question about const SHAPE_LINE_CHAIN Outline() const

 

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